PDA

View Full Version : How to make "west" tabs horizontal?



plumbum
7th June 2007, 02:33
Hello Hello ;)

If one is making a window with 2 tabs, it is possible to put tabs at "west" like this:

tabWidget->setTabPosition(QTabWidget::West);
tabWidget->addTab(PressTab, tr("Pressure"));
tabWidget->addTab(TempTab, tr("Temperature"));

The tabs are parallel to the left side of window. I don't like it.
Question: Does it possible to make tabs and text in there horizontal
and still keep them at "west"?

Thank you

wysota
7th June 2007, 10:53
No. You'd have to reimplement the style and do the drawing yourself.

plumbum
7th June 2007, 11:32
No. You'd have to reimplement the style and do the drawing yourself.

OK, thanks a lot, Wysota.
:crying: