[Qt-interest] How to enable "safari" tabs in Qt 4.5?
Trygve Isaacson
trygve at gmail.com
Sat May 2 19:31:17 CEST 2009
I would like to take advantage of the improved Mac OS X tab style available
in Qt 4.5, which I understand provides tabs that look and behave more like
Safari's tabs than the Aqua centered blue tabs.
After reading the Qt docs, I'm now calling setDocumentMode(true) on my
QTabWidget, and on its QTabBar. I think that's all that is supposed to be
required. But the tabs still appear in the Aqua style, centered in the view.
What am I missing on this? (My window is not a QMainWindow; does it matter
what kind of widget hierarchy the QTabWidget/QTabBar live inside?)
Using Qt 4.5.1 on Mac OS X 10.5.6.
Thanks,
Trygve Isaacson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090502/8854d8ee/attachment.html
More information about the Qt-interest-old
mailing list