MCPcopy Index your code
hub / github.com/PyQt5/PyQt / setText

Method setText

QTextEdit/HighlightText.py:47–48  ·  view source on GitHub ↗
(self, text)

Source from the content-addressed store, hash-verified

45 self.addToolBar(tb)
46
47 def setText(self, text):
48 self.textEdit.setPlainText(text)
49
50 def highlight(self):
51 text = self.findText.text() # 输入框中的文字

Callers 6

copyDataMethod · 0.45
retranslateUiMethod · 0.45
retranslateUiMethod · 0.45
__init__Method · 0.45
HighlightText.pyFile · 0.45
retranslateUiMethod · 0.45

Calls

no outgoing calls

Tested by 1

retranslateUiMethod · 0.36