How to set stylesheet for all class except QMenu?
Unsolved
General and Desktop
-
Hi and welcome to devnet,
Write a stylesheet specifier for the widgets you want to style.
AFAIK, there's no "exclude" for only one class.
-
@ungrown
Hi
Yes. using names or class types for the selector.
Sadly there is no "not" outside of pseudo-states as far as I know.Sometimes you can also cheat and apply the stylesheet to MainWindow central as most widgets lives there but
not the main MenuBar.