Results 1 to 6 of 6

Thread: Restore window problem

  1. #1
    Join Date
    Aug 2012
    Posts
    55
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Restore window problem

    Hi all

    I made an app which works in fullscreen mode and I made Minimize button, but when I want to restore my window after minimization it doesn't restore into fullscreen mode, it restore into "windowed" mode. Can you tell me how to restore window into fullscreen again.

  2. #2
    Join Date
    Aug 2012
    Posts
    55
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Restore window problem

    I wrote my question bad or there is no answer for this problem?

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Restore window problem

    How do you "restore" the window?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  4. #4
    Join Date
    Aug 2012
    Posts
    55
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Restore window problem

    when I minimize it I can see it down in taskbar (windows) or in Unity dock (Ubuntu) then I click it and it maximize it self, but it shouldn't restore into window but it should restore into fullscreen. sorry for bad english, it's not my native language.

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Restore window problem

    In general X11 doesn't have a concept of a "fullscreen" window, it is usually emulated by the window manager, Qt is only passing hints to the window manager what the requested window state is, the rest depends on the window manager. In my opinion you shouldn't allow a fullscreen window to be minimized. It should first be stripped of the fullscreen state and then minimized.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  6. #6
    Join Date
    Aug 2012
    Posts
    55
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Restore window problem

    So are you saying that there is no solution for my problem? if so, then I'll just remove 'minimize' option and problem solved

Similar Threads

  1. Restore the size of the window after minimize
    By SkripT in forum Qt Programming
    Replies: 10
    Last Post: 22nd September 2016, 16:23
  2. MDI - Child -- Restore Down
    By QT8seven in forum Newbie
    Replies: 4
    Last Post: 19th December 2011, 13:38
  3. Replies: 6
    Last Post: 9th November 2011, 04:31
  4. save and restore TreeWidgetItem
    By raj_iv in forum Newbie
    Replies: 3
    Last Post: 26th August 2011, 08:12
  5. QPainter save() and restore()
    By babu198649 in forum Newbie
    Replies: 4
    Last Post: 28th July 2008, 09:22

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.