mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Refactor overriden -> overridden + hightlight -> highlight
This commit is contained in:
parent
c6eb14ab62
commit
f9209be519
31 changed files with 84 additions and 84 deletions
|
|
@ -126,7 +126,7 @@ class DynamicInputItem(QtCore.QObject):
|
|||
return "studio"
|
||||
else:
|
||||
if current_value:
|
||||
return "overriden"
|
||||
return "overridden"
|
||||
|
||||
if self.value_item.default_value:
|
||||
return "studio"
|
||||
|
|
@ -512,7 +512,7 @@ class _SiteCombobox(QtWidgets.QWidget):
|
|||
return "studio"
|
||||
else:
|
||||
if current_value:
|
||||
return "overriden"
|
||||
return "overridden"
|
||||
|
||||
studio_value = self._get_local_settings_item(DEFAULT_PROJECT_KEY)
|
||||
if studio_value:
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
- `"is_file"` - this key is for storing openpype defaults in `openpype` repo
|
||||
- reasons of existence: developing new schemas does not require to create defaults manually
|
||||
- key is validated, must be once in hierarchy else it won't be possible to store openpype defaults
|
||||
- `"is_group"` - define that all values under key in hierarchy will be overriden if any value is modified, this information is also stored to overrides
|
||||
- `"is_group"` - define that all values under key in hierarchy will be overridden if any value is modified, this information is also stored to overrides
|
||||
- this keys is not allowed for all inputs as they may have not reason for that
|
||||
- key is validated, can be only once in hierarchy but is not required
|
||||
- currently there are `system configurations` and `project configurations`
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ class BaseWidget(QtWidgets.QWidget):
|
|||
if is_modified:
|
||||
return "modified"
|
||||
if has_project_override:
|
||||
return "overriden"
|
||||
return "overridden"
|
||||
if has_studio_override:
|
||||
return "studio"
|
||||
return ""
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@ class DictConditionalWidget(BaseWidget):
|
|||
content_widget.setObjectName("ContentWidget")
|
||||
|
||||
if self.entity.highlight_content:
|
||||
content_state = "hightlighted"
|
||||
content_state = "highlighted"
|
||||
bottom_margin = 5
|
||||
else:
|
||||
content_state = ""
|
||||
|
|
|
|||
|
|
@ -354,7 +354,7 @@ class ModifiableDictItem(QtWidgets.QWidget):
|
|||
if self.entity.has_unsaved_changes:
|
||||
return "modified"
|
||||
if self.entity.has_project_override:
|
||||
return "overriden"
|
||||
return "overridden"
|
||||
if self.entity.has_studio_override:
|
||||
return "studio"
|
||||
return ""
|
||||
|
|
@ -600,8 +600,8 @@ class DictMutableKeysWidget(BaseWidget):
|
|||
self.input_fields = []
|
||||
self.required_inputs_by_key = {}
|
||||
|
||||
if self.entity.hightlight_content:
|
||||
content_state = "hightlighted"
|
||||
if self.entity.highlight_content:
|
||||
content_state = "highlighted"
|
||||
bottom_margin = 5
|
||||
else:
|
||||
content_state = ""
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@ class DictImmutableKeysWidget(BaseWidget):
|
|||
content_widget.setObjectName("ContentWidget")
|
||||
|
||||
if self.entity.highlight_content:
|
||||
content_state = "hightlighted"
|
||||
content_state = "highlighted"
|
||||
bottom_margin = 5
|
||||
else:
|
||||
content_state = ""
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ class OptionalMenu(QtWidgets.QMenu):
|
|||
"""A subclass of `QtWidgets.QMenu` to work with `OptionalAction`
|
||||
|
||||
This menu has reimplemented `mouseReleaseEvent`, `mouseMoveEvent` and
|
||||
`leaveEvent` to provide better action hightlighting and triggering for
|
||||
`leaveEvent` to provide better action highlighting and triggering for
|
||||
actions that were instances of `QtWidgets.QWidgetAction`.
|
||||
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -833,7 +833,7 @@ class SidePanelWidget(QtWidgets.QWidget):
|
|||
self.note_input.setEnabled(enabled)
|
||||
self.btn_note_save.setEnabled(enabled)
|
||||
|
||||
# Make sure workfile doc is overriden
|
||||
# Make sure workfile doc is overridden
|
||||
self._workfile_doc = workfile_doc
|
||||
# Disable inputs and remove texts if any required arguments are missing
|
||||
if not enabled:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue