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

PySide2: Incorrect definition of Qt::mightBeRichText and Qt::convertFromPlainText

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 5.15.14
    • PySide
    • None
    • 4e779d0e3 (dev), e974afba7 (dev), 30c20bb1d (6.8), 814f2304e (6.8)

    Description

      Qt::mightBeRichText and Qt::convertFromPlainText are defined in QtCore.pyi.

      • They should be defined in QtGui since they belong to gui module.
        (see here)
      • They do not take a self argument.
      def convertFromPlainText(self, plain: str, mode: QtCore.Qt.WhiteSpaceMode = ...) -> str: ...
      def mightBeRichText(self, a0: str) -> bool: ... 

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            frachop franck Chopin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes