mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
hide outlines of selected item
This commit is contained in:
parent
65be35d86c
commit
324560a6e9
2 changed files with 7 additions and 3 deletions
|
|
@ -139,7 +139,6 @@ class LogsWidget(QtWidgets.QWidget):
|
||||||
filter_layout.addWidget(refresh_btn)
|
filter_layout.addWidget(refresh_btn)
|
||||||
|
|
||||||
view = QtWidgets.QTreeView(self)
|
view = QtWidgets.QTreeView(self)
|
||||||
view.setAllColumnsShowFocus(True)
|
|
||||||
view.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
|
view.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
|
||||||
|
|
||||||
layout = QtWidgets.QVBoxLayout(self)
|
layout = QtWidgets.QVBoxLayout(self)
|
||||||
|
|
@ -227,9 +226,9 @@ class OutputWidget(QtWidgets.QWidget):
|
||||||
super(OutputWidget, self).__init__(parent=parent)
|
super(OutputWidget, self).__init__(parent=parent)
|
||||||
layout = QtWidgets.QVBoxLayout(self)
|
layout = QtWidgets.QVBoxLayout(self)
|
||||||
|
|
||||||
show_timecode_checkbox = QtWidgets.QCheckBox("Show timestamp")
|
show_timecode_checkbox = QtWidgets.QCheckBox("Show timestamp", self)
|
||||||
|
|
||||||
output_text = QtWidgets.QTextEdit()
|
output_text = QtWidgets.QTextEdit(self)
|
||||||
output_text.setReadOnly(True)
|
output_text.setReadOnly(True)
|
||||||
# output_text.setLineWrapMode(QtWidgets.QTextEdit.FixedPixelWidth)
|
# output_text.setLineWrapMode(QtWidgets.QTextEdit.FixedPixelWidth)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -340,6 +340,11 @@ QAbstractItemView {
|
||||||
selection-background-color: transparent;
|
selection-background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QAbstractItemView::item {
|
||||||
|
/* `border: none` hide outline of selected item. */
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
QAbstractItemView:disabled{
|
QAbstractItemView:disabled{
|
||||||
background: {color:bg-view-disabled};
|
background: {color:bg-view-disabled};
|
||||||
alternate-background-color: {color:bg-view-alternate-disabled};
|
alternate-background-color: {color:bg-view-alternate-disabled};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue