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

QColorConstants.Svg type hints are invalid.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.7.0
    • Type hints
    • None
    • All

    Description

      PYSIDE-2263 added type hints for QColorConstants and QColorConstants.Svg however the generated stub file is invalid.

      class QColorConstants(Shiboken.Object):
      
          Black                     = ...  # type: QColor
          ...
          Yellow                    = ...  # type: QColor
      
          class Svg(Shiboken.Object): ...
      
              aliceblue                 = ...  # type: QColor

      The elipsis after class Svg(Shiboken.Object): should not be there.

      Looks like a bug in your stub generator.

      Attachments

        Issue Links

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

          Activity

            People

              ctismer Christian Tismer
              gentlegiantjgc J C
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes