The ones you see in Creator are in a form of SQLite database created from textual documents containing special formatting macros.
The ones you see in Creator are in a form of SQLite database created from textual documents containing special formatting macros.
That is very smart way to say that it simply sucks. If you (of course not you personally) don't use system theme and use css instead - allow user to subsitute his own css on the fly.
Having said that you can change the stylesheet of your whole application using qss
assistant -stylesheet=fullpath/ass.qss
and simplest ass.qss would contain
QTextEdit{ background-color: white; }
That of course will make background white, so it is only a quick and dirty half-solution. I am lazy to look for how to change text color at the moment, but would not mind knowing that myself.
Last edited by Onanymous; 3rd October 2012 at 21:28.
QTextEdit{ background-color: white; }
Doesn't work in my case.
QWidget{ background-color: red; } working!
But looks very ugly.
Why QTextEdit not sensitive to QSS?
Any other solution?
Last edited by grio; 10th March 2014 at 20:41.
Hi, please start a new thread for your problem instead of resurrecting and hijacking a two year old thread.
Ginsengelf
Bookmarks