author | hrw <hrw> | 2005-09-16 20:31:28 (UTC) |
---|---|---|
committer | hrw <hrw> | 2005-09-16 20:31:28 (UTC) |
commit | 6fb2ee0976a4b6c67b9f0c59cfd5d85143208bd4 (patch) (unidiff) | |
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
@@ -9,4 +9,5 @@ | |||
9 | ---------- | 9 | ---------- |
10 | * #1695 - Date selector use too small fontsize on VGA screen (hrw) | 10 | * #1695 - Date selector use too small fontsize on VGA screen (hrw) |
11 | * n.a. - remove hardcoded font size from wellenreiter (hrw) | ||
11 | 12 | ||
12 | 2005-09-11Opie 1.2.1 | 13 | 2005-09-11Opie 1.2.1 |
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 | |||
@@ -21,4 +21,5 @@ | |||
21 | #include <opie2/olistview.h> | 21 | #include <opie2/olistview.h> |
22 | #include <opie2/oapplication.h> | 22 | #include <opie2/oapplication.h> |
23 | #include <qpe/config.h> | ||
23 | 24 | ||
24 | /* QT */ | 25 | /* QT */ |
@@ -39,4 +40,7 @@ PacketView::PacketView( QWidget * parent, const char * name, WFlags f ) | |||
39 | :QFrame( parent, name, f ) | 40 | :QFrame( parent, name, f ) |
40 | { | 41 | { |
42 | Config c( "qpe" ); | ||
43 | c.setGroup( "Appearance" ); | ||
44 | |||
41 | _number = new QSpinBox( this ); | 45 | _number = new QSpinBox( this ); |
42 | _number->setPrefix( "Pkt# " ); | 46 | _number->setPrefix( "Pkt# " ); |
@@ -48,9 +52,8 @@ PacketView::PacketView( QWidget * parent, const char * name, WFlags f ) | |||
48 | _list->setColumnAlignment( 1, Qt::AlignLeft ); | 52 | _list->setColumnAlignment( 1, Qt::AlignLeft ); |
49 | _list->setAllColumnsShowFocus( true ); | 53 | _list->setAllColumnsShowFocus( true ); |
50 | _list->setFont( QFont( "Fixed", 8 ) ); | ||
51 | 54 | ||
52 | _hex = new QTextView( this ); | 55 | _hex = new QTextView( this ); |
53 | _hex->setMargin( 0 ); | 56 | _hex->setMargin( 0 ); |
54 | _hex->setFont( QFont( "Fixed", 8 ) ); | 57 | _hex->setFont( QFont( c.readEntry( "FixedFontFamily", "Fixed" ), c.readNumEntry( "FixedFontSize", 8 ) ) ); |
55 | 58 | ||
56 | QVBoxLayout* vb = new QVBoxLayout( this, 2, 2 ); | 59 | QVBoxLayout* vb = new QVBoxLayout( this, 2, 2 ); |