Do stylesheet subcontrols ignore in(activity)?
-
I've been facing this problem when creating a Qt 4.8 stylesheet:
Suppose I have the following style:
@QMenuBar::item:active {
color: white;
}
QMenuBar::item:!active {
color: black;
}@When changing focus of the window, the color of the font is not changed, despite the pseudostate being perfectly fine when used for controls.
It seems that subcontrols aren't affected (I noticed the behavior in borders of QSlider::add-page where the workaround is not as simple).
So, the question is: Please, am I doing something wrong or is this a bug?