author | mickeyl <mickeyl> | 2003-04-30 18:50:47 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-04-30 18:50:47 (UTC) |
commit | e6428d30a5dc90ed3ec6ca7e1cb3f92c81437cc0 (patch) (unidiff) | |
tree | 06f7877ef85b91531c4f75681e1cd91881703c18 /noncore/net/wellenreiter/gui/hexwindow.cpp | |
parent | 027458b66cffbfaf07c394a1a622a1f01970e11c (diff) | |
download | opie-e6428d30a5dc90ed3ec6ca7e1cb3f92c81437cc0.zip opie-e6428d30a5dc90ed3ec6ca7e1cb3f92c81437cc0.tar.gz opie-e6428d30a5dc90ed3ec6ca7e1cb3f92c81437cc0.tar.bz2 |
- autoscrolling for hex- and logwindow
- revamped statistics window
Diffstat (limited to 'noncore/net/wellenreiter/gui/hexwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/hexwindow.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/noncore/net/wellenreiter/gui/hexwindow.cpp b/noncore/net/wellenreiter/gui/hexwindow.cpp index 8b17285..2f011ca 100644 --- a/noncore/net/wellenreiter/gui/hexwindow.cpp +++ b/noncore/net/wellenreiter/gui/hexwindow.cpp | |||
@@ -21,16 +21,15 @@ MHexWindow::MHexWindow( QWidget * parent, const char * name, WFlags f ) | |||
21 | { | 21 | { |
22 | ledit = new QMultiLineEdit( this ); | 22 | ledit = new QMultiLineEdit( this ); |
23 | ledit->setFont( QFont( "fixed", 10 ) ); | 23 | ledit->setFont( QFont( "fixed", 10 ) ); |
24 | 24 | ledit->setReadOnly( true ); | |
25 | // FIXME: Set properties( font, read-only, etc...) | ||
26 | |||
27 | }; | 25 | }; |
28 | 26 | ||
29 | void MHexWindow::log( QString text ) | 27 | void MHexWindow::log( const QString& text ) |
30 | { | 28 | { |
31 | 29 | int col; | |
32 | ledit->append( text ); | 30 | int row; |
33 | 31 | ledit->getCursorPosition( &col, &row ); | |
32 | ledit->insertAt( text, col, row ); | ||
34 | }; | 33 | }; |
35 | 34 | ||
36 | const QString MHexWindow::getLog() const | 35 | const QString MHexWindow::getLog() const |