summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/hexwindow.cpp
Unidiff
Diffstat (limited to 'noncore/net/wellenreiter/gui/hexwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/hexwindow.cpp6
1 files changed, 6 insertions, 0 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,6 +20,7 @@ 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 ledit->setFont( QFont( "fixed", 10 ) );
23 24
24 // FIXME: Set properties( font, read-only, etc...) 25 // FIXME: Set properties( font, read-only, etc...)
25 26
@@ -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();