Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-7582 Qt Designer does not restrict slot for root window
  3. QTBUG-7595

Provide overload/parameter for QMetaObject::connectSlotsByName() that handles the object passed in as well.

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Fix Version/s: 5.1.0
    • Component/s: Core: Object Model
    • Labels:
      None
    • Technical Risk:
      Low
    • Commits:
      6b68be9587c6d6946faff34f88d80de53f11ed86

      Description

      QMetaObject::connectSlotsByName() as generated by uic does not handle slots of the form widget itself since only child objects of the object passed in (form) are handled. This cannot be easily fixed in uic since form->parent() might not exist or might have lots of other children at the time of calling. Alternatively, provide an overload working only on the single QObject passed in which will be called for the form as well.

        Attachments

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

          Activity

            People

            Assignee:
            axxel Axel
            Reporter:
            kleint Friedemann Kleint
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes