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

Add an overload to the QMessageBox.open() method that accepts a slot

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • Icon: P4: Low P4: Low
    • 6.8.0
    • None
    • PySide, Shiboken
    • None
    • 058444c9d (dev)

      The open() method of QMessageBox should accept a slot. This would avoid having to use the SLOT() function and convert the slot method into a C++ method string. This would also make it more in-line with the Signal.connect(Slot) style of connecting signals and slots. Furthermore, PyQt already uses this method style so adding this would improve the compatibility between the two libraries.

        1. pyside2805.py
          0.5 kB
          Friedemann Kleint
        2. pyside2805_pyqt.py
          0.5 kB
          Friedemann Kleint
        For Gerrit Dashboard: PYSIDE-2805
        # Subject Branch Project Status CR V

            kleint Friedemann Kleint
            jirauser71538 user-3e62a (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes