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

PySide2.QtGui.QActionEvent has no attribute action()

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.11.1, dev
    • Fix Version/s: None
    • Component/s: PySide, Shiboken
    • Labels:
      None
    • Environment:
      PySide2 5.11.1
      Windows 7 64 Bit
      Python 3.7.0 64 Bit
    • Platform/s:
      Windows

      Description

      Hello,

      it's not possible on PySide2 5.11.1 to get the action() from an QActionEvent. 

      This missing binding is not documented:

      https://wiki.qt.io/Qt_for_Python_Missing_Bindings

      And it should work with native Qt 5.11.1:

      https://doc.qt.io/qt-5/qactionevent.html#action

       

        Attachments

        For Gerrit Dashboard: PYSIDE-821
        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              crmaurei Cristian Maureira-Fredes
              Reporter:
              piotr_s piotr_s
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There is 1 open Gerrit change