Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-31735

QWidget::frameGeometry() and QWidget::frameSize() need more info about frame

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Won't Do
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.8.4, 5.0.2
    • Documentation
    • None

      The descriptions of the functions QWidget::frameGeometry() and QWidget::frameSize() don't mention that the size of the frame is unknown until the window is shown for the first time. This causes confusion, because it seems that the functions are returning erroneous values if the window is not shown yet.

      Therefore I suggest an additional sentence to the function descriptions about the invalidity of the frame size and geometry values before the window is actually shown.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            docteam Qt Documentation Team
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes