Results 1 to 4 of 4

Thread: Widget Height and Width

  1. #1
    Join Date
    May 2011
    Posts
    22
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Default Widget Height and Width

    Hi,
    My application requires that the application be make fullscreen and with that the widget in the application to change its geometry(height and width) with the main application, but while i can make the application as full screen but the widget size is giving a default value its not giving the dimensions of the fullscreen monitor....

    Any solutions?

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Widget Height and Width

    Quote Originally Posted by in_dbasu View Post
    Any solutions?
    Use layouts.

  3. #3
    Join Date
    May 2011
    Posts
    22
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Default Re: Widget Height and Width

    Could you post some code snippet?

  4. #4
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Widget Height and Width

    Quote Originally Posted by in_dbasu View Post
    Could you post some code snippet?
    No, the documentation is full of examples on how to use layouts!

Similar Threads

  1. Replies: 3
    Last Post: 3rd March 2011, 00:22
  2. problems with getting height and width of widget
    By martinn in forum Qt Programming
    Replies: 3
    Last Post: 10th March 2010, 03:04
  3. Replies: 6
    Last Post: 14th April 2009, 17:40
  4. Pixmap height / width without loading it
    By bunjee in forum Qt Programming
    Replies: 1
    Last Post: 29th November 2007, 07:10
  5. width and height of QTabWidget
    By chikkireddi in forum Qt Programming
    Replies: 6
    Last Post: 29th October 2007, 13:53

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.