/**************************************************************************** ** Form implementation generated from reading ui file 'mainwidget.ui' ** ** Created: Thu Nov 14 15:03:18 2002 ** by: The User Interface Compiler (uic) ** ** WARNING! All changes made in this file will be lost! ****************************************************************************/ #include "mainwidget.h" #include #include #include #include #include #include #include #include #include "mainwidget.ui.h" /* * Constructs a MainWidget which is a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ MainWidget::MainWidget( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "MainWidget" ); resize( 728, 487 ); setCaption( trUtf8( "Form2" ) ); MainWidgetLayout = new QVBoxLayout( this, 1, 6, "MainWidgetLayout"); Splitter2 = new QSplitter( this, "Splitter2" ); Splitter2->setOrientation( QSplitter::Horizontal ); TabWidget2 = new QTabWidget( Splitter2, "TabWidget2" ); TabWidget2->setMaximumSize( QSize( 200, 32767 ) ); TabWidget2->setTabPosition( QTabWidget::Bottom ); TabWidget2->setTabShape( QTabWidget::Rounded ); tab = new QWidget( TabWidget2, "tab" ); tabLayout = new QVBoxLayout( tab, 1, 6, "tabLayout"); commandList = new KListBox( tab, "commandList" ); tabLayout->addWidget( commandList ); TabWidget2->insertTab( tab, trUtf8( "&Commands" ) ); tab_2 = new QWidget( TabWidget2, "tab_2" ); tabLayout_2 = new QVBoxLayout( tab_2, 4, 6, "tabLayout_2"); browserWidget = new QWidget( tab_2, "browserWidget" ); tabLayout_2->addWidget( browserWidget ); TabWidget2->insertTab( tab_2, trUtf8( "Browser" ) ); octaveWidget = new QWidget( Splitter2, "octaveWidget" ); MainWidgetLayout->addWidget( Splitter2 ); // signals and slots connections connect( commandList, SIGNAL( clicked(QListBoxItem*) ), this, SLOT( sendToSlot(QListBoxItem*) ) ); init(); } /* * Destroys the object and frees any allocated resources */ MainWidget::~MainWidget() { destroy(); // no need to delete child widgets, Qt does it all for us }