author | llornkcor <llornkcor> | 2002-05-06 17:45:44 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-05-06 17:45:44 (UTC) |
commit | d49663597393e1b9e63041964a080069e4b6a664 (patch) (unidiff) | |
tree | ba788e8123b5e98d80ab2eea4012f31119968aa8 /noncore/settings/tabmanager/tabmanagerbase.cpp | |
parent | 4a5885f1dd1328432e3bd3ef7cb2efd9a336b78b (diff) | |
download | opie-d49663597393e1b9e63041964a080069e4b6a664.zip opie-d49663597393e1b9e63041964a080069e4b6a664.tar.gz opie-d49663597393e1b9e63041964a080069e4b6a664.tar.bz2 |
initial
Diffstat (limited to 'noncore/settings/tabmanager/tabmanagerbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/tabmanager/tabmanagerbase.cpp | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/noncore/settings/tabmanager/tabmanagerbase.cpp b/noncore/settings/tabmanager/tabmanagerbase.cpp new file mode 100644 index 0000000..a899529 --- a/dev/null +++ b/noncore/settings/tabmanager/tabmanagerbase.cpp | |||
@@ -0,0 +1,48 @@ | |||
1 | /**************************************************************************** | ||
2 | ** Form implementation generated from reading ui file 'tabmanagerbase.ui' | ||
3 | ** | ||
4 | ** Created: Fri May 3 14:38:14 2002 | ||
5 | ** by: The User Interface Compiler (uic) | ||
6 | ** | ||
7 | ** WARNING! All changes made in this file will be lost! | ||
8 | ****************************************************************************/ | ||
9 | #include "tabmanagerbase.h" | ||
10 | |||
11 | #include <qheader.h> | ||
12 | #include <qlistview.h> | ||
13 | #include <qpushbutton.h> | ||
14 | #include <qlayout.h> | ||
15 | #include <qvariant.h> | ||
16 | #include <qtooltip.h> | ||
17 | #include <qwhatsthis.h> | ||
18 | |||
19 | /* | ||
20 | * Constructs a TabManagerBase which is a child of 'parent', with the | ||
21 | * name 'name' and widget flags set to 'f' | ||
22 | */ | ||
23 | TabManagerBase::TabManagerBase( QWidget* parent, const char* name, WFlags fl ) | ||
24 | : QWidget( parent, name, fl ) | ||
25 | { | ||
26 | if ( !name ) | ||
27 | setName( "TabManagerBase" ); | ||
28 | resize( 289, 228 ); | ||
29 | setCaption( tr( "Tab Manger" ) ); | ||
30 | TabManagerBaseLayout = new QVBoxLayout( this ); | ||
31 | TabManagerBaseLayout->setSpacing( 6 ); | ||
32 | TabManagerBaseLayout->setMargin( 0 ); | ||
33 | |||
34 | tabList = new TabListView( this, "tabList" ); | ||
35 | tabList->addColumn( tr( "Groups" ) ); | ||
36 | tabList->addColumn( tr( "Applications" ) ); | ||
37 | tabList->setRootIsDecorated( TRUE ); | ||
38 | TabManagerBaseLayout->addWidget( tabList ); | ||
39 | } | ||
40 | |||
41 | /* | ||
42 | * Destroys the object and frees any allocated resources | ||
43 | */ | ||
44 | TabManagerBase::~TabManagerBase() | ||
45 | { | ||
46 | // no need to delete child widgets, Qt does it all for us | ||
47 | } | ||
48 | |||