To wysota:
Thanks for the code...if you notice, or maybe if I wrote more clearly, you will find on my previous posts that I was using the exact logic and codings as you did. It just didn't show up.
Problem is that your main application has a show() function there, but I can't really in the uic class in anywhere tell the things I added to show. and I was thinking about adding a paintevent somewhere...but using that will only help me show the code I added, cuz there is no function like, show, or exec for that uic class. Even if there were, it was hard to integrate my code and the uic and to let them show together.
Maybe:
1. You are right, I don't have JPEG image plug in...what is that? I can I have it?
2. High_flyer is right, every time I build the project, my changes are being overwritten.
So to High_flyer:
Could you tell me how to sub class that uic class?
Do I do this in the substantial(which had an object of this uic class: ui) class?
QPixmap px
("/usr/share/icons/crystalsvg/48x48/actions/kde.png");
wgt.setPalette(p);
[B][U] ui.addWedgit(wgt); [/U][/B]//But I don't know if ui has addWedgit though(I'll check).
QWidget wgt;
QPalette p = wgt.palette();
QPixmap px("/usr/share/icons/crystalsvg/48x48/actions/kde.png");
p.setBrush(QPalette::Window, QBrush(px));
wgt.setPalette(p);
[B][U] ui.addWedgit(wgt); [/U][/B]//But I don't know if ui has addWedgit though(I'll check).
To copy to clipboard, switch view to plain text mode
Bookmarks