[Qt-interest] QTabWidget with background image
Paresh Sawant
paresh.sawant at gmail.com
Tue Aug 11 15:56:00 CEST 2009
Hi,
I'm trying to create a QDialog containing QTabWidget with certain
number of tabs. This application I am developing for windows mobile
device.
I am setting a background image for the QDialog using style sheet,
then on top I'm overlaying the QTabWidget.
When I run the application without the QTabWidget, the dialog looks
well in shape with the background image.
But when I add the QTabWidget in the QDialog the size of the dialog
changes and becomes disproportional to the the screen geometry.
I am using QTabWidget::setgeometry() to set the x, y and the width and
height to overlay it properly on the the Qdialog.
Please help !
P.S.: has anybody looked the at tabdialog example code bundled in Qt
distribution. When I ran it on windows mobile, the tabs are not seen.
Thanks
- Paresh
More information about the Qt-interest-old
mailing list