该代码创建填充了文本行的QTextBrowser窗口。 我想选择所有匹配“Long Line”的单词 如何实现它? from PyQt4 import QtCore, QtGui
app = QtGui.QApplication([])
view = QtGui.QTextBrowser()
for i in range(25):
view.append(10*('Long Li
我试图让一行文本显示在pyqt4文本浏览器中。我能够显示它,但是每当我开始调整窗口大小时,我正在运行PyQt窗口关闭的函数。目前,它只是关闭没有显示错误或其他任何东西。之前它会显示此错误: QObject::startTimer: timers cannot be started from another thread
我已经尝试.append()和.instertPlainText()。追加