mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +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)
|
||||
|
||||
view = QtWidgets.QTreeView(self)
|
||||
view.setAllColumnsShowFocus(True)
|
||||
view.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
|
||||
|
||||
layout = QtWidgets.QVBoxLayout(self)
|
||||
|
|
@ -227,9 +226,9 @@ class OutputWidget(QtWidgets.QWidget):
|
|||
super(OutputWidget, self).__init__(parent=parent)
|
||||
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.setLineWrapMode(QtWidgets.QTextEdit.FixedPixelWidth)
|
||||
|
||||
|
|
|
|||
|
|
@ -340,6 +340,11 @@ QAbstractItemView {
|
|||
selection-background-color: transparent;
|
||||
}
|
||||
|
||||
QAbstractItemView::item {
|
||||
/* `border: none` hide outline of selected item. */
|
||||
border: none;
|
||||
}
|
||||
|
||||
QAbstractItemView:disabled{
|
||||
background: {color:bg-view-disabled};
|
||||
alternate-background-color: {color:bg-view-alternate-disabled};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue