Results 1 to 2 of 2

Thread: QWidget::size() vs QWidget::geometry()

  1. #1
    Join Date
    Oct 2011
    Location
    Australia
    Posts
    29
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default QWidget::size() vs QWidget::geometry()

    QWidget::size() vs QWidget::geometry(). It appears widget.size() is simply widget.qeometry().size(). Could someone please confirm this or explain the difference?

  2. #2
    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: QWidget::size() vs QWidget::geometry()

    Yes, it is the same value.
    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. QWidget size at run time
    By mvbhavsar in forum Newbie
    Replies: 3
    Last Post: 1st February 2014, 01:32
  2. When is the geometry of a QWidget subclass set?
    By Luc4 in forum Qt Programming
    Replies: 3
    Last Post: 3rd May 2011, 22:14
  3. Replies: 1
    Last Post: 3rd February 2011, 11:38
  4. Qmainwindow QWidget size
    By seltra in forum Newbie
    Replies: 1
    Last Post: 3rd October 2010, 19:46
  5. Replies: 2
    Last Post: 27th May 2010, 02:55

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.