Results 1 to 4 of 4

Thread: Set full screen a dialog box

  1. #1
    Join Date
    Feb 2011
    Posts
    22
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Set full screen a dialog box

    Hello all,

    Could you please tell me how i can set full screen a dialog box?
    I would appreciate an example !

    Thank you!

  2. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Set full screen a dialog box

    you tried with QWidget::setWindowState()?

    Example
    Qt Code:
    1. this->setWindowState(Qt::WindowFullScreen);
    To copy to clipboard, switch view to plain text mode 
    A camel can go 14 days without drink,
    I can't!!!

  3. #3
    Join Date
    Feb 2011
    Posts
    22
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: Set full screen a dialog box

    Thank you its working but i can not see the close and minimize button! What i have to do?

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

    Default Re: Set full screen a dialog box

    A full screen widget doesn't have close and minimize buttons. Maybe what you wanted was a maximized window - QWidget::showMaximized().
    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.


Similar Threads

  1. How to set my mobile app as full screen
    By dineshkumar in forum Qt for Embedded and Mobile
    Replies: 7
    Last Post: 3rd February 2011, 16:40
  2. full screen on specified monitor
    By mgb_qt in forum Qt Programming
    Replies: 2
    Last Post: 3rd August 2010, 18:35
  3. Open image in full screen
    By jeetu_happy in forum Qt Programming
    Replies: 3
    Last Post: 23rd January 2007, 09:03
  4. how to display a window full screen??
    By Seema Rao in forum Qt Programming
    Replies: 1
    Last Post: 8th May 2006, 12:07
  5. how to make the form full screen
    By shrikarcse in forum Qt Tools
    Replies: 1
    Last Post: 24th April 2006, 15:30

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.