QML 程序国际化(一)

1.获取所需翻译的文本 在代码中需要翻译的文本的都需要用下面的方式使用 tr() 括起来。 //创建菜单子项 manageAction = new QAction(tr( "vehicle management"), this); chartAction = new QAction(tr( "Sales statistics"), thi
相关文章
相关标签/搜索