本文整理匯總了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))