Fix branch indicators in QTreeView/QTreeWidget
5168
breeze_resources.py
6
dark.qss
|
@ -1205,13 +1205,15 @@ QTreeView::branch:!has-children:!has-siblings:adjoins-item
|
|||
QTreeView::branch:has-children:!has-siblings:closed,
|
||||
QTreeView::branch:closed:has-children:has-siblings
|
||||
{
|
||||
border-image: url(:/dark/branch-closed.svg);
|
||||
border-image: none;
|
||||
image: url(:/dark/branch_closed.svg);
|
||||
}
|
||||
|
||||
QTreeView::branch:open:has-children:!has-siblings,
|
||||
QTreeView::branch:open:has-children:has-siblings
|
||||
{
|
||||
border-image: url(:/dark/branch-open.svg);
|
||||
border-image: none;
|
||||
image: url(:/dark/branch_open.svg);
|
||||
}
|
||||
|
||||
QTableView::item,
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<svg width="6" height="9">
|
||||
<path fill="#afafaf" d="M1,8V1L5,4.5Z"/>
|
||||
<svg width="18" height="18">
|
||||
<path fill="#afafaf" d="M6,13V6L10,9.5Z"/>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 77 B After Width: | Height: | Size: 81 B |
|
@ -1,3 +1,3 @@
|
|||
<svg width="9" height="6">
|
||||
<path fill="#afafaf" d="M1,1H8L4.5,5Z"/>
|
||||
<svg width="18" height="18">
|
||||
<path fill="#afafaf" d="M6,6H13L9.5,10Z"/>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 77 B After Width: | Height: | Size: 81 B |
|
@ -135,7 +135,9 @@ class Ui_MainWindow(object):
|
|||
self.treeWidget = QtWidgets.QTreeWidget(self.groupBox_2)
|
||||
self.treeWidget.setObjectName("treeWidget")
|
||||
item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget)
|
||||
item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget)
|
||||
item_1 = QtWidgets.QTreeWidgetItem(self.treeWidget)
|
||||
item_2 = QtWidgets.QTreeWidgetItem(item_1)
|
||||
item_2.setText(0, "subitem")
|
||||
self.verticalLayout_4.addWidget(self.treeWidget)
|
||||
self.gridLayout_2.addWidget(self.groupBox_2, 0, 0, 1, 1)
|
||||
self.tabWidget.addTab(self.tab_2, "")
|
||||
|
|
|
@ -1195,13 +1195,13 @@ QTreeView::branch:!has-children:!has-siblings:adjoins-item
|
|||
QTreeView::branch:has-children:!has-siblings:closed,
|
||||
QTreeView::branch:closed:has-children:has-siblings
|
||||
{
|
||||
border-image: url(:/light/branch-closed.svg);
|
||||
border-image: url(:/light/branch_closed.svg);
|
||||
}
|
||||
|
||||
QTreeView::branch:open:has-children:!has-siblings,
|
||||
QTreeView::branch:open:has-children:has-siblings
|
||||
{
|
||||
border-image: url(:/light/branch-open.svg);
|
||||
border-image: url(:/light/branch_open.svg);
|
||||
}
|
||||
|
||||
QTableView::item,
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<svg width="6" height="9">
|
||||
<path fill="#4b4b4b" d="M1,8V1L5,4.5Z"/>
|
||||
<svg width="18" height="18">
|
||||
<path fill="#4b4b4b" d="M6,13V6L10,9.5Z"/>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 77 B After Width: | Height: | Size: 81 B |
|
@ -1,3 +1,3 @@
|
|||
<svg width="9" height="6">
|
||||
<path fill="#4b4b4b" d="M1,1H8L4.5,5Z"/>
|
||||
<svg width="18" height="18">
|
||||
<path fill="#4b4b4b" d="M6,6H13L9.5,10Z"/>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 77 B After Width: | Height: | Size: 81 B |