Using dynamic property to style sub-controls
i currently decorate my objects via "dynamic property":http://qt-project.org/doc/qt-4.8/stylesheet-examples.html#customizing-using-dynamic-properties technique but unable to decorate sub-controls.
i try to give style to a QTabBar like
how can i set style for QTabBar::tab using dynamic properties?
You can't. Sub-controls are not 'real' controls. There are (generally) no objects representing them, and thus you can't set properties for these seperately.
i see. do u know any alternative doing such stuff?
No, all you can do, is deal with the pseudo-states that you have available.
hmm. thanks Andre