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

QTextEdit is missing the setMarkdown() method

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 5.14.0
    • PySide
    • None

    Description

      When I try to use QTextEdit to display markdown file I got the following error:

      AttributeError: 'PySide2.QtWidgets.QTextEdit' object has no attribute 'setMarkdown'
      

       Below is the minimal example:

      import sys
      from PySide2 import QtWidgets
      
      app = QtWidgets.QApplication(sys.argv)
      qte = QtWidgets.QTextEdit()
      qte.setMarkdown("Markdown text")
      qte.show()
      app.exec_()
      

      Is this a known bug?

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            matejjeglic Matej Jeglič
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes