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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes