From 1c2d83e8fbcbb2e49fec4b6e82b48c9b26c0aa8f Mon Sep 17 00:00:00 2001 From: duanshengchao <519970194@qq.com> Date: Mon, 7 Jul 2025 14:37:26 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=E8=B0=83=E6=95=B4treeView=E7=9A=84?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/PowerMaster.qrc | 2 ++ resource/images/branch_closed.png | Bin 0 -> 265 bytes resource/images/branch_open.png | Bin 0 -> 284 bytes ui/dpConfigurationDialog.ui | 8 ++++---- 4 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 resource/images/branch_closed.png create mode 100644 resource/images/branch_open.png diff --git a/resource/PowerMaster.qrc b/resource/PowerMaster.qrc index bab3fac..c7a08b0 100644 --- a/resource/PowerMaster.qrc +++ b/resource/PowerMaster.qrc @@ -1,5 +1,7 @@ + images/branch_closed.png + images/branch_open.png images/appIcon.png images/icon_error.png images/icon_arrow_down.png diff --git a/resource/images/branch_closed.png b/resource/images/branch_closed.png new file mode 100644 index 0000000000000000000000000000000000000000..d6a39260bcd2a4c9d3411dc0cdb1e29784067d92 GIT binary patch literal 265 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz&H|6fVg?3oVGw3ym^DWND7f3x z#WAE}&f6=7Ue1964j1Pia?rWbd*f(OQ^c;OD`8C%OiCP1K^+U$xjCI;@xGq4xRrCs z#}n5h8?H)oygwuoeE0Sl6W^slKh-S`gidB{`*AEd?Z^rF^D_k>cg#p}i*Y{^n|8!R zDbHB>o$@0!<420?9vc}yGE~wtnt!GGOkL(rxqBZPfs|g{$Iit(KZW8g^mN}RHj1(> zeHwelxo(o;{KVeNmp;kvNod}@=#$u-^mQCuVU}TYZ7OLE^6Pnq12SEVC%TWt=HDwUxANR z^5XJ?$sQ>O4W~Z%fAihbJHLMy?bK`)aGJp&eZ#wTLsPTKQSNgeyAC&{uikNtA$lp} z=^clp`?!vu-hUv%#oS$HdHjMl={*Vde_2BcI?GM!EVg$=+xUNeU&HPF;z`G3&d24I zd*-DbG*~oO+3)zf^$+FzZ_GXUV|qtepT%J-xeLerW{Jm0RJriqE|!*eEKYo^eB;j^ f4#k!a@wE)`8gKTyTd$lB^cjPvtDnm{r-UW|8k%!W literal 0 HcmV?d00001 diff --git a/ui/dpConfigurationDialog.ui b/ui/dpConfigurationDialog.ui index 34d791c..7947b45 100644 --- a/ui/dpConfigurationDialog.ui +++ b/ui/dpConfigurationDialog.ui @@ -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; color: rgb(250, 250, 250); font: 700 13pt "微软雅黑"; -border:1px solid rgb(250,250,250); +border:0.5px solid rgb(250,250,250); border-left:0px; border-top:0px; border-right:0px; @@ -286,7 +286,7 @@ QPushButton:pressed - 2 + 0