summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/hexwindow.cpp
authormickeyl <mickeyl>2003-04-05 23:08:46 (UTC)
committer mickeyl <mickeyl>2003-04-05 23:08:46 (UTC)
commitb7682f160fafe69bfd47dcfb1c88f2ac2b1afaf5 (patch) (unidiff)
tree68c5a0c5da88fff94582d2e6a072d8e9bbeaaf30 /noncore/net/wellenreiter/gui/hexwindow.cpp
parent6a949f685bd3fb50f810ad603eaafdb57720077c (diff)
downloadopie-b7682f160fafe69bfd47dcfb1c88f2ac2b1afaf5.zip
opie-b7682f160fafe69bfd47dcfb1c88f2ac2b1afaf5.tar.gz
opie-b7682f160fafe69bfd47dcfb1c88f2ac2b1afaf5.tar.bz2
- correct beacon bug (off-by-one)
- display hex dump per packet in hex window - allow saving hex window contents
Diffstat (limited to 'noncore/net/wellenreiter/gui/hexwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/hexwindow.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/noncore/net/wellenreiter/gui/hexwindow.cpp b/noncore/net/wellenreiter/gui/hexwindow.cpp
index a3022f4..8b17285 100644
--- a/noncore/net/wellenreiter/gui/hexwindow.cpp
+++ b/noncore/net/wellenreiter/gui/hexwindow.cpp
@@ -20,9 +20,10 @@ MHexWindow::MHexWindow( QWidget * parent, const char * name, WFlags f )
20 :QVBox( parent, name, f ) 20 :QVBox( parent, name, f )
21{ 21{
22 ledit = new QMultiLineEdit( this ); 22 ledit = new QMultiLineEdit( this );
23 23 ledit->setFont( QFont( "fixed", 10 ) );
24
24 // FIXME: Set properties( font, read-only, etc...) 25 // FIXME: Set properties( font, read-only, etc...)
25 26
26}; 27};
27 28
28void MHexWindow::log( QString text ) 29void MHexWindow::log( QString text )
@@ -32,6 +33,11 @@ void MHexWindow::log( QString text )
32 33
33}; 34};
34 35
36const QString MHexWindow::getLog() const
37{
38 return ledit->text();
39}
40
35void MHexWindow::clear() 41void MHexWindow::clear()
36{ 42{
37 ledit->clear(); 43 ledit->clear();