refactor:调整treeView的样式

This commit is contained in:
duanshengchao 2025-07-07 14:37:26 +08:00
parent 41b617ad94
commit 1c2d83e8fb
4 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,7 @@
<RCC>
<qresource prefix="/">
<file>images/branch_closed.png</file>
<file>images/branch_open.png</file>
<file>images/appIcon.png</file>
<file>images/icon_error.png</file>
<file>images/icon_arrow_down.png</file>

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

View File

@ -88,11 +88,11 @@ border:0px;
}
QTreeView::branch:has-children:!has-siblings:closed,
QTreeView::branch:closed:has-children:has-siblings {
image: url(:/images/icon_arrow_right.png);
image: url(:/images/branch_closed.png);
}
QTreeView::branch:open:has-children:!has-siblings,
QTreeView::branch:open:has-children:has-siblings {
image: url(:/images/icon_arrow_down.png);
image: url(:/images/branch_open.png);
}
QTableView
@ -156,7 +156,7 @@ border:0px;
<property name="styleSheet">
<string notr="true">color: rgb(250, 250, 250);
font: 700 13pt &quot;微软雅黑&quot;;
border:1px solid rgb(250,250,250);
border:0.5px solid rgb(250,250,250);
border-left:0px;
border-top:0px;
border-right:0px;</string>
@ -286,7 +286,7 @@ QPushButton:pressed
</rect>
</property>
<property name="currentIndex">
<number>2</number>
<number>0</number>
</property>
<widget class="QWidget" name="pageDataType">
<property name="styleSheet">