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

QMenu shouldn't have addAction overloads

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.x
    • Type hints
    • None
    • All

    Description

      QMenu inherits addAction from QWidget, but QMenu's class definition has the same exact addAction definitions from QWidget, which in vsc causes pylance to freeze and give None instead of QAction in the return type.

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            aspecky John Doe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes