summaryrefslogtreecommitdiff
path: root/noncore/unsupported/tabmanager/tabmanagerbase.cpp
Unidiff
Diffstat (limited to 'noncore/unsupported/tabmanager/tabmanagerbase.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/unsupported/tabmanager/tabmanagerbase.cpp47
1 files changed, 47 insertions, 0 deletions
diff --git a/noncore/unsupported/tabmanager/tabmanagerbase.cpp b/noncore/unsupported/tabmanager/tabmanagerbase.cpp
new file mode 100644
index 0000000..29ec3a5
--- a/dev/null
+++ b/noncore/unsupported/tabmanager/tabmanagerbase.cpp
@@ -0,0 +1,47 @@
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 */
23TabManagerBase::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 Manager" ) );
30 TabManagerBaseLayout = new QVBoxLayout( this );
31 TabManagerBaseLayout->setSpacing( 4 );
32 TabManagerBaseLayout->setMargin( 4 );
33
34 tabList = new TabListView( this, "tabList" );
35 tabList->addColumn( tr( "Hierarchy" ) );
36 tabList->setRootIsDecorated( TRUE );
37 TabManagerBaseLayout->addWidget( tabList );
38}
39
40/*
41 * Destroys the object and frees any allocated resources
42 */
43TabManagerBase::~TabManagerBase()
44{
45 // no need to delete child widgets, Qt does it all for us
46}
47