Hi. I've got a question. If I have called window->showMaximized(); at main.cpp, and I wanna change it to full screen mode in a runtime, how can I do it? (I've got an option that shows window in full screen mode)
Regards
Hi. I've got a question. If I have called window->showMaximized(); at main.cpp, and I wanna change it to full screen mode in a runtime, how can I do it? (I've got an option that shows window in full screen mode)
Regards
You want to show it at run-time... But as a result of what action?
A menu action, a keyboard shortcut, a button press?
If you already have this functionality it means you can already do it.
Regards
I meant, at the beginning program launches at Maximized, and I have a button which switches window to full screen mode. How to do it? If I called window->showFulScreen() after window->showMaximized() than I would have two windows. Regards
I am afraid that it is impossible to get two windows... Only if you actually create two windows.
I just tested it, and showFullScreen works fine even called after showMaximized( although with a little flickering ).
Can you post the code?
Regards
I'm afraid I can't post the code, actually I'm not at home. D' you mean that if I call showFullScreen after showMaximized it'll only change window's view without creating another window or cancelling what user done before user clicked button which changes to fullScreen?
ok, thanks a lot
Bookmarks