[Qt-interest] [Qt-wince-interest] Changing tab shape in QTabWidget

Thomas Hartmann Thomas.Hartmann at Trolltech.com
Wed Jul 15 09:55:58 CEST 2009


Hi,

style sheets are the easiest way to do it. I am no expert on style 
sheets so I can only refer you to the documentation 
(http://doc.trolltech.com/4.5/stylesheet.html)  or the general qt 
interest list (qt-interest at trolltech.com).

For more advanced stuff you could also subclass The QWindowsCeStyle or 
the QWindowsMobileStyle.

Kind Regards,
Thomas Hartmann

Paresh Sawant schrieb:
> Hi,
>
> I am looking for a way to change the shape of the tab in QTabWidget. 
> Designed allows only 2 shapes i.e. "rounded" and "triangular".
>
> I would like to have bottom left and right borders of each tab to be 
> rounded with some more variations in the curvature.
>
> How could I go about doing that? Is style sheet the answer? If yes, 
> what selectors, sub controls and properties I need to use.
>
>
> Thanks
> - Paresh
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-wince-interest mailing list
> Qt-wince-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-wince-interest
>   




More information about the Qt-interest-old mailing list