Sounds good. Will try it.
Will this work?
qApp
->setStyleSheets
(QString("QWidget: { color: red}; MyClass: {color :blue};"));
qApp->setStyleSheets(QString("QWidget: { color: red}; MyClass: {color :blue};"));
To copy to clipboard, switch view to plain text mode
I tried setting ' { } ' for one of the classes and this do not work.
I also tried setting(just after qApp->...):
myobject
->setStyleSheet
(QString(""));
myobject->setStyleSheet(QString(""));
To copy to clipboard, switch view to plain text mode
Do not work as well.
What do you mean by "empty style sheets"?
Kacper
Bookmarks