Hi All,
I would like the users to be able to customize our applications by simply loading their own CSS files. How do we accomplish that? Can anybody give me a jumpstart?
Hi All,
I would like the users to be able to customize our applications by simply loading their own CSS files. How do we accomplish that? Can anybody give me a jumpstart?
Where is the problem?
See QFile, QTextStream. and setTyleSheet().
EDIT:
And as wysota said in another post:
There is a -stylesheet commandline parameter QApplication supports. You can also just load the file directly in your app and apply its contents as the stylesheet of the application object.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks