我有一个code,并且继承自一个Qt class,所以:
print mystr.encode("utf-8")请给我以下错误:
AttributeError: 'QString' object has no attribute 'encode'所以,我决定使用Qt ready dialog,因为我知道它对于throublshooting有相同的dialog,比如在JavaScript中的alert,我的同事在C++中使用相同的东西。
问题:是他们function的名字
发布于 2013-09-04 23:44:00
QMessageBox.information(...)资讯科技的Api参考- http://pyqt.sourceforge.net/Docs/PyQt4/qmessagebox.html#information
https://stackoverflow.com/questions/18625406
复制相似问题