摘要:
Internationalization and Localization with Qt Quick程序国际化1) Use qsTr() for all Literial UI stringsqsTr(), qsTranslate(), qsTrId(), QT_TR_NOOP(), QT_TRANSLATE_NOOP(), and QT_TRID_NOOP() functions最普遍的方式是: text: qsTr("Back"); >这段code会在translation文件中为string创建一个key entry; 运行时刻根据系统的locale, tra 阅读全文
摘要:
BASICQWidget 和 QMLQWidgets were designed for a different type of user interface than QML, so it is not always a good idea to port a QWidget-based application to QML.QWidgets are a better choice if your UI is comprised of a small number of complex and static elements.QML is a better choice if your UI 阅读全文