Guest User

Untitled

a guest
Jul 20th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. from PyQt5 import Qt
  2.  
  3. app = Qt.QApplication([])
  4.  
  5. te = Qt.QTextEdit()
  6. te.setHtml("""
  7. <b>Hello</b> <i>Qt!</i><br>
  8. <font color="red"><b>Привет<b></font> <font size="20">мир!</font>
  9. """)
  10. te.show()
  11.  
  12. app.exec()
Add Comment
Please, Sign In to add comment