我使用QDataWidgetMapper将数据映射到QLineEdit,它工作得很好。当我使用将数据映射到QLabel时,它不会在标签中显示任何数据,我试图通过以下方式来实现它:testMapper->addMapping(ui->label,3);----- does not work
testMappe
下面发布的代码创建了QTextBrowser窗口,用100行文本填充它:从MESSAGE-0000一直到MESSAGE-0099from PyQt4 import QtCore, QtGuiapp=QtGui.QApplication([])
for i in range(100):
textBrowse