mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
added some styles to qtreeview
This commit is contained in:
parent
0699d8d843
commit
b318387c3c
2 changed files with 13 additions and 0 deletions
|
|
@ -115,6 +115,7 @@ class TypeDelegate(QtWidgets.QStyledItemDelegate):
|
|||
def createEditor(self, parent, option, index):
|
||||
editor = FilterComboBox(parent)
|
||||
editor.setObjectName("TypeEditor")
|
||||
editor.style().polish(editor)
|
||||
if not self._project_doc_cache.project_doc:
|
||||
return editor
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,18 @@ QTreeView::item {
|
|||
padding-right: 3px;
|
||||
}
|
||||
|
||||
|
||||
QTreeView::item:selected, QTreeView::item:selected:!active {
|
||||
background: rgba(0, 122, 204, 127);
|
||||
color: black;
|
||||
}
|
||||
|
||||
#RefreshBtn {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
#TypeEditor, #ToolEditor, #NameEditor, #NumberEditor {
|
||||
background: transparent;
|
||||
border: 1px solid #005c99;
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue