Please ask your invisible widget for its geometry. It is possible you just moved it out of the screen boundaries.
Please ask your invisible widget for its geometry. It is possible you just moved it out of the screen boundaries.
Hello,
it appears that a void moveEvent(QMoveEvent*) gets fired on void show() and the moveEvent code gets executed before the show code which is where I initialize variables for the second windows position. As the moveEvent uses these variables the second window gets put to some outside random location thus being invisible.
Not a bug after all (except if that event mechansim is unintentional or not wanted). Apparently the randomness of the uninitialized variables is "outside screen" for 5 child-widgets and "inside screen" for 4 child-widgets.
Thank you.
Yeeeay... another one bites the star dust
Of course it is intentional.(except if that event mechansim is unintentional or not wanted).
Not reallyApparently the randomness of the uninitialized variables is "outside screen" for 5 child-widgets and "inside screen" for 4 child-widgets.![]()
planetLars (25th April 2010)
Bookmarks