[Qt-interest] Skins and Style Sheets
Darryl Hunter
darryl.hunter at codersoft.com.au
Tue May 17 03:49:32 CEST 2011
Hi all,
I'm adding functionality into a VB6 application, but want to add it using
Qt. Makes things run a lot faster, and, hey, it's using Qt instead of VB so
it *has* to be better J.
The VB6 application uses SkinCrafter to create skins, and I need my Qt
component to use these too. But from what I understand
(http://lists.trolltech.com/qt-interest/2006-09/thread01024-0.html), this
isn't possible, so I need to convert them to a stylesheet.
The problem I'm getting is that I need to set the 8 border image components
(top-left, top-centre, top-right, centre-left, centre-right, bottom-left,
bottom-centre and bottom-right) of a QDialog. This doesn't seem to be
working for me.
I found http://www.qtcentre.org/archive/index.php/t-25974.html which was
needed for me to actually set border-image on the title section of the
QDialog, but I was unable to set the corner images. Obviously one option is
to do more work in paintEvent, but if anybody has done this before, any
suggestions would be greatly appreciated.
Otherwise I'll have to write the UI in VB, and I really don't want to have
to do that.
Thanks for any suggestions.
Darryl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110517/b171b304/attachment.html
More information about the Qt-interest-old
mailing list