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

PySide2.QtGui.QActionEvent has no attribute action()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: P2: Important P2: Important
    • None
    • 5.11.1
    • PySide, Shiboken
    • None
    • PySide2 5.11.1
      Windows 7 64 Bit
      Python 3.7.0 64 Bit
    • Windows

      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

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes