I don't really see how i can override the paintEvent(QPaintEvent paint) method to dynamically adjust the position of the icons. The class QPaintEvent has no information about the new size.
In the end all i want to do is dynamically adjust the positions of some labeled icons (QVBoxLayout with one Pixmap Label and one Text Label) inside of a window (as every filemanager does).
Also, how one can remove and delete the old layout - as there is no method to remove a layout in a QWidget?
Thanks for the help!
Geki




Reply With Quote
Bookmarks