QTextEdit *qteLicense =newQTextEdit(qtwTab); qteLicense->setReadOnly(true); qteLicense->setPlainText(License::license()); QTextEdit *qteAuthors =newQTextEdit(qtwTab); qteAuthors->setReadOnly(true); qteAuthors->setPlainText(License::authors()); QTextBrowser *qtb3rdPartyLicense =newQTextBrowser...
# 需要导入模块: from PyQt4.Qt import QTextEdit [as 别名]# 或者: from PyQt4.Qt.QTextEdit importsetReadOnly[as 别名]classVersionHistoryDialog(SizePersistedDialog):def__init__(self, parent, plugin_name, html):SizePersistedDialog.__init__(self, parent,"Plugin Updater plugin:version history dialo...
# 需要导入模块: from spyderlib.qt.QtGui import QTextEdit [as 别名]# 或者: from spyderlib.qt.QtGui.QTextEdit importsetReadOnly[as 别名]classContentsWidget(QWidget):"""Import wizard contents widget"""asDataChanged = Signal(bool)def__init__(self, parent, text):QWidget.__init__(self, pare...
# 需要导入模块: from PyQt4.QtGui import QTextEdit [as 别名]# 或者: from PyQt4.QtGui.QTextEdit importsetReadOnly[as 别名]def__init__(self, parent, title='', msg ='', width=None):QDialog.__init__(self, parent) self.setWindowTitle(title) self.setPalette(white_palette) sizer = QVBo...
在下文中一共展示了QTextEdit.setReadOnly方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。 示例1: OutputWindow ▲点赞 7▼ # 需要导入模块: from PyQt5.QtWidgets import QTextEdit [as 别名]# 或者: from PyQt5....
# 需要导入模块: from PySide.QtGui import QTextEdit [as 别名]# 或者: from PySide.QtGui.QTextEdit importsetReadOnly[as 别名]defcreate_text_input( self, parent, read_only=False, password=False, handle_enter=False, multi_line=False, align="left"):""" Returns an adapted single or mutli li...