[Qt-interest] How do I add my custom pixmaps for theming

Parta lists4pghanghas at gmail.com
Mon Apr 12 11:30:58 CEST 2010


Hi

I was looking to add my custom pixmaps and some custom enumerations
for them using QStyle.

The header file qtsdk-2010.02/qt/src/gui/styles/qstyle.h mentions following
        // do not add any values below/greater than this
         SP_CustomBase = 0xf0000000

I dont understand what this customBase is intended for?
I cant extend a enum (language wont allow it).
Is it meant to add more enumeration in qstyle.h itself.
Somehow that doesn't feel right. Modifying a header file from the
framework for such a trivial task !!

Any suggestion in this case ?

--
Thanks in advance,
Regards,
Parta



More information about the Qt-interest-old mailing list