當前位置: 首頁>>代碼示例>>Python>>正文


Python QtCompat.translate方法代碼示例

本文整理匯總了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))
開發者ID:SqueezeStudioAnimation,項目名稱:omtk,代碼行數:28,代碼來源:main_window.py

示例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))
開發者ID:SqueezeStudioAnimation,項目名稱:omtk,代碼行數:7,代碼來源:widget_create_component.py

示例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))
開發者ID:SqueezeStudioAnimation,項目名稱:omtk,代碼行數:8,代碼來源:widget_component_wizard_parts.py

示例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))
開發者ID:SqueezeStudioAnimation,項目名稱:omtk,代碼行數:6,代碼來源:widget_list_influences.py

示例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))
開發者ID:SqueezeStudioAnimation,項目名稱:omtk,代碼行數:5,代碼來源:widget_list_modules.py

示例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))
開發者ID:SqueezeStudioAnimation,項目名稱:omtk,代碼行數:6,代碼來源:widget_list_meshes.py

示例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))
開發者ID:SqueezeStudioAnimation,項目名稱:omtk,代碼行數:5,代碼來源:preferences_window.py

示例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))
開發者ID:SqueezeStudioAnimation,項目名稱:omtk,代碼行數:7,代碼來源:pluginmanager_window.py


注:本文中的Qt.QtCompat.translate方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。