Results 1 to 2 of 2

Thread: Fullscreen

  1. #1
    Join Date
    Feb 2006
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Fullscreen

    I'm making an application that's full screen. I'm able to make it full screen with my native desktop resolution. What I want to do, is change the desktop to a different resolution. For instance, I run at 1600x1200 on my desktop, but I want my app to be 800x600. I cannot find anything in the QT documentation that shows me how to do this? Can someone please give me some pointers?

    Thank you

  2. #2
    Join Date
    Jan 2006
    Location
    N.B. Canada
    Posts
    47
    Thanked 8 Times in 7 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Fullscreen

    I believe that this is windowing system specific functionality. I doubt there is a Qt way (or a nice cross-platform way at all) to do this.

    Bojan
    The march of progress:
    C:
    printf("%10.2f", x);
    C++:
    cout << setw(10) << setprecision(2) << showpoint << x;
    Java:
    java.text.NumberFormat formatter = java.text.NumberFormat.getNumberInstance();
    formatter.setMinimumFractionDigits(2);
    formatter.setMaximumFractionDigits(2);
    String s = formatter.format(x);
    for (int i = s.length(); i < 10; i++) System.out.print(' ');
    System.out.print(s);

Similar Threads

  1. fullscreen opengl
    By k2 in forum Qt Programming
    Replies: 4
    Last Post: 30th April 2009, 18:15
  2. switch a QWidget inside a QMainWindow to fullscreen
    By koenux in forum Qt Programming
    Replies: 1
    Last Post: 11th January 2009, 21:25
  3. PopUp a Menu when showing FullScreen
    By Lele in forum Qt Programming
    Replies: 2
    Last Post: 29th May 2007, 10:04
  4. Fullscreen on Gnome is not full
    By patrik08 in forum Qt Programming
    Replies: 0
    Last Post: 8th March 2007, 02:05
  5. mode fullScreen
    By ederbs in forum Qt Programming
    Replies: 4
    Last Post: 20th January 2007, 00:42

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.