Diffstat (limited to 'noncore/net/wellenreiter/gui/hexwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/hexwindow.cpp | 10 |
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 | ||
28 | void MHexWindow::log( QString text ) | 29 | void MHexWindow::log( QString text ) |
@@ -32,6 +33,11 @@ void MHexWindow::log( QString text ) | |||
32 | 33 | ||
33 | }; | 34 | }; |
34 | 35 | ||
36 | const QString MHexWindow::getLog() const | ||
37 | { | ||
38 | return ledit->text(); | ||
39 | } | ||
40 | |||
35 | void MHexWindow::clear() | 41 | void MHexWindow::clear() |
36 | { | 42 | { |
37 | ledit->clear(); | 43 | ledit->clear(); |