Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from PyQt5 import Qt
- app = Qt.QApplication([])
- te = Qt.QTextEdit()
- te.setHtml("""
- <b>Hello</b> <i>Qt!</i><br>
- <font color="red"><b>Привет<b></font> <font size="20">мир!</font>
- """)
- te.show()
- app.exec()
Add Comment
Please, Sign In to add comment