Hi all,
i've written a qtclass for skinned widgets (own titlebar with moving and resizing) but im not really lucky about my solution.
isn't it possible to do this in an QStyle subclass? i want to draw the frame and the titlebar like i do that now, but i want to skin the buttons and every other things,too. For everything i have a template pixmap and i want to have a "skin-file" in which i say which pixmap is for the buttons, the titlebar .... This file should be in xml.
Then i would like to pack the pixmaps and in another file (a zipped file or something like this).
The QStyle subclass schould open this zipped file read out all data he needs and skin my app. althought i want to change the skin on the fly and give th QStyle subclass another file for read out.
The problem is, i don't know how to zip all the files and read them out and i don't know how to add the resizing and the moving in the QStyle sublcass, can anyone help me?
Everything in Qt 4.3.
If you don't really undertstand what i mean, please tell me.
Bookmarks