summaryrefslogtreecommitdiff
path: root/noncore/unsupported/tabmanager/tabmanagerbase.cpp
blob: 29ec3a5cd032d2748590db2963e8a54ce98dcf8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/****************************************************************************
** Form implementation generated from reading ui file 'tabmanagerbase.ui'
**
** Created: Fri May 3 14:38:14 2002
**      by:  The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "tabmanagerbase.h"

#include <qheader.h>
#include <qlistview.h>
#include <qpushbutton.h>
#include <qlayout.h>
#include <qvariant.h>
#include <qtooltip.h>
#include <qwhatsthis.h>

/* 
 *  Constructs a TabManagerBase which is a child of 'parent', with the 
 *  name 'name' and widget flags set to 'f' 
 */
TabManagerBase::TabManagerBase( QWidget* parent,  const char* name, WFlags fl )
    : QWidget( parent, name, fl )
{
    if ( !name )
	setName( "TabManagerBase" );
    resize( 289, 228 ); 
    setCaption( tr( "Tab Manager" ) );
    TabManagerBaseLayout = new QVBoxLayout( this ); 
    TabManagerBaseLayout->setSpacing( 4 );
    TabManagerBaseLayout->setMargin( 4 );

    tabList = new TabListView( this, "tabList" );
    tabList->addColumn( tr( "Hierarchy" ) );
    tabList->setRootIsDecorated( TRUE );
    TabManagerBaseLayout->addWidget( tabList );
}

/*  
 *  Destroys the object and frees any allocated resources
 */
TabManagerBase::~TabManagerBase()
{
    // no need to delete child widgets, Qt does it all for us
}