25 #include <Q3WidgetStack>
27 #include <Q3HBoxLayout>
32 Q3HBoxLayout *layout =
new Q3HBoxLayout(
this);
35 layout->addWidget(
m_bar,0);
98 return m_bar->sizeHint();
99 int width =
m_bar->sizeHint().width();
100 int height =
m_bar->sizeHint().height();
101 width +=
m_wStack->sizeHint().width();
102 height = QMAX(height,
m_wStack->sizeHint().height());
103 return QSize(width,height);
120 qWarning(
"BUG: Tab id and widget id mismatch");
126 m_bar->blockSignals(
true);
128 m_bar->blockSignals(
false);
144 Q3HBoxLayout *l = (Q3HBoxLayout*)layout();
147 qWarning(
"Error layout is null");
156 l->addWidget(
m_bar,0);
162 l->addWidget(
m_bar,0);
void setTabToolTip(VTab *tab, const QString &tip)
void setCurrentTab(VTab *tab)
void setPosition(VTabPosition p_pos)
VTab * addTab(const QString &caption, int id=-1)
void removeTab(VTab *tab)