exposing subcontrols from the custom widget plugin in QT

Posted by Santosh on Stack Overflow See other posts from Stack Overflow or by Santosh
Published on 2010-04-01T13:20:25Z Indexed on 2010/04/01 13:23 UTC
Read the original article Hit count: 246

Filed under:
|
|

I am using QT 4.3. I have created one custom widget plugin. I could be able to show it in the desiner tool box as well as use it on the form with no problem.

This custom widget internally holds QGroupBox, QLabel, QTextEdit.

Now I want to apply the styles to individual componets of this custom widget. I want to expose these internal conrols as sub-control and style them. This would be similar to tear subcontrol of QTabWidget. In style sheet we can refer it as QTabWidget::tear...

Is there any way by which I can do similar thing with my custom widget?

© Stack Overflow or respective owner

Related posts about qt4

Related posts about c++