author | llornkcor <llornkcor> | 2002-05-06 17:45:44 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-05-06 17:45:44 (UTC) |
commit | d49663597393e1b9e63041964a080069e4b6a664 (patch) (side-by-side diff) | |
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) (show 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 @@ +/**************************************************************************** +** 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 Manger" ) ); + TabManagerBaseLayout = new QVBoxLayout( this ); + TabManagerBaseLayout->setSpacing( 6 ); + TabManagerBaseLayout->setMargin( 0 ); + + tabList = new TabListView( this, "tabList" ); + tabList->addColumn( tr( "Groups" ) ); + tabList->addColumn( tr( "Applications" ) ); + 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 +} + |