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

findChild is missing options argument

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 6.1
    • 5.12.0
    • PySide
    • None
    • All
    • c6b66ffab442d5ad9f0eb6a1d2dafec8bdded245 (pyside/pyside-setup/dev) 2ef45ff9441b5a0948ff854605497af6c6adbc22 (pyside/pyside-setup/6.1)

    Description

      The templated QObject::findChild takes two arguments, a name argument and an options argument.  The PySide2 version only supports the name argument.

       

      % python3
      >>> from PySide2.QtCore import QObject
      >>> help(QObject.findChild)
      
      Help on method_descriptor:
      
      findChild(self, arg__1:type, arg__2:str='') -> object

       

       The first argument is the template argument.  The second argument should be "name", not "arg__2", and the third argument is missing.

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            gregcouch Greg Couch
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes