mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #40 from pypeclub/feature/change_pype_labels
Change pype labels
This commit is contained in:
commit
039537e711
4 changed files with 12 additions and 11 deletions
|
|
@ -17,7 +17,7 @@ class CredentialsDialog(QtWidgets.QDialog):
|
|||
def __init__(self, parent=None):
|
||||
super(CredentialsDialog, self).__init__(parent)
|
||||
|
||||
self.setWindowTitle("Pype - Ftrack Login")
|
||||
self.setWindowTitle("OpenPype - Ftrack Login")
|
||||
|
||||
self._login_server_thread = None
|
||||
self._is_logged = False
|
||||
|
|
|
|||
|
|
@ -50,7 +50,8 @@ class OpenPypeMongoWidget(QtWidgets.QWidget):
|
|||
|
||||
title = "OpenPype mongo changed"
|
||||
message = (
|
||||
"OpenPype mongo url was successfully changed. Restart Pype please."
|
||||
"OpenPype mongo url was successfully changed."
|
||||
" Restart OpenPype application please."
|
||||
)
|
||||
details = None
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ class LocalSettingsWidget(QtWidgets.QWidget):
|
|||
self.main_layout.addWidget(SpacerWidget(self), 1)
|
||||
|
||||
def _create_pype_mongo_ui(self):
|
||||
pype_mongo_expand_widget = ExpandingWidget("Pype Mongo URL", self)
|
||||
pype_mongo_expand_widget = ExpandingWidget("OpenPype Mongo URL", self)
|
||||
pype_mongo_content = QtWidgets.QWidget(self)
|
||||
pype_mongo_layout = QtWidgets.QVBoxLayout(pype_mongo_content)
|
||||
pype_mongo_layout.setContentsMargins(CHILD_OFFSET, 5, 0, 0)
|
||||
|
|
|
|||
|
|
@ -204,11 +204,11 @@ class PypeInfoWidget(QtWidgets.QWidget):
|
|||
|
||||
icon = QtGui.QIcon(resources.pype_icon_filepath())
|
||||
self.setWindowIcon(icon)
|
||||
self.setWindowTitle("Pype info")
|
||||
self.setWindowTitle("OpenPype info")
|
||||
|
||||
main_layout = QtWidgets.QVBoxLayout(self)
|
||||
main_layout.setAlignment(QtCore.Qt.AlignTop)
|
||||
main_layout.addWidget(self._create_pype_info_widget(), 0)
|
||||
main_layout.addWidget(self._create_openpype_info_widget(), 0)
|
||||
main_layout.addWidget(self._create_separator(), 0)
|
||||
main_layout.addWidget(self._create_workstation_widget(), 0)
|
||||
main_layout.addWidget(self._create_separator(), 0)
|
||||
|
|
@ -347,8 +347,8 @@ class PypeInfoWidget(QtWidgets.QWidget):
|
|||
|
||||
return env_widget
|
||||
|
||||
def _create_pype_info_widget(self):
|
||||
"""Create widget with information about pype application."""
|
||||
def _create_openpype_info_widget(self):
|
||||
"""Create widget with information about OpenPype application."""
|
||||
|
||||
# Get pype info data
|
||||
pype_info = get_pype_info()
|
||||
|
|
@ -360,10 +360,10 @@ class PypeInfoWidget(QtWidgets.QWidget):
|
|||
pype_info["version_value"] = version_value
|
||||
# Prepare lable mapping
|
||||
key_label_mapping = {
|
||||
"version_value": "Pype version:",
|
||||
"executable": "Pype executable:",
|
||||
"pype_root": "Pype location:",
|
||||
"mongo_url": "Pype Mongo URL:"
|
||||
"version_value": "OpenPype version:",
|
||||
"executable": "OpenPype executable:",
|
||||
"pype_root": "OpenPype location:",
|
||||
"mongo_url": "OpenPype Mongo URL:"
|
||||
}
|
||||
# Prepare keys order
|
||||
keys_order = ["version_value", "executable", "pype_root", "mongo_url"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue