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

SyntaxError in QtCore.pyi, QtGui.pyi (value-less enums)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • 6.2.13, 6.8.0, 6.7.3
    • 6.7.0
    • Type hints
    • None
    • Windows
    • 9d6fe24e7 (dev), ea32ce138 (6.7), a0cd3ebd5 (tqtc/lts-6.5), e8d869084 (tqtc/lts-6.2)

    Description

      QtCore.pyi line 1192:

      class QCborTag(enum.Enum):
      
      
      class QCborValue(Shiboken.Object):
      
          class DiagnosticNotationOption(enum.Flag):
      
              Compact                  : QCborValue.DiagnosticNotationOption = ... # 0x0
              LineWrapped              : QCborValue.DiagnosticNotationOption = ... # 0x1
              ExtendedFormat           : QCborValue.DiagnosticNotationOption = ... # 0x2 

      QtGui line 1092:

      class Svg(Shiboken.Object): ...
      
          aliceblue                 = ...  # type: QColor
          antiquewhite              = ...  # type: QColor
          aqua                      = ...  # type: QColor
          aquamarine                = ...  # type: QColor 

      QtGui line 6752:

      class QRhi(Shiboken.Object):
      
          class BeginFrameFlag(enum.Flag):
      
          class EndFrameFlag(enum.Flag):
      
              SkipPresent              : QRhi.EndFrameFlag = ... # 0x1
      

      from

      enum class QCborTag : quint64 {};
      
       enum BeginFrameFlag {
       };
      

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            ad_ ad_
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes