Hello,
I am trying to build a simple application for Windows CE. At the moment I have a menu and a button.
The menu is accessible by right clicking the main window (QDialog); I use the 'popup' method called from the mousePress event handler rather than the menu-request signal.
The button simply exists at the moment.
The program works fine until I use my menu to change the state of the screen (Maximized, Free or Full Screen) as soon as the state changes it all falls apart:
On each right click the menu instance remains visible.
The contents of the window are not repainted when it is moved.
The child objects including the button are no longer drawn.
If I remove the button everything works fine.
If I add text to the button it becomes worse and I get stack overflow errors stemming from the itemizer function called as part of the process of drawing the text when the button recieves a paint event.
I am quite stuck! Does anyone know what may be causing this?
Bookmarks