本文整理汇总了Python中Qt.QtCompat.translate方法的典型用法代码示例。如果您正苦于以下问题:Python QtCompat.translate方法的具体用法?Python QtCompat.translate怎么用?Python QtCompat.translate使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Qt.QtCompat
的用法示例。
在下文中一共展示了QtCompat.translate方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: retranslateUi
# 需要导入模块: from Qt import QtCompat [as 别名]
# 或者: from Qt.QtCompat import translate [as 别名]
def retranslateUi(self, OpenRiggingToolkit):
OpenRiggingToolkit.setWindowTitle(QtCompat.translate("OpenRiggingToolkit", "Open Rigging Toolkit", None, -1))
self.label_modules.setText(QtCompat.translate("OpenRiggingToolkit", "Modules", None, -1))
self.label_jnts.setText(QtCompat.translate("OpenRiggingToolkit", "Influences", None, -1))
self.label.setText(QtCompat.translate("OpenRiggingToolkit", "Meshes", None, -1))
self.menuFile.setTitle(QtCompat.translate("OpenRiggingToolkit", "File", None, -1))
self.menuRig.setTitle(QtCompat.translate("OpenRiggingToolkit", "Rig", None, -1))
self.menuJoint.setTitle(QtCompat.translate("OpenRiggingToolkit", "Modules", None, -1))
self.menuInfluences.setTitle(QtCompat.translate("OpenRiggingToolkit", "Influences", None, -1))
self.menuSettings.setTitle(QtCompat.translate("OpenRiggingToolkit", "Settings", None, -1))
self.actionUpdate.setText(QtCompat.translate("OpenRiggingToolkit", "Update All", None, -1))
self.actionUpdate.setToolTip(QtCompat.translate("OpenRiggingToolkit", "Update", None, -1))
self.actionImport.setText(QtCompat.translate("OpenRiggingToolkit", "Import", None, -1))
self.actionExport.setText(QtCompat.translate("OpenRiggingToolkit", "Export", None, -1))
self.actionBuildAll.setText(QtCompat.translate("OpenRiggingToolkit", "Build All", None, -1))
self.actionUnbuildAll.setText(QtCompat.translate("OpenRiggingToolkit", "Unbuild All", None, -1))
self.actionRebuildAll.setText(QtCompat.translate("OpenRiggingToolkit", "Rebuild All", None, -1))
self.actionCreateModule.setText(QtCompat.translate("OpenRiggingToolkit", "Create Module", None, -1))
self.actionAddSelectedInfluencesToModule.setText(QtCompat.translate("OpenRiggingToolkit", "Add Selected Influences to Module", None, -1))
self.actionRemoveNodeFromModule.setText(QtCompat.translate("OpenRiggingToolkit", "Remove Selection", None, -1))
self.actionMirrorJntsLToR.setText(QtCompat.translate("OpenRiggingToolkit", "Mirror L -> R", None, -1))
self.actionMirrorJntsRToL.setText(QtCompat.translate("OpenRiggingToolkit", "Mirror R -> L", None, -1))
self.actionMirrorSelection.setText(QtCompat.translate("OpenRiggingToolkit", "Mirror using Selection", None, -1))
self.actionShowPluginManager.setText(QtCompat.translate("OpenRiggingToolkit", "Plugin Manager", None, -1))
self.actionShowPreferences.setText(QtCompat.translate("OpenRiggingToolkit", "Preferences", None, -1))
self.actionAddSelectedMeshesToModule.setText(QtCompat.translate("OpenRiggingToolkit", "Add Selected Meshes to Module", None, -1))
示例2: retranslateUi
# 需要导入模块: from Qt import QtCompat [as 别名]
# 或者: from Qt.QtCompat import translate [as 别名]
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QtCompat.translate("MainWindow", "Component Creation Wizard", None, -1))
self.label_ctrl.setText(QtCompat.translate("MainWindow", "Ctrls:", None, -1))
self.label_infl.setText(QtCompat.translate("MainWindow", "Influences:", None, -1))
self.label_guid.setText(QtCompat.translate("MainWindow", "Guides:", None, -1))
示例3: retranslateUi
# 需要导入模块: from Qt import QtCompat [as 别名]
# 或者: from Qt.QtCompat import translate [as 别名]
def retranslateUi(self, Form):
Form.setWindowTitle(QtCompat.translate("Form", "Form", None, -1))
self.pushButton_add.setText(QtCompat.translate("Form", "Add", None, -1))
self.pushButton_remove.setText(QtCompat.translate("Form", "Remove", None, -1))
self.pushButton_connect.setText(QtCompat.translate("Form", "Connect", None, -1))
self.pushButton_disconnect.setText(QtCompat.translate("Form", "Disconnect", None, -1))
示例4: retranslateUi
# 需要导入模块: from Qt import QtCompat [as 别名]
# 或者: from Qt.QtCompat import translate [as 别名]
def retranslateUi(self, Form):
Form.setWindowTitle(QtCompat.translate("Form", "Form", None, -1))
self.btn_update.setText(QtCompat.translate("Form", "Update", None, -1))
self.checkBox_hideAssigned.setText(QtCompat.translate("Form", "Hide Assigned", None, -1))
示例5: retranslateUi
# 需要导入模块: from Qt import QtCompat [as 别名]
# 或者: from Qt.QtCompat import translate [as 别名]
def retranslateUi(self, Form):
Form.setWindowTitle(QtCompat.translate("Form", "Form", None, -1))
self.btn_update.setText(QtCompat.translate("Form", "Update", None, -1))
示例6: retranslateUi
# 需要导入模块: from Qt import QtCompat [as 别名]
# 或者: from Qt.QtCompat import translate [as 别名]
def retranslateUi(self, Form):
Form.setWindowTitle(QtCompat.translate("Form", "Form", None, -1))
self.btn_update.setText(QtCompat.translate("Form", "Update", None, -1))
self.pushButton_selectGrpMeshes.setText(QtCompat.translate("Form", "Select Meshes Grp", None, -1))
示例7: retranslateUi
# 需要导入模块: from Qt import QtCompat [as 别名]
# 或者: from Qt.QtCompat import translate [as 别名]
def retranslateUi(self, Dialog):
Dialog.setWindowTitle(QtCompat.translate("Dialog", "OMTK - Preferences", None, -1))
self.label.setText(QtCompat.translate("Dialog", "Default Rig Class", None, -1))
示例8: retranslateUi
# 需要导入模块: from Qt import QtCompat [as 别名]
# 或者: from Qt.QtCompat import translate [as 别名]
def retranslateUi(self, mainWindow):
mainWindow.setWindowTitle(QtCompat.translate("mainWindow", "OMTK - Plugin Manager", None, -1))
self.pushButton_reload.setText(QtCompat.translate("mainWindow", "Reload", None, -1))
self.actionReload.setText(QtCompat.translate("mainWindow", "Reload", None, -1))
self.actionSearchQueryChanged.setText(QtCompat.translate("mainWindow", "SearchQueryChanged", None, -1))