Results 1 to 2 of 2

Thread: how to display a window full screen??

  1. #1
    Join Date
    Feb 2006
    Posts
    42
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default how to display a window full screen??

    hi all,
    I am using Qt4 on Linux, can some body explain how to display an app full screen?
    Hard-cored values like this work fine, but give different results for different display,

    setFixedSize(1020,680);
    resize(1020,680);

    Thanks in advance,
    Seema Rao..

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to display a window full screen??

    Have you tried this?
    void QWidget::showFullScreen () [slot]
    Shows the widget in full-screen mode.
    Calling this function only affects windows.
    To return from full-screen mode, call showNormal().
    Full-screen mode works fine under Windows, but has certain problems under X. [...]
    X11 window managers that follow modern post-ICCCM specifications support full-screen mode properly.
    See also showNormal(), showMaximized(), show(), hide(), and isVisible().

Similar Threads

  1. Mouse position on screen
    By Nippler in forum Qt Programming
    Replies: 3
    Last Post: 7th August 2008, 14:22
  2. Replies: 0
    Last Post: 16th July 2008, 13:15
  3. Open a QMainWindow in full screen mode?
    By probine in forum Qt Programming
    Replies: 7
    Last Post: 29th November 2006, 13:44
  4. how to display full tree item name on mouse move ?
    By rajesh in forum Qt Programming
    Replies: 5
    Last Post: 15th November 2006, 08:41
  5. Starting application in full screen
    By safknw in forum Qt Programming
    Replies: 3
    Last Post: 12th May 2006, 18:02

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.