devwiki:python_qt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revisionBoth sides next revision
devwiki:python_qt [2024/01/04 08:24] – [Layout and Container] yingdevwiki:python_qt [2024/01/06 20:35] – [Text Widget] ying
Line 1210: Line 1210:
 self.uiList['user_input'].setDisabled(1) # grey out look, can use style to tune better self.uiList['user_input'].setDisabled(1) # grey out look, can use style to tune better
 self.uiList['user_input'].setReadOnly(1) # normal look, but not editable self.uiList['user_input'].setReadOnly(1) # normal look, but not editable
 +</code>
 +  * QLineEdit password hide <code python>
 +self.uiList['user_input'].setEchoMode(QtWidgets.QLineEdit.Password)
 </code> </code>
   * QTextEdit make it accept plain text only <code python>   * QTextEdit make it accept plain text only <code python>
  • devwiki/python_qt.txt
  • Last modified: 2024/01/10 03:08
  • by ying