Results 1 to 1 of 1

Thread: After calling showMaximized() can no longer resize application.. Why?

  1. #1
    Join Date
    Apr 2017
    Posts
    21
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: After calling showMaximized() can no longer resize application.. Why?

    Hi,

    After I call showMaximized() Slot my app maximizes but I lose the ability to resize it though I can move it around, minimize it, but never restore it to full screen after the first time. Not only that I lose the ability to resize from the corner right bottom part of the edge of the app. I tried statusBar()->setSizeGripEnabled(true) but that only makes the app a little shorter and still no resize. Is there a way to method that undos the showmaximized() fuction? I've even played around with setwindowstate (qt:windowfullscreen or windowmaximized) but its the same thing..

    Thanks


    Added after 13 minutes:


    Found Qt::WindowNoState does the trick..
    Last edited by davidm71; 25th April 2017 at 04:31.

Similar Threads

  1. Replies: 1
    Last Post: 19th May 2016, 18:29
  2. Replies: 0
    Last Post: 18th September 2014, 01:00
  3. Replies: 2
    Last Post: 9th April 2014, 15:29
  4. Calling a .NET library (.dll) from a Qt application
    By magpielover in forum Qt Programming
    Replies: 0
    Last Post: 11th January 2012, 15:21
  5. Replies: 6
    Last Post: 23rd September 2010, 12:49

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.