summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/wellenreiterbase.cpp
Unidiff
Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiterbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiterbase.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiterbase.cpp b/noncore/net/wellenreiter/gui/wellenreiterbase.cpp
index b1845b9..aa94c81 100644
--- a/noncore/net/wellenreiter/gui/wellenreiterbase.cpp
+++ b/noncore/net/wellenreiter/gui/wellenreiterbase.cpp
@@ -21,24 +21,25 @@
21#include <qmultilineedit.h> 21#include <qmultilineedit.h>
22#include <qpushbutton.h> 22#include <qpushbutton.h>
23#include <opie/otabwidget.h> 23#include <opie/otabwidget.h>
24#include <qlayout.h> 24#include <qlayout.h>
25#include <qvariant.h> 25#include <qvariant.h>
26#include <qtooltip.h> 26#include <qtooltip.h>
27#include <qwhatsthis.h> 27#include <qwhatsthis.h>
28#include <qimage.h> 28#include <qimage.h>
29#include <qpixmap.h> 29#include <qpixmap.h>
30 30
31#include "logwindow.h" 31#include "logwindow.h"
32#include "hexwindow.h" 32#include "hexwindow.h"
33#include "configwindow.h"
33 34
34#include <qpe/resource.h> 35#include <qpe/resource.h>
35 36
36 37
37/* 38/*
38 * Constructs a WellenreiterBase which is a child of 'parent', with the 39 * Constructs a WellenreiterBase which is a child of 'parent', with the
39 * name 'name' and widget flags set to 'f' 40 * name 'name' and widget flags set to 'f'
40 */ 41 */
41WellenreiterBase::WellenreiterBase( QWidget* parent, const char* name, WFlags fl ) 42WellenreiterBase::WellenreiterBase( QWidget* parent, const char* name, WFlags fl )
42 : QWidget( parent, name, fl ) 43 : QWidget( parent, name, fl )
43{ 44{
44 if ( !name ) 45 if ( !name )
@@ -81,26 +82,26 @@ WellenreiterBase::WellenreiterBase( QWidget* parent, const char* name, WFlags f
81 //--------- LOG TAB -------------- 82 //--------- LOG TAB --------------
82 83
83 logwindow = new MLogWindow( TabWidget, "Log" ); 84 logwindow = new MLogWindow( TabWidget, "Log" );
84 TabWidget->addTab( logwindow, "wellenreiter/log", tr( "Log" ) ); 85 TabWidget->addTab( logwindow, "wellenreiter/log", tr( "Log" ) );
85 86
86 //--------- HEX TAB -------------- 87 //--------- HEX TAB --------------
87 88
88 hexwindow = new MHexWindow( TabWidget, "Hex" ); 89 hexwindow = new MHexWindow( TabWidget, "Hex" );
89 TabWidget->addTab( hexwindow, "wellenreiter/hex", tr( "Hex" ) ); 90 TabWidget->addTab( hexwindow, "wellenreiter/hex", tr( "Hex" ) );
90 91
91 //--------- CONFIG TAB -------------- 92 //--------- CONFIG TAB --------------
92 93
93 QPushButton* dummy = new QPushButton( "under construction", TabWidget ); 94 configwindow = new WellenreiterConfigWindow( TabWidget, "Config" );
94 TabWidget->addTab( dummy, "wellenreiter/config", tr( "Config" ) ); 95 TabWidget->addTab( configwindow, "wellenreiter/config", tr( "Config" ) );
95 96
96 //--------- ABOUT TAB -------------- 97 //--------- ABOUT TAB --------------
97 98
98 about = new QWidget( TabWidget, "about" ); 99 about = new QWidget( TabWidget, "about" );
99 aboutLayout = new QGridLayout( about ); 100 aboutLayout = new QGridLayout( about );
100 aboutLayout->setSpacing( 6 ); 101 aboutLayout->setSpacing( 6 );
101 aboutLayout->setMargin( 11 ); 102 aboutLayout->setMargin( 11 );
102 103
103 PixmapLabel1_3_2 = new QLabel( about, "PixmapLabel1_3_2" ); 104 PixmapLabel1_3_2 = new QLabel( about, "PixmapLabel1_3_2" );
104 PixmapLabel1_3_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, PixmapLabel1_3_2->sizePolicy().hasHeightForWidth() ) ); 105 PixmapLabel1_3_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, PixmapLabel1_3_2->sizePolicy().hasHeightForWidth() ) );
105 PixmapLabel1_3_2->setFrameShape( QLabel::Panel ); 106 PixmapLabel1_3_2->setFrameShape( QLabel::Panel );
106 PixmapLabel1_3_2->setFrameShadow( QLabel::Sunken ); 107 PixmapLabel1_3_2->setFrameShadow( QLabel::Sunken );