2 This patch is backport from OPIE CVS.
3 Submitted upstream by Marcin Juszkiewicz <openembedded@hrw.one.pl>
7 ===================================================================
8 RCS file: /cvs/opie/noncore/net/wellenreiter/gui/packetview.cpp,v
9 retrieving revision 1.9
10 diff -u -r1.9 packetview.cpp
11 --- wellenreiter/gui/packetview.cpp 24 Aug 2004 11:53:44 -0000 1.9
12 +++ wellenreiter/gui/packetview.cpp 16 Sep 2005 17:41:03 -0000
14 #include <opie2/odebug.h>
15 #include <opie2/olistview.h>
16 #include <opie2/oapplication.h>
17 +#include <qpe/config.h>
22 PacketView::PacketView( QWidget * parent, const char * name, WFlags f )
23 :QFrame( parent, name, f )
26 + c.setGroup( "Appearance" );
28 _number = new QSpinBox( this );
29 _number->setPrefix( "Pkt# " );
30 _label = new QLabel( this );
32 _list->setColumnAlignment( 0, Qt::AlignCenter );
33 _list->setColumnAlignment( 1, Qt::AlignLeft );
34 _list->setAllColumnsShowFocus( true );
35 - _list->setFont( QFont( "Fixed", 8 ) );
37 _hex = new QTextView( this );
39 - _hex->setFont( QFont( "Fixed", 8 ) );
40 + _hex->setFont( QFont( c.readEntry( "FixedFontFamily", "Fixed" ), c.readNumEntry( "FixedFontSize", 8 ) ) );
42 QVBoxLayout* vb = new QVBoxLayout( this, 2, 2 );
43 QHBoxLayout* hb = new QHBoxLayout( vb, 2 );