0

私は a を持っており、 acodeから継承していQt classます。

print mystr.encode("utf-8")

次のエラーを教えてください:

AttributeError: 'QString' object has no attribute 'encode'

だから、私はそれを使用することにQt ready dialog決めdialogましthroublshootingた.alertJavaScriptC++

質問:彼らの名前はfunction?

4

1 に答える 1

1
QMessageBox.information(...)

それの API リファレンス - http://pyqt.sourceforge.net/Docs/PyQt4/qmessagebox.html#information

于 2013-09-04T23:44:00.940 に答える