37 #include <QVBoxLayout>
42 TabbedWidget::TabbedWidget(QWidget* parent, QString objectName, QString windowTitle) :
44 mTabWidget(new QTabWidget(this))
48 mLayout =
new QVBoxLayout(
this);
52 connect(
mTabWidget, SIGNAL(currentChanged(
int)),
this, SLOT(tabChanged(
const int &)));
60 int index =
mTabWidget->addTab(newTab, newTabName);
68 mLayout->insertWidget(0, newWidget);
71 void TabbedWidget::tabChanged(
const int &index)
93 "<h3>Tabbed widget.</h3>"
94 "<p>This is a tabbed widget, used for creating a hierarchy of tabbed widgets.</p>"
95 "<p><i>If you see this whats this message, something's wrong!</i></p>"