PDA

View Full Version : How could i customize my QtTabWidget?



Rodrigo
29th May 2007, 13:15
Hello all!

http://i35.photobucket.com/albums/d164/brzapa/now.jpg

Does anyone know how could i paint the tab 2 like tab 1!?

thanks a lot.

marcel
29th May 2007, 13:25
Yes, click on it :).

Seriously, you should create a style in which you modify only the look of inactive tabs.
There isn't much to be modified, as you need to make them look as the active one.

Regards

Rodrigo
29th May 2007, 14:28
Yes, click on it :).

Seriously, you should create a style in which you modify only the look of inactive tabs.
There isn't much to be modified, as you need to make them look as the active one.

Regards

Marcel, where may i find a good tutorial to do this!? i'm looking for something at throlltech website, but there isn´t a good explanation there. :(

thanks a lot anyway!

marcel
29th May 2007, 14:30
Take a look at the Styles example that comes with Qt.
Qt is in the Widgets section.
I think it is exactly what you need.

Regards