Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1765

Widget subclass' minimumSizeHint not called with true_property feature enabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 6.3.0
    • 6.2.2
    • PySide
    • None
    • 0a07515edf (pyside/tqtc-pyside-setup/6.2) d03776d6ef (pyside/tqtc-pyside-setup/dev) d03776d6ef (pyside/tqtc-pyside-setup/tqtc/dev) 0a07515edf (pyside/pyside-setup/6.2.4)

    Description

      when implementing a custom widget through a QWidget subclass, the minimumSizeHint property of the subclass is not called by Qt when the true_property feature is enabled (enabling properties sizeHint/minimumSizeHint).
      This can be seen in the attached code where minimumSizeHint called is never printed

      Attachments

        1. pyside1765.py
          0.5 kB
          Michal Laboš

        Issue Links

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

          Activity

            People

              ctismer Christian Tismer
              numerlor Michal Laboš
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes