author | hrw <hrw> | 2005-09-16 20:31:28 (UTC) |
---|---|---|
committer | hrw <hrw> | 2005-09-16 20:31:28 (UTC) |
commit | 6fb2ee0976a4b6c67b9f0c59cfd5d85143208bd4 (patch) (side-by-side diff) | |
tree | 3817ebb22724f7135d144ccede9891d7b07dee2e | |
parent | 12c40601c1abc01640a1d058b4ed781390eae372 (diff) | |
download | opie-6fb2ee0976a4b6c67b9f0c59cfd5d85143208bd4.zip opie-6fb2ee0976a4b6c67b9f0c59cfd5d85143208bd4.tar.gz opie-6fb2ee0976a4b6c67b9f0c59cfd5d85143208bd4.tar.bz2 |
removed hardcoded font size from wellenreiter
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/packetview.cpp | 7 |
2 files changed, 6 insertions, 2 deletions
@@ -10,2 +10,3 @@ * #1695 - Date selector use too small fontsize on VGA screen (hrw) + * n.a. - remove hardcoded font size from wellenreiter (hrw) diff --git a/noncore/net/wellenreiter/gui/packetview.cpp b/noncore/net/wellenreiter/gui/packetview.cpp index d71111f..ffe2f01 100644 --- a/noncore/net/wellenreiter/gui/packetview.cpp +++ b/noncore/net/wellenreiter/gui/packetview.cpp @@ -22,2 +22,3 @@ #include <opie2/oapplication.h> +#include <qpe/config.h> @@ -40,2 +41,5 @@ PacketView::PacketView( QWidget * parent, const char * name, WFlags f ) { + Config c( "qpe" ); + c.setGroup( "Appearance" ); + _number = new QSpinBox( this ); @@ -49,3 +53,2 @@ PacketView::PacketView( QWidget * parent, const char * name, WFlags f ) _list->setAllColumnsShowFocus( true ); - _list->setFont( QFont( "Fixed", 8 ) ); @@ -53,3 +56,3 @@ PacketView::PacketView( QWidget * parent, const char * name, WFlags f ) _hex->setMargin( 0 ); - _hex->setFont( QFont( "Fixed", 8 ) ); + _hex->setFont( QFont( c.readEntry( "FixedFontFamily", "Fixed" ), c.readNumEntry( "FixedFontSize", 8 ) ) ); |