PDA

View Full Version : Mainwindow size to be fixed as the size of the application Window



phillip_Qt
20th November 2009, 11:22
HI All
I need my application window size to be fixed as the desktop screen size. How to do it?

vieraci
20th November 2009, 12:41
window.showMaximized();
BUT be aware it doesn't work on all platforms.

phillip_Qt
20th November 2009, 13:01
window.showMaximized();
BUT be aware it doesn't work on all platforms.
I did like that only,. But if u doubleclick on main window toolbar mainwindow position is changing. I need It to be shown in fixed position always.

vieraci
20th November 2009, 13:23
I did like that only,. But if u doubleclick on main window toolbar mainwindow position is changing. I need It to be shown in fixed position always.

What about intercept the double click event and stop it escalating up the event chain ?

phillip_Qt
20th November 2009, 13:25
What about intercept the double click event and stop it escalating up the event chain ?
Thank u for reply. But can u plz tell me how to do it. :)