Results 1 to 3 of 3

Thread: Control box hide

  1. #1
    Join Date
    Jun 2009
    Posts
    44
    Qt products
    Qt4
    Platforms
    Windows

    Default Control box hide

    Hello,

    I'm trying to hide the control box(maximized and minimized buttons) of my widgets and I don't know which function I must use. To achieve this goal I have read QWidget's properties.
    I have tryed with showFullScreen() and that is the only way that i have get it to manage it.
    Is any more?
    thanks

  2. #2
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Control box hide

    Quote Originally Posted by maider View Post
    Hello,I'm trying to hide the control box(maximized and minimized buttons) of my widgets and I don't know which function I must use. To achieve this goal I have read QWidget's properties.
    I have tryed with showFullScreen() and that is the only way that i have get it to manage it.
    Is any more?
    thanks
    You need to set window flags.
    See this.

  3. #3
    Join Date
    Jun 2009
    Posts
    44
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Control box hide

    thanks!!

    I have just managed!!!

Similar Threads

  1. ActiveQt - How can I hide an ActiveX control ?
    By John82 in forum Qt Programming
    Replies: 2
    Last Post: 11th October 2009, 22:12
  2. Scale MdiSubWindows after Dockwidget hide()
    By Ginsengelf in forum Qt Programming
    Replies: 3
    Last Post: 6th August 2009, 14:00
  3. How to hide dotted lines around the focused control?
    By gimel in forum Qt Programming
    Replies: 3
    Last Post: 6th November 2008, 07:09
  4. Simple frame control doesn't resize when I hide()
    By MrGarbage in forum Qt Programming
    Replies: 2
    Last Post: 29th August 2007, 22:32
  5. Replies: 6
    Last Post: 3rd February 2006, 09:48

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.