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

QTimer.singleShot example documentation does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 6.4.1
    • Documentation
    • None
    • All
    • 8fccba0e6 (dev), 8b4785823 (6.4), b326ef734 (6.5), 62e4e8090 (tqtc/lts-6.2)

    Description

      PySide6 QtCore.QTimer.singleShot documentation contains an example:

      QTimer.singleShot(600000, app, SLOT(quit())) 

      This example does not work as SLOT() does not exist in PySide6 6.4.1.

      Correct code:

      QTimer.singleShot(600000, app.quit)

      For more information. please refer to the Qt forum. Can someone update the documentation for Qt Python?

       

      Attachments

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              erriez Erriez Ew
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes