QTabWidget and tab positions

Thomas Hartmann thartman at trolltech.com
Wed Nov 7 11:53:16 CET 2007


Hi,

this is a problem in the design of Qt. The Windows Mobile style
"polishes" the widget when it is shown first. In the polish function we
set the tab to the south position, because this is the default for
Windows Mobile.
You can circumvent  the issue by calling
widget.setTabPosition(QTabWidget::North) right after the first show.



Regards,
Thomas


George H. Locktish wrote:
>
> I have a QTabWidget in my application and I wanted to experiment with 
> moving the tab positions around the widget.  However, whenever I try 
> to position the tabs in North, East, or West positions, they always 
> end up at QTabWidget::South.
>
>  
>
> Is there something that I should be doing differently?
>
>  
>
> Thank you,
>
> George
>




More information about the Qtce-preview-feedback mailing list