[Qt-interest] QStyle vs. style sheets
Ben Axelrod
baxelrod at coroware.com
Thu Jul 9 04:13:50 CEST 2009
I am using Qt to try to match the look and feel of an existing application. The buttons in the app are very unique looking, and I have images for the various button states. I am wondering if doing it through QStyle or style sheets would be better. (i.e. what is the difference between the two). Here is some more info:
I have a set of images for each button, for all states. So setting background colors, borders, and even text doesn't matter. Furthermore, these state graphics are actually all within a single image file. I have the coordinates of the individual graphics and can pull them out programmatically. I have used Qt quite a bit in the past, but I have never customized the look and feel before. Do either QStyle or style sheets lend itself better to my application? And can anyone recommend some good design patterns here?
Thanks,
-Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090708/532bc670/attachment.html
More information about the Qt-interest-old
mailing list