00001 /**************************************************************************** 00002 ** Form implementation generated from reading ui file 'tabmanagerbase.ui' 00003 ** 00004 ** Created: Fri May 3 14:38:14 2002 00005 ** by: The User Interface Compiler (uic) 00006 ** 00007 ** WARNING! All changes made in this file will be lost! 00008 ****************************************************************************/ 00009 #include "tabmanagerbase.h" 00010 00011 #include <qheader.h> 00012 #include <qlistview.h> 00013 #include <qpushbutton.h> 00014 #include <qlayout.h> 00015 #include <qvariant.h> 00016 #include <qtooltip.h> 00017 #include <qwhatsthis.h> 00018 00019 /* 00020 * Constructs a TabManagerBase which is a child of 'parent', with the 00021 * name 'name' and widget flags set to 'f' 00022 */ 00023 TabManagerBase::TabManagerBase( QWidget* parent, const char* name, WFlags fl ) 00024 : QWidget( parent, name, fl ) 00025 { 00026 if ( !name ) 00027 setName( "TabManagerBase" ); 00028 resize( 289, 228 ); 00029 setCaption( tr( "Tab Manager" ) ); 00030 TabManagerBaseLayout = new QVBoxLayout( this ); 00031 TabManagerBaseLayout->setSpacing( 4 ); 00032 TabManagerBaseLayout->setMargin( 4 ); 00033 00034 tabList = new TabListView( this, "tabList" ); 00035 tabList->addColumn( tr( "Hierarchy" ) ); 00036 tabList->setRootIsDecorated( TRUE ); 00037 TabManagerBaseLayout->addWidget( tabList ); 00038 } 00039 00040 /* 00041 * Destroys the object and frees any allocated resources 00042 */ 00043 TabManagerBase::~TabManagerBase() 00044 { 00045 // no need to delete child widgets, Qt does it all for us 00046 } 00047
1.4.2