From 70eb749c67b3ca58b4694a8d9afb991c8a5a0a0c Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Sun, 26 May 2019 15:15:06 +0300 Subject: [PATCH] Light theme has been added --- .../qdarkstyle/rc/close-hover.png | Bin 598 -> 763 bytes .../dark_style_sheet/qdarkstyle/rc/close.png | Bin 586 -> 771 bytes .../qdarkstyle/rc/undock-hover.png | Bin 0 -> 741 bytes .../dark_style_sheet/qdarkstyle/rc/undock.png | Bin 578 -> 760 bytes .../dark_style_sheet/qdarkstyle/style.qrc | 3 +- .../dark_style_sheet/qdarkstyle/style.qss | 215 ++- 3rdparty/light_style_sheet/COPYING | 21 + .../qlightstyle/lightstyle.qrc | 48 + .../qlightstyle/lightstyle.qss | 1425 +++++++++++++++++ .../qlightstyle/rc/Hmovetoolbar.png | Bin 0 -> 180 bytes .../qlightstyle/rc/Hsepartoolbar.png | Bin 0 -> 147 bytes .../qlightstyle/rc/Vmovetoolbar.png | Bin 0 -> 179 bytes .../qlightstyle/rc/Vsepartoolbar.png | Bin 0 -> 150 bytes .../qlightstyle/rc/branch_closed-on.png | Bin 0 -> 147 bytes .../qlightstyle/rc/branch_closed.png | Bin 0 -> 160 bytes .../qlightstyle/rc/branch_open-on.png | Bin 0 -> 150 bytes .../qlightstyle/rc/branch_open.png | Bin 0 -> 166 bytes .../qlightstyle/rc/checkbox_checked.png | Bin 0 -> 492 bytes .../rc/checkbox_checked_disabled.png | Bin 0 -> 491 bytes .../qlightstyle/rc/checkbox_checked_focus.png | Bin 0 -> 252 bytes .../qlightstyle/rc/checkbox_indeterminate.png | Bin 0 -> 493 bytes .../rc/checkbox_indeterminate_disabled.png | Bin 0 -> 492 bytes .../rc/checkbox_indeterminate_focus.png | Bin 0 -> 249 bytes .../qlightstyle/rc/checkbox_unchecked.png | Bin 0 -> 464 bytes .../rc/checkbox_unchecked_disabled.png | Bin 0 -> 464 bytes .../rc/checkbox_unchecked_focus.png | Bin 0 -> 240 bytes .../qlightstyle/rc/cloce.png | Bin 0 -> 1166 bytes .../qlightstyle/rc/close-hover.png | Bin 0 -> 763 bytes .../qlightstyle/rc/close-pressed.png | Bin 0 -> 598 bytes .../qlightstyle/rc/close.png | Bin 0 -> 771 bytes .../qlightstyle/rc/down_arrow.png | Bin 0 -> 165 bytes .../qlightstyle/rc/down_arrow_disabled.png | Bin 0 -> 166 bytes .../qlightstyle/rc/extend.png | Bin 0 -> 195 bytes .../qlightstyle/rc/left_arrow.png | Bin 0 -> 166 bytes .../qlightstyle/rc/left_arrow_disabled.png | Bin 0 -> 166 bytes .../qlightstyle/rc/radio_checked.png | Bin 0 -> 940 bytes .../qlightstyle/rc/radio_checked_disabled.png | Bin 0 -> 972 bytes .../qlightstyle/rc/radio_checked_focus.png | Bin 0 -> 903 bytes .../qlightstyle/rc/radio_unchecked.png | Bin 0 -> 728 bytes .../rc/radio_unchecked_disabled.png | Bin 0 -> 760 bytes .../qlightstyle/rc/radio_unchecked_focus.png | Bin 0 -> 703 bytes .../qlightstyle/rc/right_arrow.png | Bin 0 -> 160 bytes .../qlightstyle/rc/right_arrow_disabled.png | Bin 0 -> 160 bytes .../qlightstyle/rc/sizegrip.png | Bin 0 -> 129 bytes .../qlightstyle/rc/stylesheet-branch-end.png | Bin 0 -> 224 bytes .../qlightstyle/rc/stylesheet-branch-more.png | Bin 0 -> 182 bytes .../qlightstyle/rc/stylesheet-vline.png | Bin 0 -> 239 bytes .../qlightstyle/rc/transparent.png | Bin 0 -> 195 bytes .../qlightstyle/rc/undock-hover.png | Bin 0 -> 741 bytes .../qlightstyle/rc/undock.png | Bin 0 -> 760 bytes .../qlightstyle/rc/up_arrow.png | Bin 0 -> 158 bytes .../qlightstyle/rc/up_arrow_disabled.png | Bin 0 -> 159 bytes .../svg/checkbox_checked.svg | 96 ++ .../svg/checkbox_checked_disabled.svg | 96 ++ .../svg/checkbox_checked_focus.svg | 96 ++ .../svg/checkbox_indeterminate.svg | 96 ++ .../svg/checkbox_indeterminate_disabled.svg | 96 ++ .../svg/checkbox_indeterminate_focus.svg | 96 ++ .../svg/checkbox_unchecked.svg | 71 + .../svg/checkbox_unchecked_disabled.svg | 71 + .../svg/checkbox_unchecked_focus.svg | 71 + .../light_style_sheet/svg/radio_checked.svg | 73 + .../svg/radio_checked_disabled.svg | 73 + .../svg/radio_checked_focus.svg | 73 + .../light_style_sheet/svg/radio_unchecked.svg | 67 + .../svg/radio_unchecked_disabled.svg | 67 + .../svg/radio_unchecked_focus.svg | 67 + include/lrglobal.h | 2 +- limereport/databrowser/lrdatabrowser.cpp | 2 + limereport/lrglobal.h | 2 +- limereport/lrreportdesignwidget.cpp | 60 +- limereport/lrreportdesignwidget.h | 5 +- limereport/lrreportdesignwindow.cpp | 2 +- limereport/lrsettingdialog.cpp | 42 +- limereport/lrsettingdialog.h | 8 +- limereport/lrsettingdialog.ui | 86 +- .../lrobjectinspectorwidget.cpp | 2 +- limereport/objectsbrowser/lrobjectbrowser.cpp | 2 +- limereport/scriptbrowser/lrscriptbrowser.cpp | 1 + translations/limereport_ru.ts | 32 +- 80 files changed, 3038 insertions(+), 129 deletions(-) create mode 100644 3rdparty/dark_style_sheet/qdarkstyle/rc/undock-hover.png create mode 100644 3rdparty/light_style_sheet/COPYING create mode 100644 3rdparty/light_style_sheet/qlightstyle/lightstyle.qrc create mode 100644 3rdparty/light_style_sheet/qlightstyle/lightstyle.qss create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/Hmovetoolbar.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/Hsepartoolbar.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/Vmovetoolbar.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/Vsepartoolbar.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/branch_closed-on.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/branch_closed.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/branch_open-on.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/branch_open.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/checkbox_checked.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/checkbox_checked_disabled.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/checkbox_checked_focus.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/checkbox_indeterminate.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/checkbox_indeterminate_disabled.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/checkbox_indeterminate_focus.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/checkbox_unchecked.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/checkbox_unchecked_disabled.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/checkbox_unchecked_focus.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/cloce.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/close-hover.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/close-pressed.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/close.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/down_arrow.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/down_arrow_disabled.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/extend.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/left_arrow.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/left_arrow_disabled.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/radio_checked.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/radio_checked_disabled.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/radio_checked_focus.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/radio_unchecked.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/radio_unchecked_disabled.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/radio_unchecked_focus.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/right_arrow.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/right_arrow_disabled.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/sizegrip.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/stylesheet-branch-end.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/stylesheet-branch-more.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/stylesheet-vline.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/transparent.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/undock-hover.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/undock.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/up_arrow.png create mode 100644 3rdparty/light_style_sheet/qlightstyle/rc/up_arrow_disabled.png create mode 100644 3rdparty/light_style_sheet/svg/checkbox_checked.svg create mode 100644 3rdparty/light_style_sheet/svg/checkbox_checked_disabled.svg create mode 100644 3rdparty/light_style_sheet/svg/checkbox_checked_focus.svg create mode 100644 3rdparty/light_style_sheet/svg/checkbox_indeterminate.svg create mode 100644 3rdparty/light_style_sheet/svg/checkbox_indeterminate_disabled.svg create mode 100644 3rdparty/light_style_sheet/svg/checkbox_indeterminate_focus.svg create mode 100644 3rdparty/light_style_sheet/svg/checkbox_unchecked.svg create mode 100644 3rdparty/light_style_sheet/svg/checkbox_unchecked_disabled.svg create mode 100644 3rdparty/light_style_sheet/svg/checkbox_unchecked_focus.svg create mode 100644 3rdparty/light_style_sheet/svg/radio_checked.svg create mode 100644 3rdparty/light_style_sheet/svg/radio_checked_disabled.svg create mode 100644 3rdparty/light_style_sheet/svg/radio_checked_focus.svg create mode 100644 3rdparty/light_style_sheet/svg/radio_unchecked.svg create mode 100644 3rdparty/light_style_sheet/svg/radio_unchecked_disabled.svg create mode 100644 3rdparty/light_style_sheet/svg/radio_unchecked_focus.svg diff --git a/3rdparty/dark_style_sheet/qdarkstyle/rc/close-hover.png b/3rdparty/dark_style_sheet/qdarkstyle/rc/close-hover.png index 657943a668b734138256aa7bb178661030fd4a1f..fbd746354babf5a9558fe51d507cd8594d6c286f 100644 GIT binary patch delta 729 zcmV;~0w(>|1p5VliBL{Q4GJ0x0000DNk~Le0000G0000G2nGNE03Y-JVE_ODglR)V zP)S2WAaHVTW@&6?001bFeUUv#!$2IxU(*&vD-L#0amY}eEQpFYN)?M>p|llRbuhW~ z3z{?}DK3tJYr(;f#j1mgv#t)Vf*|+-;^OM0=prTlFDbNti1FaKAMfrx?%n}Hqry}( zFafBVWu)RUF`HWzyIv8*5PA_pKw_qzNH1pKIlk`UFFH z6jh^qA?vb#!g-6cTB)(tJ^2emd2J=lb($lHV+jc)AwotCWmI4xN~=bSi4^U}Jp99s zKS?f`TxBqFET9S%lH&*egWuhng{et5DHH>OFSh+L3UuuP&AM%WAKP~G1n@rtS6bU& zZ2+^Mq}SV8G?f`>Nx@1U>j1?(+-Q(TeoxS~grq$mM7JzbspmpGjks&aD;{_QM6c%`(JwX5f02y>e zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{007fTL_t(I%cYaM4Z<)GhCdz> zJ1_`cL>5RL#0+#)E~u}f%MOq_3nWq`HemqefcemZb7*U@NJ z88^(OnMmV1$fLtH(nka409#K}S`8sq*-v8)X2m*qXL@F~J$|V}Ksh3q1}Qs$b661- zXqt3}@~#Xu5N8r57)kuc#xEXi`#C4c3)lgN0W04eR4dQ@nHI+vKSDmldGhct00000 LNkvXXu0mjfdABd6 delta 564 zcmV-40?YmT1=a*1iBL{Q4GJ0x0000DNk~Le0000$0000$2nGNE0IF$m-jlHbFn`|! z84wi!+`j+o0000TX;fHrLvL+uWo~o;00000Lvm$dbY)~9cWHEJAV*0}P-HG;2LJ#8 zx=BPqRCwC$n_H3sAq+)L);BIl7oZE${pp`&IodpudlP8#J(cDh9zzfghZQSU>^X$_ zvD@kNsQJ6&^(s>cs0EG`B3YqXGJj+gaFhrc5#CdRj0o;2LPm$TN|4dPts-P5_#O!| z8+@w-U0dM^d%tBAh!y_ta(U&rpU)Ig@82wawA_jKn)xdK16_JA27UtS~#Wz%?8hwpwaM*^Mp_VHSm!VAk|=R&oeeflxnaS zCSoLLra2!WK{LTeNN_t8MSsj;?|jfhQN#kq7zvsco+aUDg4$`os^_iW`Sl}d$eCb< zd_@74n^&mD_U7GU(d<2s&TqaTkv&Qyd0mmIO}1`{O&aT>WNY$WUzN=)f_7OtqlA#_ z@>wKUA5E+$Gu{o`?V~BAjG>;*c?e-XoLsT@cmhYTTL(HsJ^=s#00{s|MNUMnLSTYk CO6^ww diff --git a/3rdparty/dark_style_sheet/qdarkstyle/rc/close.png b/3rdparty/dark_style_sheet/qdarkstyle/rc/close.png index bc0f5761096ef24b8b4461d9252b42dad48d0d45..2a5f8ed30f681040e6b304ed23ecf09aad998d0b 100644 GIT binary patch delta 737 zcmV<70v`R!1cL^DiBL{Q4GJ0x0000DNk~Le0000G0000G2nGNE03Y-JVE_ODglR)V zP)S2WAaHVTW@&6?001bFeUUv#!$2IxU(*&vD-L#0amY}eEQpFYN)?M>p|llRbuhW~ z3z{?}DK3tJYr(;f#j1mgv#t)Vf*|+-;^OM0=prTlFDbNti1FaKAMfrx?%n}Hqry}( zFafBVWu)RUF`HWzyIv8*5PA_pKw_qzNH1pKIlk`UFFH z6jh^qA?vb#!g-6cTB)(tJ^2emd2J=lb($lHV+jc)AwotCWmI4xN~=bSi4^U}Jp99s zKS?f`TxBqFET9S%lH&*egWuhng{et5DHH>OFSh+L3UuuP&AM%WAKP~G1n@rtS6bU& zZ2+^Mq}SV8G?f`>Nx@1U>j1?(+-Q(TeoxS~grq$mM7JzbspmpGjks&aD;{_QM6CxH>Uo!vz02y>e zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{007%bL_t(I%cYYs5`r)kM4#x4 zchE~fV=K3Sj=|asP*_vh(KG4b7EsZ`CA_=m9WAZaCtHXN~hBFAP1@yvMbg5oy2|^#=!R^JK(4iHy7oH8RgBNX>+{+90fs+ T)D5SB00000NkvXXu0mjf;&DKU delta 551 zcmV+?0@(e72Fe5>iBL{Q4GJ0x0000DNk~Le0000$0000$2nGNE0IF$m-jlHbFn`|! z84wg2IL9~80000TX;fHrLvL+uWo~o;00000Lvm$dbY)~9cWHEJAV*0}P-HG;2LJ#8 zu1Q2eRCwC$n@N(xAPhw#UEKD`)4Q%z1}5o$35?cVGVdX1An zJ6S?ND{!O`$qLPqA+vy^M97Tro_`W#MsQCNGCRCgg3JzX6(K9Zk4TW!;Cm(LUJ5VR z`#n`4R`}yM{&QT{MG^J-&DwWs64bk4?~OylTSF10kCHHwx5l8Taqlg`lCQ*K9s;HD z=Ov+($2#wbSMQ@5>6!Q2gy=R2A}Rsd^N{}no)Q@FUx$FlqQ}~JB>ej@fPXB7EtSCP zdH7ynL;@Qgz8UI~5CQ)&2cR}RH8?i>>pVc&4v)?WjLjA8JfIhbwX>uih_phn;OPQd z;F$0s0xau*=>@dHF(qg=c(w$MhG(27gbHYZkCXt}4UYCaV^Kue4UWP@RDxz2^AQp> z6MTdOw?k3H81~KwJrqSuV0?^9(5&z*2~sGRXEeO$cYggy8geF>AzxL1<>nQtv7>oQ zESkON(fQ36B(g`XlJ^yvj%53m*ov_)N)9By?^W5%B50STGfD`#E}un$_0hzBG6QJX pJs(XWWlZ&K&O-?E;pC3H#~=QPTH?*`97zBG002ovPDHLkV1g8(^Kt+H diff --git a/3rdparty/dark_style_sheet/qdarkstyle/rc/undock-hover.png b/3rdparty/dark_style_sheet/qdarkstyle/rc/undock-hover.png new file mode 100644 index 0000000000000000000000000000000000000000..1dfd69895d1b7039b50a2a9ebc2992a37fd92679 GIT binary patch literal 741 zcmVEX>4Tx04R}tkv&MmKpe$i(-uW54t7v+$WWauh>AE$6^me@v=v%)FuC*#nlvOS zE{=k0!NHHks)LKOt`4q(Aou~|;_9U6A|?JWDYS_3;J6>}?mh0_0Yam~R5LIEsG4P@ z;xRFsTNS%r5yTLB5kf#>rk+SIX5cx#?&0I>U6f~epZjz4DS49tK9P8i>4rtTK|Hf* z>74h8!>lAJ#OK8023?T&k?XR{Z=8z`3p_JyWK#3QVPdh^!Ey()lA#h$6Gs$PqkJLj zvch?bvs$UK);;+PLwRi_&2^e1h+_!}Bq2gZ4P{hdAxf)8iis5M$2|PQjz38*nOtQs zax9<<6_Voz|AXJ%nuV!JHz^bYf-koHF$#3;0?oQ@e;?a+^91le16NwxUu^)hpQP8@ zTI2}m-v%zO+nT%wT zj1?(+-Q(TeoxS~grq$mM7JzbspmpGj00006VoOIv0RI600RN!9r;`8x010qNS#tmY z3ljhU3ljkVnw%H_000McNliru;{_QM76w-#Pp1F?02y>eSad^gZEa<4bO1wgWnpw> zWFU8GbZ8()Nlj2!fese{006y7L_t(I%cYaC4TCTcMPC>rdr-#%(32t3xkA*)RXPt5 zdIo^ndt{BIIiibW1A#A{WZ8G$=YQXD5U12;HEX>4Tx04R}tkv&MmKpe$i(-uW54t7v+$WWauh>AE$6^me@v=v%)FuC*#nlvOS zE{=k0!NHHks)LKOt`4q(Aou~|;_9U6A|?JWDYS_3;J6>}?mh0_0Yam~R5LIEsG4P@ z;xRFsTNS%r5yTLB5kf#>rk+SIX5cx#?&0I>U6f~epZjz4DS49tK9P8i>4rtTK|Hf* z>74h8!>lAJ#OK8023?T&k?XR{Z=8z`3p_JyWK#3QVPdh^!Ey()lA#h$6Gs$PqkJLj zvch?bvs$UK);;+PLwRi_&2^e1h+_!}Bq2gZ4P{hdAxf)8iis5M$2|PQjz38*nOtQs zax9<<6_Voz|AXJ%nuV!JHz^bYf-koHF$#3;0?oQ@e;?a+^91le16NwxUu^)hpQP8@ zTI2}m-v%zO+nT%wT zj1?(+-Q(TeoxS~grq$mM7JzbspmpGj00006VoOIv0RI600RN!9r;`8x010qNS#tmY z3ljhU3ljkVnw%H_000McNliru;{_QM6%!HB_>TYp02y>eSad^gZEa<4bO1wgWnpw> zWFU8GbZ8()Nlj2!fese{007WQL_t(I%cYYs5`r)gMW0xB2fYL|w&oVlF<5&63TrAm zdL|v*0xDX#gcsld+5}xQ1`+_GAOw_2)j(Bf-Apz};&>0F zz{PQ44rGPa_c5`x4&Q+D#KcG75cq!E_5A?giOm#sJrc!;$sv~I=; zLPxO-8=<727QCRcHCO~syz{@PWrNCLG8s0iR|Dg)d_q85$b59A)F1=O8Kak`_S1=7 q-w%QBx4_Og&SmARwDRiDv>H!c&_IbJTWWUz0000WFU8GbZ8()Nlj2>E@cM*00E{+L_t(|+U=X$4#OY} zLz`&--S*43w`rPoNlWaQLS8pfd~hg*uq-oX%osV0`LJ!+SPR{}9r(JUC& zi*OVO>rs3r1nW_FCJ5_Yd@BU&U3e=9yOQ`b5bSE=k3zUrc5+?UXD9c4F9B>-qyH)% z1tH=BQxRVU!7FWl=67leWRLz4ahXo| zoe{&T7oZ-FMxDSsBBvjZ{}acq6e%f?_~rzJ_LzyflS`(bcuN3?R&llQTw-2U8((=NC3B QV*mgE07*qoM6N<$f{lRZzyJUM diff --git a/3rdparty/dark_style_sheet/qdarkstyle/style.qrc b/3rdparty/dark_style_sheet/qdarkstyle/style.qrc index 6294039..6520860 100644 --- a/3rdparty/dark_style_sheet/qdarkstyle/style.qrc +++ b/3rdparty/dark_style_sheet/qdarkstyle/style.qrc @@ -1,5 +1,5 @@ - + rc/up_arrow_disabled.png rc/Hmovetoolbar.png rc/stylesheet-branch-end.png @@ -40,6 +40,7 @@ rc/radio_unchecked_focus.png rc/radio_unchecked.png rc/extend.png + rc/undock-hover.png style.qss diff --git a/3rdparty/dark_style_sheet/qdarkstyle/style.qss b/3rdparty/dark_style_sheet/qdarkstyle/style.qss index acc358b..1c2fa3a 100644 --- a/3rdparty/dark_style_sheet/qdarkstyle/style.qss +++ b/3rdparty/dark_style_sheet/qdarkstyle/style.qss @@ -80,7 +80,7 @@ QCheckBox::indicator{ QCheckBox::indicator:unchecked { - image: url(:/qss_icons/rc/checkbox_unchecked.png); + image: url(:/qss_qdark_icons/rc/checkbox_unchecked.png); } QCheckBox::indicator:unchecked:hover, @@ -91,12 +91,12 @@ QGroupBox::indicator:unchecked:focus, QGroupBox::indicator:unchecked:pressed { border: none; - image: url(:/qss_icons/rc/checkbox_unchecked_focus.png); + image: url(:/qss_qdark_icons/rc/checkbox_unchecked_focus.png); } QCheckBox::indicator:checked { - image: url(:/qss_icons/rc/checkbox_checked.png); + image: url(:/qss_qdark_icons/rc/checkbox_checked.png); } QCheckBox::indicator:checked:hover, @@ -107,32 +107,32 @@ QGroupBox::indicator:checked:focus, QGroupBox::indicator:checked:pressed { border: none; - image: url(:/qss_icons/rc/checkbox_checked_focus.png); + image: url(:/qss_qdark_icons/rc/checkbox_checked_focus.png); } QCheckBox::indicator:indeterminate { - image: url(:/qss_icons/rc/checkbox_indeterminate.png); + image: url(:/qss_qdark_icons/rc/checkbox_indeterminate.png); } QCheckBox::indicator:indeterminate:focus, QCheckBox::indicator:indeterminate:hover, QCheckBox::indicator:indeterminate:pressed { - image: url(:/qss_icons/rc/checkbox_indeterminate_focus.png); + image: url(:/qss_qdark_icons/rc/checkbox_indeterminate_focus.png); } QCheckBox::indicator:checked:disabled, QGroupBox::indicator:checked:disabled { - image: url(:/qss_icons/rc/checkbox_checked_disabled.png); + image: url(:/qss_qdark_icons/rc/checkbox_checked_disabled.png); } QCheckBox::indicator:unchecked:disabled, QGroupBox::indicator:unchecked:disabled { - image: url(:/qss_icons/rc/checkbox_unchecked_disabled.png); + image: url(:/qss_qdark_icons/rc/checkbox_unchecked_disabled.png); } QGroupBox::indicator @@ -166,7 +166,7 @@ QRadioButton::indicator QRadioButton::indicator:unchecked { - image: url(:/qss_icons/rc/radio_unchecked.png); + image: url(:/qss_qdark_icons/rc/radio_unchecked.png); } QRadioButton::indicator:unchecked:hover, @@ -175,14 +175,14 @@ QRadioButton::indicator:unchecked:pressed { border: none; outline: none; - image: url(:/qss_icons/rc/radio_unchecked_focus.png); + image: url(:/qss_qdark_icons/rc/radio_unchecked_focus.png); } QRadioButton::indicator:checked { border: none; outline: none; - image: url(:/qss_icons/rc/radio_checked.png); + image: url(:/qss_qdark_icons/rc/radio_checked.png); } QRadioButton::indicator:checked:hover, @@ -191,18 +191,18 @@ QRadioButton::indicator:checked:pressed { border: none; outline: none; - image: url(:/qss_icons/rc/radio_checked_focus.png); + image: url(:/qss_qdark_icons/rc/radio_checked_focus.png); } QRadioButton::indicator:checked:disabled { outline: none; - image: url(:/qss_icons/rc/radio_checked_disabled.png); + image: url(:/qss_qdark_icons/rc/radio_checked_disabled.png); } QRadioButton::indicator:unchecked:disabled { - image: url(:/qss_icons/rc/radio_unchecked_disabled.png); + image: url(:/qss_qdark_icons/rc/radio_unchecked_disabled.png); } QMenuBar @@ -273,41 +273,41 @@ QMenu::indicator { /* non-exclusive indicator = check box style indicator (see QActionGroup::setExclusive) */ QMenu::indicator:non-exclusive:unchecked { - image: url(:/qss_icons/rc/checkbox_unchecked.png); + image: url(:/qss_qdark_icons/rc/checkbox_unchecked.png); } QMenu::indicator:non-exclusive:unchecked:selected { - image: url(:/qss_icons/rc/checkbox_unchecked_disabled.png); + image: url(:/qss_qdark_icons/rc/checkbox_unchecked_disabled.png); } QMenu::indicator:non-exclusive:checked { - image: url(:/qss_icons/rc/checkbox_checked.png); + image: url(:/qss_qdark_icons/rc/checkbox_checked.png); } QMenu::indicator:non-exclusive:checked:selected { - image: url(:/qss_icons/rc/checkbox_checked_disabled.png); + image: url(:/qss_qdark_icons/rc/checkbox_checked_disabled.png); } /* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */ QMenu::indicator:exclusive:unchecked { - image: url(:/qss_icons/rc/radio_unchecked.png); + image: url(:/qss_qdark_icons/rc/radio_unchecked.png); } QMenu::indicator:exclusive:unchecked:selected { - image: url(:/qss_icons/rc/radio_unchecked_disabled.png); + image: url(:/qss_qdark_icons/rc/radio_unchecked_disabled.png); } QMenu::indicator:exclusive:checked { - image: url(:/qss_icons/rc/radio_checked.png); + image: url(:/qss_qdark_icons/rc/radio_checked.png); } QMenu::indicator:exclusive:checked:selected { - image: url(:/qss_icons/rc/radio_checked_disabled.png); + image: url(:/qss_qdark_icons/rc/radio_checked_disabled.png); } QMenu::right-arrow { margin: 5px; - image: url(:/qss_icons/rc/right_arrow.png) + image: url(:/qss_qdark_icons/rc/right_arrow.png) } @@ -397,7 +397,7 @@ QScrollBar::handle:horizontal QScrollBar::add-line:horizontal { margin: 0px 3px 0px 3px; - border-image: url(:/qss_icons/rc/right_arrow_disabled.png); + border-image: url(:/qss_qdark_icons/rc/right_arrow_disabled.png); width: 10px; height: 10px; subcontrol-position: right; @@ -407,7 +407,7 @@ QScrollBar::add-line:horizontal QScrollBar::sub-line:horizontal { margin: 0px 3px 0px 3px; - border-image: url(:/qss_icons/rc/left_arrow_disabled.png); + border-image: url(:/qss_qdark_icons/rc/left_arrow_disabled.png); height: 10px; width: 10px; subcontrol-position: left; @@ -416,7 +416,7 @@ QScrollBar::sub-line:horizontal QScrollBar::add-line:horizontal:hover,QScrollBar::add-line:horizontal:on { - border-image: url(:/qss_icons/rc/right_arrow.png); + border-image: url(:/qss_qdark_icons/rc/right_arrow.png); height: 10px; width: 10px; subcontrol-position: right; @@ -426,7 +426,7 @@ QScrollBar::add-line:horizontal:hover,QScrollBar::add-line:horizontal:on QScrollBar::sub-line:horizontal:hover, QScrollBar::sub-line:horizontal:on { - border-image: url(:/qss_icons/rc/left_arrow.png); + border-image: url(:/qss_qdark_icons/rc/left_arrow.png); height: 10px; width: 10px; subcontrol-position: left; @@ -463,7 +463,7 @@ QScrollBar::handle:vertical QScrollBar::sub-line:vertical { margin: 3px 0px 3px 0px; - border-image: url(:/qss_icons/rc/up_arrow_disabled.png); + border-image: url(:/qss_qdark_icons/rc/up_arrow_disabled.png); height: 10px; width: 10px; subcontrol-position: top; @@ -473,7 +473,7 @@ QScrollBar::sub-line:vertical QScrollBar::add-line:vertical { margin: 3px 0px 3px 0px; - border-image: url(:/qss_icons/rc/down_arrow_disabled.png); + border-image: url(:/qss_qdark_icons/rc/down_arrow_disabled.png); height: 10px; width: 10px; subcontrol-position: bottom; @@ -483,7 +483,7 @@ QScrollBar::add-line:vertical QScrollBar::sub-line:vertical:hover,QScrollBar::sub-line:vertical:on { - border-image: url(:/qss_icons/rc/up_arrow.png); + border-image: url(:/qss_qdark_icons/rc/up_arrow.png); height: 10px; width: 10px; subcontrol-position: top; @@ -493,7 +493,7 @@ QScrollBar::sub-line:vertical:hover,QScrollBar::sub-line:vertical:on QScrollBar::add-line:vertical:hover, QScrollBar::add-line:vertical:on { - border-image: url(:/qss_icons/rc/down_arrow.png); + border-image: url(:/qss_qdark_icons/rc/down_arrow.png); height: 10px; width: 10px; subcontrol-position: bottom; @@ -534,7 +534,7 @@ QHeaderView::section } QSizeGrip { - image: url(:/qss_icons/rc/sizegrip.png); + image: url(:/qss_qdark_icons/rc/sizegrip.png); width: 12px; height: 12px; } @@ -598,17 +598,33 @@ QToolBar { border-bottom: 1px solid #2b2b2b; } +QToolBar:top{ + border-bottom: 1px solid #2b2b2b; +} + +QToolBar:left{ + border-right: 1px solid #2b2b2b; +} + +QToolBar:right{ + border-left: 1px solid #2b2b2b; +} + +QToolBar:bottom{ + border-top: 1px solid #2b2b2b; +} + QToolBar::handle:horizontal { - image: url(:/qss_icons/rc/Hmovetoolbar.png); + image: url(:/qss_qdark_icons/rc/Hmovetoolbar.png); } QToolBar::handle:vertical { - image: url(:/qss_icons/rc/Vmovetoolbar.png); + image: url(:/qss_qdark_icons/rc/Vmovetoolbar.png); } QToolBar::separator:horizontal { - image: url(:/qss_icons/rc/Hsepartoolbar.png); + image: url(:/qss_qdark_icons/rc/Hsepartoolbar.png); } QToolBar::separator:vertical { - image: url(:/qss_icons/rc/Vsepartoolbar.png); + image: url(:/qss_qdark_icons/rc/Vsepartoolbar.png); } QToolButton#qt_toolbar_ext_button { @@ -616,7 +632,7 @@ QToolButton#qt_toolbar_ext_button { min-width: 8px; width: 8px; padding: 1px; - qproperty-icon: url(:/qss_icons/rc/extend.png); + qproperty-icon: url(:/qss_qdark_icons/rc/extend.png); } QPushButton @@ -714,13 +730,13 @@ QComboBox::drop-down QComboBox::down-arrow { - image: url(:/qss_icons/rc/down_arrow_disabled.png); + image: url(:/qss_qdark_icons/rc/down_arrow_disabled.png); } QComboBox::down-arrow:on, QComboBox::down-arrow:hover, QComboBox::down-arrow:focus { - image: url(:/qss_icons/rc/down_arrow.png); + image: url(:/qss_qdark_icons/rc/down_arrow.png); } QAbstractSpinBox { @@ -750,25 +766,25 @@ QAbstractSpinBox:down-button } QAbstractSpinBox::up-arrow,QAbstractSpinBox::up-arrow:disabled,QAbstractSpinBox::up-arrow:off { - image: url(:/qss_icons/rc/up_arrow_disabled.png); + image: url(:/qss_qdark_icons/rc/up_arrow_disabled.png); width: 10px; height: 10px; } QAbstractSpinBox::up-arrow:hover { - image: url(:/qss_icons/rc/up_arrow.png); + image: url(:/qss_qdark_icons/rc/up_arrow.png); } QAbstractSpinBox::down-arrow,QAbstractSpinBox::down-arrow:disabled,QAbstractSpinBox::down-arrow:off { - image: url(:/qss_icons/rc/down_arrow_disabled.png); + image: url(:/qss_qdark_icons/rc/down_arrow_disabled.png); width: 10px; height: 10px; } QAbstractSpinBox::down-arrow:hover { - image: url(:/qss_icons/rc/down_arrow.png); + image: url(:/qss_qdark_icons/rc/down_arrow.png); } @@ -807,18 +823,18 @@ QTabBar:focus } QTabBar::close-button { - image: url(:/qss_icons/rc/close.png); + image: url(:/qss_qdark_icons/rc/close.png); background: transparent; } QTabBar::close-button:hover { - image: url(:/qss_icons/rc/close-hover.png); + image: url(:/qss_qdark_icons/rc/close-hover.png); background: transparent; } QTabBar::close-button:pressed { - image: url(:/qss_icons/rc/close-pressed.png); + image: url(:/qss_qdark_icons/rc/close-pressed.png); background: transparent; } @@ -844,6 +860,16 @@ QTabBar::tab:top:!selected:hover { background-color: #2e2e2e; } +QTabBar::tab:top:!selected:hover { + background-color: #505050; +} + +QTabBar::tab::top:selected +{ + border-top: 2px solid #8fa876; + background-color: #2b2b2b; +} + /* BOTTOM TABS */ QTabBar::tab:bottom { color: #eff0f1; @@ -863,7 +889,13 @@ QTabBar::tab:bottom:!selected } QTabBar::tab:bottom:!selected:hover { - background-color: #2e2e2e; + background-color: #819a67; +} + +QTabBar::tab::bottom:selected +{ + border-bottom: 2px solid #8fa876; + background-color: #2b2b2b; } /* LEFT TABS */ @@ -887,6 +919,16 @@ QTabBar::tab:left:!selected:hover { background-color: #2e2e2e; } +QTabBar::tab:left:!selected:hover { + background-color: #505050; +} + +QTabBar::tab::left:selected +{ + border-left: 2px solid #8fa876; + background-color: #2b2b2b; +} + /* RIGHT TABS */ QTabBar::tab:right { color: #eff0f1; @@ -908,33 +950,44 @@ QTabBar::tab:right:!selected:hover { background-color: #2e2e2e; } +QTabBar::tab:right:!selected:hover { + background-color: #505050; +} + +QTabBar::tab::right:selected +{ + border-bottom: 2px solid #8fa876; + background-color: #2b2b2b; +} + QTabBar QToolButton::right-arrow:enabled { - image: url(:/qss_icons/rc/right_arrow.png); + image: url(:/qss_qdark_icons/rc/right_arrow.png); } QTabBar QToolButton::left-arrow:enabled { - image: url(:/qss_icons/rc/left_arrow.png); + image: url(:/qss_qdark_icons/rc/left_arrow.png); } QTabBar QToolButton::right-arrow:disabled { - image: url(:/qss_icons/rc/right_arrow_disabled.png); + image: url(:/qss_qdark_icons/rc/right_arrow_disabled.png); } QTabBar QToolButton::left-arrow:disabled { - image: url(:/qss_icons/rc/left_arrow_disabled.png); + image: url(:/qss_qdark_icons/rc/left_arrow_disabled.png); } QDockWidget { background: #383838; border: 1px solid #403F3F; - titlebar-close-icon: url(:/qss_icons/rc/close.png); - titlebar-normal-icon: url(:/qss_icons/rc/undock.png); + titlebar-close-icon: url(:/qss_qdark_icons/rc/transparent.png); + titlebar-normal-icon: url(:/qss_qdark_icons/rc/transparent.png); } QDockWidget::title{ background: #383838; padding-left: 5px; + padding-top: 4px; margin-top: 4px; } @@ -946,7 +999,7 @@ QDockWidget::close-button, QDockWidget::float-button { } QDockWidget::close-button:hover, QDockWidget::float-button:hover { - background: rgba(255, 255, 255, 10); +\\ background: rgba(255, 255, 255, 10); } QDockWidget::close-button:pressed, QDockWidget::float-button:pressed { @@ -954,8 +1007,24 @@ QDockWidget::close-button:pressed, QDockWidget::float-button:pressed { background: rgba(255, 255, 255, 10); } +QDockWidget::close-button { + image: url(:/qss_qdark_icons/rc/close.png); +} + +QDockWidget::close-button:hover { + image: url(:/qss_qdark_icons/rc/close-hover.png); +} + +QDockWidget::float-button { + image: url(:/qss_qdark_icons/rc/undock.png); +} + +QDockWidget::float-button:hover { + image: url(:/qss_qdark_icons/rc/undock-hover.png); +} + QLabel#limeReportLabel{ - color: #7faa18; + color: #8fa876; } QTreeView, QListView @@ -981,35 +1050,35 @@ QTreeView::branch:!selected:hover, QTreeView::item:!selected:hover{ } QTreeView::branch:has-siblings:!adjoins-item { - border-image: url(:/qss_icons/rc/transparent.png); + border-image: url(:/qss_qdark_icons/rc/transparent.png); } QTreeView::branch:has-siblings:adjoins-item { - border-image: url(:/qss_icons/rc/transparent.png); + border-image: url(:/qss_qdark_icons/rc/transparent.png); } QTreeView::branch:!has-children:!has-siblings:adjoins-item { - border-image: url(:/qss_icons/rc/transparent.png); + border-image: url(:/qss_qdark_icons/rc/transparent.png); } QTreeView::branch:has-children:!has-siblings:closed, QTreeView::branch:closed:has-children:has-siblings { - image: url(:/qss_icons/rc/branch_closed.png); + image: url(:/qss_qdark_icons/rc/branch_closed.png); } QTreeView::branch:open:has-children:!has-siblings, QTreeView::branch:open:has-children:has-siblings { - image: url(:/qss_icons/rc/branch_open.png); + image: url(:/qss_qdark_icons/rc/branch_open.png); } QTreeView::branch:has-children:!has-siblings:closed:hover, QTreeView::branch:closed:has-children:has-siblings:hover { - image: url(:/qss_icons/rc/branch_closed-on.png); + image: url(:/qss_qdark_icons/rc/branch_closed-on.png); } QTreeView::branch:open:has-children:!has-siblings:hover, QTreeView::branch:open:has-children:has-siblings:hover { - image: url(:/qss_icons/rc/branch_open-on.png); + image: url(:/qss_qdark_icons/rc/branch_open-on.png); } QSlider::groove:horizontal { @@ -1055,13 +1124,13 @@ QToolButton { QToolButton:hover, QToolButton::menu-button:hover { background-color: #2b2b2b; - border: 1px solid #7faa18; + border: 1px solid #8fa876; } QToolButton:checked, QToolButton:pressed, QToolButton::menu-button:pressed { background-color: #2e2e2e; - border: 1px solid #7faa18; + border: 1px solid #8fa876; } QToolButton:text{ @@ -1087,7 +1156,7 @@ QToolButton:disabled{ \\ \\/* the subcontrol below is used only in the InstantPopup or DelayedPopup mode */ \\QToolButton::menu-indicator { -\\ image: url(:/qss_icons/rc/down_arrow.png); +\\ image: url(:/qss_qdark_icons/rc/down_arrow.png); \\ top: -7px; left: -2px; /* shift it a bit */ \\} \\ @@ -1102,7 +1171,7 @@ QToolButton:disabled{ \\} \\ \\QToolButton::menu-arrow { -\\ image: url(:/qss_icons/rc/down_arrow.png); +\\ image: url(:/qss_qdark_icons/rc/down_arrow.png); \\} \\ \\QToolButton::menu-arrow:open { @@ -1190,11 +1259,11 @@ QHeaderView::section:checked /* style the sort indicator */ QHeaderView::down-arrow { - image: url(:/qss_icons/rc/down_arrow.png); + image: url(:/qss_qdark_icons/rc/down_arrow.png); } QHeaderView::up-arrow { - image: url(:/qss_icons/rc/up_arrow.png); + image: url(:/qss_qdark_icons/rc/up_arrow.png); } @@ -1214,7 +1283,7 @@ QToolBox::tab { font-weight: bold; background-color: #383838; \\ background-color: #2b2b2b; - border: 1px solid #d0d0d0; + border: 2px solid #d0d0d0; border-top: 1px transparent #383838; border-left: 1px transparent #383838; border-right: 1px transparent #383838; @@ -1225,7 +1294,7 @@ QToolBox::tab { QToolBox::tab:hover{ background-color: #2b2b2b; - border-color: #7faa18; + border-color: #8fa876; } QToolBox::tab:selected { /* italicize selected tabs */ @@ -1233,7 +1302,7 @@ QToolBox::tab:selected { /* italicize selected tabs */ font-weight: bold; \\ background-color: #383838; background-color: #2b2b2b; - border-color: #7faa18; + border-color: #8fa876; } QStatusBar::item { @@ -1312,11 +1381,11 @@ QDateEdit::drop-down QDateEdit::down-arrow { - image: url(:/qss_icons/rc/down_arrow_disabled.png); + image: url(:/qss_qdark_icons/rc/down_arrow_disabled.png); } QDateEdit::down-arrow:on, QDateEdit::down-arrow:hover, QDateEdit::down-arrow:focus { - image: url(:/qss_icons/rc/down_arrow.png); + image: url(:/qss_qdark_icons/rc/down_arrow.png); } diff --git a/3rdparty/light_style_sheet/COPYING b/3rdparty/light_style_sheet/COPYING new file mode 100644 index 0000000..49f878c --- /dev/null +++ b/3rdparty/light_style_sheet/COPYING @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) <2013-2017> + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/3rdparty/light_style_sheet/qlightstyle/lightstyle.qrc b/3rdparty/light_style_sheet/qlightstyle/lightstyle.qrc new file mode 100644 index 0000000..dcc7c27 --- /dev/null +++ b/3rdparty/light_style_sheet/qlightstyle/lightstyle.qrc @@ -0,0 +1,48 @@ + + + rc/up_arrow_disabled.png + rc/Hmovetoolbar.png + rc/stylesheet-branch-end.png + rc/branch_closed-on.png + rc/stylesheet-vline.png + rc/branch_closed.png + rc/branch_open-on.png + rc/transparent.png + rc/right_arrow_disabled.png + rc/sizegrip.png + rc/close.png + rc/close-hover.png + rc/close-pressed.png + rc/down_arrow.png + rc/Vmovetoolbar.png + rc/left_arrow.png + rc/stylesheet-branch-more.png + rc/up_arrow.png + rc/right_arrow.png + rc/left_arrow_disabled.png + rc/Hsepartoolbar.png + rc/branch_open.png + rc/Vsepartoolbar.png + rc/down_arrow_disabled.png + rc/undock.png + rc/undock-hover.png + rc/checkbox_checked_disabled.png + rc/checkbox_checked_focus.png + rc/checkbox_checked.png + rc/checkbox_indeterminate.png + rc/checkbox_indeterminate_focus.png + rc/checkbox_unchecked_disabled.png + rc/checkbox_unchecked_focus.png + rc/checkbox_unchecked.png + rc/radio_checked_disabled.png + rc/radio_checked_focus.png + rc/radio_checked.png + rc/radio_unchecked_disabled.png + rc/radio_unchecked_focus.png + rc/radio_unchecked.png + rc/extend.png + + + lightstyle.qss + + diff --git a/3rdparty/light_style_sheet/qlightstyle/lightstyle.qss b/3rdparty/light_style_sheet/qlightstyle/lightstyle.qss new file mode 100644 index 0000000..61af1cb --- /dev/null +++ b/3rdparty/light_style_sheet/qlightstyle/lightstyle.qss @@ -0,0 +1,1425 @@ +/* + * The MIT License (MIT) + * + * Copyright (c) <2013-2014> + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ +QToolTip +{ + border: 1px solid #b6b6b6; + background-color: #f0f0f0; + color: #000; +\\ padding: 5px; + +} + +QWidget +{ + color: #000; + background-color: #f0f0f0; + selection-background-color:#000; + selection-color: #000; + background-clip: border; + border-image: none; + border: 0px transparent black; + outline: 0; +} + +QWidget:item:hover +{ + background-color: #b5da91; + color: #000; +} + +QWidget:item:selected +{ + background-color: #b5da91; +} + +QCheckBox +{ + spacing: 5px; + outline: none; + color: #000; + margin-right: 2px; + +} + +QCheckBox::item{ + background-color: #ffffff; +} + +QCheckBox:disabled +{ + color: #494949; +} + +QCheckBox::indicator{ + width: 16px; + height: 16px; + color: #222222; +} + + +QCheckBox::indicator:unchecked +{ + image: url(:/qss_qlight_icons/rc/checkbox_unchecked.png); +} + +QCheckBox::indicator:unchecked:hover, +QCheckBox::indicator:unchecked:focus, +QCheckBox::indicator:unchecked:pressed, +QGroupBox::indicator:unchecked:hover, +QGroupBox::indicator:unchecked:focus, +QGroupBox::indicator:unchecked:pressed +{ + border: none; + image: url(:/qss_qlight_icons/rc/checkbox_unchecked_focus.png); +} + +QCheckBox::indicator:checked +{ + image: url(:/qss_qlight_icons/rc/checkbox_checked.png); +} + +QCheckBox::indicator:checked:hover, +QCheckBox::indicator:checked:focus, +QCheckBox::indicator:checked:pressed, +QGroupBox::indicator:checked:hover, +QGroupBox::indicator:checked:focus, +QGroupBox::indicator:checked:pressed +{ + border: none; + image: url(:/qss_qlight_icons/rc/checkbox_checked_focus.png); +} + + +QCheckBox::indicator:indeterminate +{ + image: url(:/qss_qlight_icons/rc/checkbox_indeterminate.png); +} + +QCheckBox::indicator:indeterminate:focus, +QCheckBox::indicator:indeterminate:hover, +QCheckBox::indicator:indeterminate:pressed +{ + image: url(:/qss_qlight_icons/rc/checkbox_indeterminate_focus.png); +} + +QCheckBox::indicator:checked:disabled, +QGroupBox::indicator:checked:disabled +{ + image: url(:/qss_qlight_icons/rc/checkbox_checked_disabled.png); +} + +QCheckBox::indicator:unchecked:disabled, +QGroupBox::indicator:unchecked:disabled +{ + image: url(:/qss_qlight_icons/rc/checkbox_unchecked_disabled.png); +} + +QGroupBox::indicator +{ + width: 18px; + height: 18px; +} +QGroupBox::indicator +{ + margin-left: 2px; +} + +QRadioButton +{ + spacing: 5px; + outline: none; + color: #000; + margin-bottom: 2px; +} + +QRadioButton:disabled +{ + color: #b6b6b6; +} + +QRadioButton::indicator +{ + width: 16px; + height: 16px; +} + +QRadioButton::indicator:unchecked +{ + image: url(:/qss_qlight_icons/rc/radio_unchecked.png); +} + +QRadioButton::indicator:unchecked:hover, +QRadioButton::indicator:unchecked:focus, +QRadioButton::indicator:unchecked:pressed +{ + border: none; + outline: none; + image: url(:/qss_qlight_icons/rc/radio_unchecked_focus.png); +} + +QRadioButton::indicator:checked +{ + border: none; + outline: none; + image: url(:/qss_qlight_icons/rc/radio_checked.png); +} + +QRadioButton::indicator:checked:hover, +QRadioButton::indicator:checked:focus, +QRadioButton::indicator:checked:pressed +{ + border: none; + outline: none; + image: url(:/qss_qlight_icons/rc/radio_checked_focus.png); +} + +QRadioButton::indicator:checked:disabled +{ + outline: none; + image: url(:/qss_qlight_icons/rc/radio_checked_disabled.png); +} + +QRadioButton::indicator:unchecked:disabled +{ + image: url(:/qss_qlight_icons/rc/radio_unchecked_disabled.png); +} + +QMenuBar +{ + background-color: #f9f9f9; + color: #000; + border-bottom: 1px solid #b6b6b6; +} + +QMenuBar::item +{ + background: transparent; +} + +QMenuBar::item:selected +{ + background: transparent; + background-color: #75bf3f; + border: 1px solid #b6b6b6; +} + +QMenuBar::item:pressed +{ + border: 1px solid #b6b6b6; +\\ background-color: #f9f9f9; + background-color: #75bf3f; + color: #000; + margin-bottom:-1px; + padding-bottom:1px; +} + +QMenu +{ + border: 1px solid #b6b6b6; + color: #000; +\\ margin: 2px; +} + +QMenu::icon +{ + margin: 5px; +} + +QMenu::item +{ + padding: 5px 30px 5px 30px; + border: 1px solid transparent; /* reserve space for selection border */ +} + +QMenu::item:selected +{ + color: #000; +} + +QMenu::separator { + height: 2px; + background: lightblue; + margin-left: 10px; + margin-right: 5px; +} + +QMenu::indicator { + width: 18px; + height: 18px; + padding-left: 4px; +} + +/* non-exclusive indicator = check box style indicator + (see QActionGroup::setExclusive) */ +QMenu::indicator:non-exclusive:unchecked { + image: url(:/qss_qlight_icons/rc/checkbox_unchecked.png); +} + +QMenu::indicator:non-exclusive:unchecked:selected { + image: url(:/qss_qlight_icons/rc/checkbox_unchecked_disabled.png); +} + +QMenu::indicator:non-exclusive:checked { + image: url(:/qss_qlight_icons/rc/checkbox_checked.png); +} + +QMenu::indicator:non-exclusive:checked:selected { + image: url(:/qss_qlight_icons/rc/checkbox_checked_disabled.png); +} + +/* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */ +QMenu::indicator:exclusive:unchecked { + image: url(:/qss_qlight_icons/rc/radio_unchecked.png); +} + +QMenu::indicator:exclusive:unchecked:selected { + image: url(:/qss_qlight_icons/rc/radio_unchecked_disabled.png); +} + +QMenu::indicator:exclusive:checked { + image: url(:/qss_qlight_icons/rc/radio_checked.png); +} + +QMenu::indicator:exclusive:checked:selected { + image: url(:/qss_qlight_icons/rc/radio_checked_disabled.png); +} + +QMenu::right-arrow { + margin: 5px; + image: url(:/qss_qlight_icons/rc/right_arrow.png) +} + + +QWidget:disabled +{ + color: #7a7a7a; + background-color: #ffffff; +} + +QAbstractItemView +{ + alternate-background-color: #f0f0f0; + color: #000; + border: 1px solid 3A3939; +\\ border-radius: 2px; +} + +QWidget:focus, QMenuBar:focus +{ + border: 1px solid #4b6807; +} + +QTabWidget:focus, QCheckBox:focus, QRadioButton:focus, QSlider:focus +{ + border: none; +} + +QLineEdit +{ + background-color: #ffffff; + padding-right: 5px; + padding-left: 5px; + padding-top: 1px; + padding-bottom: 1px; + margin: 1px; + border-style: solid; + border: 1px solid #b6b6b6; +\\ border-radius: 2px; + color: #000; +} + +QLineEdit:disabled{ + color: #858585; +} + +QAbstractItemView QLineEdit +{ + padding: 0; +} + +QGroupBox { + margin-top: 1.5em; +} + +QGroupBox::title { + subcontrol-origin: margin; + subcontrol-position: top left; + padding-left: 0px; + padding-right: 0px; + margin-top: 2px; + margin-bottom: 2px; +} + +QAbstractScrollArea +{ +\\ border-radius: 2px; + border: 1px solid #b6b6b6; + background-color: transparent; +} + +QScrollBar:horizontal +{ + height: 15px; + margin: 3px 15px 3px 15px; + border: 1px transparent #efefef; + border-radius: 4px; + background-color: #efefef; +} + +QScrollBar::handle:horizontal +{ + background-color: #8f8f8f; + min-width: 5px; + border-radius: 4px; +} + +QScrollBar::add-line:horizontal +{ + margin: 0px 3px 0px 3px; + border-image: url(:/qss_qlight_icons/rc/right_arrow_disabled.png); + width: 10px; + height: 10px; + subcontrol-position: right; + subcontrol-origin: margin; +} + +QScrollBar::sub-line:horizontal +{ + margin: 0px 3px 0px 3px; + border-image: url(:/qss_qlight_icons/rc/left_arrow_disabled.png); + height: 10px; + width: 10px; + subcontrol-position: left; + subcontrol-origin: margin; +} + +QScrollBar::add-line:horizontal:hover,QScrollBar::add-line:horizontal:on +{ + border-image: url(:/qss_qlight_icons/rc/right_arrow.png); + height: 10px; + width: 10px; + subcontrol-position: right; + subcontrol-origin: margin; +} + + +QScrollBar::sub-line:horizontal:hover, QScrollBar::sub-line:horizontal:on +{ + border-image: url(:/qss_qlight_icons/rc/left_arrow.png); + height: 10px; + width: 10px; + subcontrol-position: left; + subcontrol-origin: margin; +} + +QScrollBar::up-arrow:horizontal, QScrollBar::down-arrow:horizontal +{ + background: none; +} + + +QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal +{ + background: none; +} + +QScrollBar:vertical +{ + background-color: #efefef; + width: 15px; + margin: 15px 3px 15px 3px; + border: 1px transparent #efefef; + border-radius: 4px; +} + +QScrollBar::handle:vertical +{ + background-color: #8f8f8f; + min-height: 5px; + border-radius: 4px; +} + +QScrollBar::sub-line:vertical +{ + margin: 3px 0px 3px 0px; + border-image: url(:/qss_qlight_icons/rc/up_arrow_disabled.png); + height: 10px; + width: 10px; + subcontrol-position: top; + subcontrol-origin: margin; +} + +QScrollBar::add-line:vertical +{ + margin: 3px 0px 3px 0px; + border-image: url(:/qss_qlight_icons/rc/down_arrow_disabled.png); + height: 10px; + width: 10px; + subcontrol-position: bottom; + subcontrol-origin: margin; +} + +QScrollBar::sub-line:vertical:hover,QScrollBar::sub-line:vertical:on +{ + + border-image: url(:/qss_qlight_icons/rc/up_arrow.png); + height: 10px; + width: 10px; + subcontrol-position: top; + subcontrol-origin: margin; +} + + +QScrollBar::add-line:vertical:hover, QScrollBar::add-line:vertical:on +{ + border-image: url(:/qss_qlight_icons/rc/down_arrow.png); + height: 10px; + width: 10px; + subcontrol-position: bottom; + subcontrol-origin: margin; +} + +QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical +{ + background: none; +} + +QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical +{ + background: none; +} + +QTextEdit +{ + background-color: #ffffff; + color: #000; + border: 1px solid #b6b6b6; +} + +QPlainTextEdit +{ + background-color: #ffffff;; + color: #000; +\\ border-radius: 2px; + border: 1px solid #b6b6b6; +} + +QHeaderView::section +{ + background-color: #b6b6b6; + color: #000; + padding: 5px; + border: 1px solid #b6b6b6; +} + +QSizeGrip { + image: url(:/qss_qlight_icons/rc/sizegrip.png); + width: 12px; + height: 12px; +} + + +QMainWindow::separator +{ + background-color: #f0f0f0; + color: white; + padding-left: 4px; + spacing: 2px; + border: 1px dashed #b6b6b6; +} + +QMainWindow::separator:hover +{ + + background-color: #787876; + color: white; + padding-left: 4px; + border: 1px solid #b6b6b6; + spacing: 2px; +} + + +QMenu::separator +{ + height: 1px; + background-color: #b6b6b6; + color: white; + padding-left: 4px; + margin-left: 10px; + margin-right: 5px; +} + + +QFrame +{ + border-radius: 0px; +\\ border-top: 1px solid #494949; +\\ border-left: 1px solid #494949; + border-top: 1px solid #b6b6b6; + border-left: 1px solid #b6b6b6; + border-bottom: 1px solid #b6b6b6; + border-right: 1px solid #b6b6b6; +} + +QFrame[frameShape="0"] +{ +\\ border-radius: 2px; + border: 1px transparent #b6b6b6; +} + +QStackedWidget +{ + border: 1px transparent black; +} + +QToolBar { +\\ border: 1px solid #b6b6b6; +\\ background: #f0f0f0; + font-weight: bold; + border-bottom: 1px solid #b6b6b6; +} + +QToolBar:top{ + border-bottom: 1px solid #b6b6b6; +} + +QToolBar:left{ + border-right: 1px solid #b6b6b6; +} + +QToolBar:right{ + border-left: 1px solid #b6b6b6; +} + +QToolBar:bottom{ + border-top: 1px solid #b6b6b6; +} + +QToolBar::handle:horizontal { + image: url(:/qss_qlight_icons/rc/Hmovetoolbar.png); +} +QToolBar::handle:vertical { + image: url(:/qss_qlight_icons/rc/Vmovetoolbar.png); +} +QToolBar::separator:horizontal { + image: url(:/qss_qlight_icons/rc/Hsepartoolbar.png); +} +QToolBar::separator:vertical { + image: url(:/qss_qlight_icons/rc/Vsepartoolbar.png); +} + +QToolButton#qt_toolbar_ext_button { + background: transparent; + min-width: 8px; + width: 8px; + padding: 1px; + qproperty-icon: url(:/qss_qlight_icons/rc/extend.png); +} + +QPushButton +{ + color: #000; + background-color: #ffffff; + border-width: 1px; + border-color: #b6b6b6; + border-style: solid; + padding: 5px; +\\ border-radius: 2px; + outline: none; +} + +QPushButton:disabled +{ + background-color: #f0f0f0; + border-width: 1px; + border-color: #454545; + border-style: solid; + padding-top: 5px; + padding-bottom: 5px; + padding-left: 10px; + padding-right: 10px; +\\ border-radius: 2px; + color: #454545; +} + +QPushButton:focus { + background-color: #b5da91; + color: #000; +} + +QPushButton:pressed +{ + background-color: #f9f9f9; + padding-top: -15px; + padding-bottom: -17px; +} + +QComboBox +{ + background-color: #fff; + selection-background-color: #f9f9f9; + border-style: solid; + border: 1px solid #b6b6b6; +\\ border-radius: 2px; + padding-right: 5px; + padding-left: 5px; + padding-top: 1px; + padding-bottom: 1px; + margin: 1px; + min-width: 75px; +} + +QPushButton:checked{ + background-color: #b6b6b6; + border-color: #6A6969; +} + +QComboBox:hover,QPushButton:hover,QAbstractSpinBox:hover,QLineEdit:hover, +QTextEdit:hover,QPlainTextEdit:hover,QAbstractView:hover,QTreeView:hover, +QTableView:hover, QTableWidget::hover, QListWidget::hover +{ + border: 1px solid #75bf3f; + color: #000; +} + +QPushButton:hover +{ + background-color: #c3e9a7; +} + +QComboBox:on +{ + padding-top: 3px; + padding-left: 4px; + selection-background-color: #4a4a4a; +} + +QAbstractItemView +{ + background-color: #ffffff; +\\ border-radius: 2px; + border: 1px solid #b6b6b6; + selection-color: #000; + selection-background-color: #b5da91; +} + +QComboBox QAbstractItemView +{ + background-color: #ffffff; +\\ border-radius: 2px; + border: 1px solid #b6b6b6; + selection-color: #000; + selection-background-color: #b5da91; +} + +QComboBox::drop-down +{ + subcontrol-origin: padding; + subcontrol-position: top right; + width: 15px; + + border-left-width: 0px; + border-left-color: darkgray; + border-left-style: solid; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} + +QComboBox::down-arrow +{ + image: url(:/qss_qlight_icons/rc/down_arrow_disabled.png); +} + +QComboBox::down-arrow:on, QComboBox::down-arrow:hover, +QComboBox::down-arrow:focus +{ +\\ image: url(:/qss_qlight_icons/rc/down_arrow.png); +} + +QAbstractSpinBox { + padding-right: 5px; + padding-left: 5px; + padding-top: 1px; + padding-bottom: 1px; + margin: 1px; + border: 1px solid #b6b6b6; + background-color: #ffffff; + color: #000; +\\ border-radius: 2px; +} + +QAbstractSpinBox:up-button +{ + background-color: transparent; + subcontrol-origin: border; + subcontrol-position: top right; +} + +QAbstractSpinBox:down-button +{ + background-color: transparent; + subcontrol-origin: border; + subcontrol-position: bottom right; +} + +QAbstractSpinBox::up-arrow,QAbstractSpinBox::up-arrow:disabled,QAbstractSpinBox::up-arrow:off { + image: url(:/qss_qlight_icons/rc/up_arrow_disabled.png); + width: 10px; + height: 10px; +} +QAbstractSpinBox::up-arrow:hover +{ + image: url(:/qss_qlight_icons/rc/up_arrow.png); +} + + +QAbstractSpinBox::down-arrow,QAbstractSpinBox::down-arrow:disabled,QAbstractSpinBox::down-arrow:off +{ + image: url(:/qss_qlight_icons/rc/down_arrow_disabled.png); + width: 10px; + height: 10px; +} +QAbstractSpinBox::down-arrow:hover +{ + image: url(:/qss_qlight_icons/rc/down_arrow.png); +} + + +QLabel +{ + border: 0px solid black; +} + +QTabWidget{ + border: 0px transparent black; +} + +QTabWidget::pane { + border: 1px solid #b6b6b6; + background-color: #ffffff; + padding: 5px; +} + +QTabWidget QWidget{ + background-color: #ffffff; +} + +QTabWidget::tab-bar { + left: 5px; /* move to the right by 5px */ +} + +QTabBar +{ + qproperty-drawBase: 0; + border-radius: 3px; +} + +QTabBar:focus +{ + border: 0px transparent black; +} + +QTabBar::close-button { + image: url(:/qss_qlight_icons/rc/close.png); + background: transparent; +} + +QTabBar::close-button:hover +{ + image: url(:/qss_qlight_icons/rc/close-hover.png); + background: transparent; +} + +QTabBar::close-button:pressed { + image: url(:/qss_qlight_icons/rc/close-pressed.png); + background: transparent; +} + +/* TOP TABS */ +QTabBar::tab:top { + color: #000; + border: 1px solid #b6b6b6; + border-bottom: 1px solid transparent; + background-color: #ffffff; + padding: 5px; + min-width: 10px; + margin-bottom: -1; +} + +QTabBar::tab:top:!selected +{ + color: #000; + background-color: #f8f8f8; + border: 1px solid transparent; +} + +QTabBar::tab:top:selected:hover { + background-color: #c3e9a7; +} + +QTabBar::tab:top:!selected:hover { + background-color: #c3e9a7; +} + +QTabBar::tab::top:selected +{ + border-top: 2px solid #75bf3f; + background-color: #fff; + +} + +/* BOTTOM TABS */ +QTabBar::tab:bottom { + color: #000; + border: 1px solid #b6b6b6; + border-top: 1px solid #ffffff; + background-color: #ffffff; + padding: 5px; + min-width: 10px; + margin-top: -1; +} + +QTabBar::tab:bottom:!selected +{ + color: #000; + background-color: #f3f3f3; + border: 1px solid transparent; +} + +QTabBar::tab:bottom:selected:hover { + background-color: #c3e9a7; +} + +QTabBar::tab:bottom:!selected:hover { + background-color: #c3e9a7; +} + +QTabBar::tab::bottom:selected +{ + border-bottom: 2px solid #75bf3f; + background-color: #fff; +} + +/* LEFT TABS */ +QTabBar::tab:left { + color: #000; + border: 1px solid #b6b6b6; + border-left: 1px solid #ffffff; + background-color: #ffffff; + padding: 5px; + min-height: 10px; +} + +QTabBar::tab:left:!selected +{ + color: #000; + background-color: #f8f8f8; + border: 1px solid transparent; +} + +QTabBar::tab:left:selected:hover { + background-color: #c3e9a7; +} + +QTabBar::tab:left:!selected:hover { + background-color: #c3e9a7; +} + +QTabBar::tab::left:selected +{ + border-left: 2px solid #75bf3f; + background-color: #fff; +} + +/* RIGHT TABS */ +QTabBar::tab:right { + color: #000; + border: 1px solid #b6b6b6; + border-right: 1px solid #ffffff; + background-color: #ffffff; + padding: 5px; + min-height: 10px; +} + +QTabBar::tab:right:!selected +{ + color: #000; + background-color: #f8f8f8; + border: 1px solid transparent; +} + +QTabBar::tab:right:!selected:hover { + background-color: #c3e9a7; +} + +QTabBar::tab:right:!selected:hover { + background-color: #c3e9a7; +} + +QTabBar::tab::right:selected +{ + border-bottom: 2px solid #75bf3f; + background-color: #fff; +} + +QTabBar QToolButton::right-arrow:enabled { + image: url(:/qss_qlight_icons/rc/right_arrow.png); +} + + QTabBar QToolButton::left-arrow:enabled { + image: url(:/qss_qlight_icons/rc/left_arrow.png); +} + +QTabBar QToolButton::right-arrow:disabled { + image: url(:/qss_qlight_icons/rc/right_arrow_disabled.png); +} + + QTabBar QToolButton::left-arrow:disabled { + image: url(:/qss_qlight_icons/rc/left_arrow_disabled.png); +} + + +QDockWidget { + background: #f0f0f0; + border: 1px solid #403F3F; + titlebar-close-icon: url(:/qss_qlight_icons/rc/transparent.png); + titlebar-normal-icon: url(:/qss_qlight_icons/rc/transparent.png); +} + +QDockWidget::title{ +\\ background: #f0f0f0; + background-color: #d2d2d2; + padding-left: 5px; + padding-top: 4px; + margin-top: 4px; +} + + +QDockWidget::close-button, QDockWidget::float-button { + border: 1px solid transparent; + border-radius: 2px; + background: transparent; +} + +QDockWidget::close-button:hover, QDockWidget::float-button:hover { +\\ background: rgba(255, 255, 255, 10); +\\ background-color: #fff; +} + +QDockWidget::close-button { + image: url(:/qss_qlight_icons/rc/close.png); +} + +QDockWidget::close-button:hover { + image: url(:/qss_qlight_icons/rc/close-hover.png); +} + +QDockWidget::float-button { + image: url(:/qss_qlight_icons/rc/undock.png); +} + +QDockWidget::float-button:hover { + image: url(:/qss_qlight_icons/rc/undock-hover.png); +} + +QDockWidget::close-button:pressed, QDockWidget::float-button:pressed { + padding: 1px -1px -1px 1px; + background: rgba(255, 255, 255, 10); +} + +QLabel#limeReportLabel{ + color: #75bf3f; +} + +QTreeView, QListView +{ + border-top: 1px solid #b6b6b6; + border-left: 1px solid #b6b6b6; + border-bottom: 1px solid #b6b6b6; + border-right: 1px solid #b6b6b6; + background-color: #ffffff; +} + +QTreeView::item, QListView::item{ + height: 25px; +} + +QTreeView::branch:selected{ + background-color: #b5da91; +} + +QTreeView::branch:!selected:hover, QTreeView::item:!selected:hover{ +\\ background-color: #287399; + background-color: #b5da91; +} + +QTreeView::branch:has-siblings:!adjoins-item { + border-image: url(:/qss_qlight_icons/rc/transparent.png); +} + +QTreeView::branch:has-siblings:adjoins-item { + border-image: url(:/qss_qlight_icons/rc/transparent.png); +} + +QTreeView::branch:!has-children:!has-siblings:adjoins-item { + border-image: url(:/qss_qlight_icons/rc/transparent.png); +} + +QTreeView::branch:has-children:!has-siblings:closed, +QTreeView::branch:closed:has-children:has-siblings { + image: url(:/qss_qlight_icons/rc/branch_closed.png); +} + +QTreeView::branch:open:has-children:!has-siblings, +QTreeView::branch:open:has-children:has-siblings { + image: url(:/qss_qlight_icons/rc/branch_open.png); +} + +QTreeView::branch:has-children:!has-siblings:closed:hover, +QTreeView::branch:closed:has-children:has-siblings:hover { + image: url(:/qss_qlight_icons/rc/branch_closed-on.png); +} + +QTreeView::branch:open:has-children:!has-siblings:hover, +QTreeView::branch:open:has-children:has-siblings:hover { + image: url(:/qss_qlight_icons/rc/branch_open-on.png); +} + +QSlider::groove:horizontal { + border: 1px solid #565a5e; + height: 4px; + background: #565a5e; + margin: 0px; + border-radius: 2px; +} + +QSlider::handle:horizontal { + background: #ffffff; + border: 1px solid #565a5e; + width: 16px; + height: 16px; + margin: -8px 0; + border-radius: 9px; +} + +QSlider::groove:vertical { + border: 1px solid #565a5e; + width: 4px; + background: #565a5e; + margin: 0px; + border-radius: 3px; +} + +QSlider::handle:vertical { + background: #ffffff; + border: 1px solid #565a5e; + width: 16px; + height: 16px; + margin: 0 -8px; + border-radius: 9px; +} + +QToolButton { + color : #000; + border: 1px solid transparent; + margin: 2px; + padding: 2px; +} + +QToolButton:hover, QToolButton::menu-button:hover { + background-color: #c3e9a7;; + border: 1px solid #75bf3f; +} + +QToolButton:checked, QToolButton:pressed, + QToolButton::menu-button:pressed { + background-color: #fff; + border: 1px solid #75bf3f; +} + +QToolButton:hover:checked +{ + background-color: #c3e9a7;; +} + +QToolButton:text{ + color: #000; +} + +QToolButton:disabled{ + background-color: transparent; + border: 1px transparent #b6b6b6; +} + +\\ +\\QToolButton[popupMode="1"] { /* only for MenuButtonPopup */ +\\ padding-right: 20px; /* make way for the popup button */ +\\ border: 1px #b6b6b6; +\\ border-radius: 5px; +\\} +\\ +\\QToolButton[popupMode="2"] { /* only for InstantPopup */ +\\ padding-right: 10px; /* make way for the popup button */ +\\ border: 1px #b6b6b6; +\\} +\\ +\\/* the subcontrol below is used only in the InstantPopup or DelayedPopup mode */ +\\QToolButton::menu-indicator { +\\ image: url(:/qss_qlight_icons/rc/down_arrow.png); +\\ top: -7px; left: -2px; /* shift it a bit */ +\\} +\\ +\\/* the subcontrols below are used only in the MenuButtonPopup mode */ +\\QToolButton::menu-button { +\\ border: 1px transparent #b6b6b6; +\\ border-top-right-radius: 6px; +\\ border-bottom-right-radius: 6px; +\\ /* 16px width + 4px for border = 20px allocated above */ +\\ width: 16px; +\\ outline: none; +\\} +\\ +\\QToolButton::menu-arrow { +\\ image: url(:/qss_qlight_icons/rc/down_arrow.png); +\\} +\\ +\\QToolButton::menu-arrow:open { +\\ border: 1px solid #b6b6b6; +\\} + +QPushButton::menu-indicator { + subcontrol-origin: padding; + subcontrol-position: bottom right; + left: 8px; +} + +QTableView +{ + border: 1px solid #b6b6b6; + gridline-color: #f0f0f0; + background-color: #ffffff; +} + + +QTableView, QHeaderView +{ + border-radius: 0px; +} + +QTableView::item:pressed, QListView::item:pressed { + background: #b5da91; + color: #000; +} + +QTableView::item:selected:active, QListView::item:selected:active { + background: #b5da91; + color: #000; +} + +QTableView::focus{ + border: 1px solid #4b6807 +} + +QHeaderView +{ + background-color: #f0f0f0; + border: 1px transparent; + border-radius: 0px; + margin: 0px; + padding: 0px; + +} + +QHeaderView::section { + background-color: #f0f0f0; +\\ background-color: #000; + color: #000; + padding: 5px; + border-top: 1px transparent #b6b6b6; + border-left: 1px solid #b6b6b6; + border-right: 1px solid #b6b6b6; + border-bottom: 1px solid #b6b6b6; + border-radius: 0px; + text-align: center; +} + +QHeaderView::section::vertical::first, QHeaderView::section::vertical::only-one +{ + border-top: 1px transparent #b6b6b6; +} + +QHeaderView::section::vertical +{ + border-top: transparent; +} + +QHeaderView::section::horizontal::first, QHeaderView::section::horizontal::only-one +{ + border-left: 1px transparent #b6b6b6; +} + +QHeaderView::section::horizontal +{ + border-left: transparent; +} + + +QHeaderView::section:checked + { + color: white; + background-color: #334e5e; + } + + /* style the sort indicator */ +QHeaderView::down-arrow { + image: url(:/qss_qlight_icons/rc/down_arrow.png); +} + +QHeaderView::up-arrow { + image: url(:/qss_qlight_icons/rc/up_arrow.png); +} + + +QTableCornerButton::section { + background-color: #f0f0f0; + border: 1px transparent #b6b6b6; + border-radius: 0px; +} + +QToolBox { + padding: 5px; + border: 1px transparent black; +} + +QToolBox::tab { + color: #000; + font-weight: bold; + background-color: #f0f0f0; +\\ background-color: #b6b6b6; + border: 2px solid #d0d0d0; + border-top: 1px transparent #f0f0f0; + border-left: 1px transparent #f0f0f0; + border-right: 1px transparent #f0f0f0; +\\ border-bottom: 1px transparent #f0f0f0; +\\ border-top-left-radius: 5px; +\\ border-top-right-radius: 5px; +} + +QToolBox::tab:hover{ + background-color: #c3e9a7; + border-color: #75bf3f; +} + +QToolBox::tab:selected { /* italicize selected tabs */ +\\ font: italic; + font-weight: bold; +\\ background-color: #f0f0f0; + background-color: #fff; + border-color: #75bf3f; + } + +QStatusBar::item { + border: 0px transparent dark; + } + + +QFrame[height="3"], QFrame[width="3"] { + background-color: #b6b6b6; +} + + +QSplitter::handle { + border: 1px dashed #b6b6b6; +} + +QSplitter::handle:hover { + background-color: #787876; + border: 1px solid #b6b6b6; +} + +QSplitter::handle:horizontal { + width: 1px; +} + +QSplitter::handle:vertical { + height: 1px; +} + +QProgressBar { + border: 1px solid #b6b6b6; + border-radius: 5px; + text-align: center; +} + +QProgressBar::chunk { + background-color: #05B8CC; +} + +QDateEdit +{ + selection-background-color: #f9f9f9; + border-style: solid; + border: 1px solid #3375A3; + border-radius: 2px; + padding: 1px; + min-width: 75px; +} + +QDateEdit:on +{ + padding-top: 3px; + padding-left: 4px; + selection-background-color: #4a4a4a; +} + +QDateEdit QAbstractItemView +{ + background-color: #ffffff; + border-radius: 2px; + border: 1px solid #3375A3; + selection-background-color: #f9f9f9; +} + +QDateEdit::drop-down +{ + subcontrol-origin: padding; + subcontrol-position: top right; + width: 15px; + border-left-width: 0px; + border-left-color: darkgray; + border-left-style: solid; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} + +QDateEdit::down-arrow +{ + image: url(:/qss_qlight_icons/rc/down_arrow_disabled.png); +} + +QDateEdit::down-arrow:on, QDateEdit::down-arrow:hover, +QDateEdit::down-arrow:focus +{ + image: url(:/qss_qlight_icons/rc/down_arrow.png); +} diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/Hmovetoolbar.png b/3rdparty/light_style_sheet/qlightstyle/rc/Hmovetoolbar.png new file mode 100644 index 0000000000000000000000000000000000000000..349b9f02cf57392ad3739b4e89eeb542747c26aa GIT binary patch literal 180 zcmeAS@N?(olHy`uVBq!ia0vp^JU}eO!3HGrSK5O(Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmPt7qfthQepbFUqB&8PZ!4!jq_J0UgTmB5Mbe#x4K_u z|7wq?l3FiN}K1 Uj$Y0702;>N>FVdQ&MBb@0JDcT2mk;8 literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/Hsepartoolbar.png b/3rdparty/light_style_sheet/qlightstyle/rc/Hsepartoolbar.png new file mode 100644 index 0000000000000000000000000000000000000000..70465de9d30b4cc6cbf9e7e71980abe8de2ba43b GIT binary patch literal 147 zcmeAS@N?(olHy`uVBq!ia0vp^96&6{!3HEBTzh*1NUlU;2PT3Z5>GAsXkC6BcN7^!NXlmzV!9 mAKBA6VObz+Nw9+@1H<1{XE)7O>#As4eKKhIsRC)O# z(@UES6k1%=)%F~f3|jf2(rt}n5YvsmyNtPIl|^fJWmxAve|JjV`_**2f63WA`THbZ Ui0KqJ1I=RaboFyt=akR{07cX{`2YX_ literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/Vsepartoolbar.png b/3rdparty/light_style_sheet/qlightstyle/rc/Vsepartoolbar.png new file mode 100644 index 0000000000000000000000000000000000000000..14b9d1341d49d1afca119d4d53ad4eb7113d0d7a GIT binary patch literal 150 zcmeAS@N?(olHy`uVBq!ia0vp^f{XE)7O>#As4f#fC#fqQ9V#d+0(@_MB{vNf<#z@;IWSW{{Q}~ np0#p|8yOh@fng6*2?N93sVpq5+S*@%${9Re{an^LB{Ts5Z$u=u literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/branch_closed-on.png b/3rdparty/light_style_sheet/qlightstyle/rc/branch_closed-on.png new file mode 100644 index 0000000000000000000000000000000000000000..d081e9b3b90d774450a8ea48f1184019e33a755a GIT binary patch literal 147 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ(!2%?APo63Uq?nSt-CYAmd+F5V%0wNv=peG!PC{xWt~$(69A|)Be?(o literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/branch_closed.png b/3rdparty/light_style_sheet/qlightstyle/rc/branch_closed.png new file mode 100644 index 0000000000000000000000000000000000000000..d652159a365396a046329cfc7695c89ee54431ca GIT binary patch literal 160 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ(!2%?APo63Uq!^2X+?^QKos)S90ZA8lL>4nJ za0`PlBg3pY5H=O_B-6{JiOAS{|sjWh15M=978y+r}k{*WnkcFe(-;BX~D)* rS0)5haD*y~YzrxP=F!`JhM)Jr2M#8aN7~DQS{OWC{an^LB{Ts5zf35P literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/branch_open.png b/3rdparty/light_style_sheet/qlightstyle/rc/branch_open.png new file mode 100644 index 0000000000000000000000000000000000000000..66f8e1ac619d242f3d5a31ffb11291c09ea40468 GIT binary patch literal 166 zcmeAS@N?(olHy`uVBq!ia0vp^oIuRR!2%?ApR4f$QjEnx?oJHr&dIz4a+s35-CY>w z1e^Sc1@brxJR*x37`TN&n2}-D90{Nxdx@v7EBhS|ac*foG2iHXppcfQi(?4K_2h&D z3_UzN#dZqZOE?US3>3JRaTpjFIL#0^D8eWr9I$mUBg3(s>=R~}U&3=E8!o-U3d z5v^~hTl*b$5NO-KaZ$^2My7CvC3jk<^u2WvDUf$c)s+rzv%V1E9{A4TMP-Z4lZ6F6 zJvyqaW~@Kfmu*$9pTBmh4fB87Nq1MQib$?;e-iXiZ<}* z4@CWD;9;1v<$&N$mS=`@#Ch2ZV#{}RJvQ4QaCNnQ-mU-(MmI+R8*yI$%dfxAYY;s7 z_m>{S8>aWE2aPM4zg_apbyj4!CUG}xvu2#YiDkvbx1hxrj-4fv9WXW}Qu2zs*=;EB~B@C9lD4Pt3jc#EK9uo4$63*ah<+ zss)BhMo2G`V&I;1@X1nvU9S{R&b}_{bpE^krGqN=vm#%w`~A&$lHbmbGYy8TuE%Y! g4!>ah-@}e^jYL&g^Ys^bz?fn1boFyt=akR{0GqMPK>z>% literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/checkbox_checked_disabled.png b/3rdparty/light_style_sheet/qlightstyle/rc/checkbox_checked_disabled.png new file mode 100644 index 0000000000000000000000000000000000000000..cb63cc2fac47ad304451f864be5fb9b9085910ee GIT binary patch literal 491 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzmSQK*5Dp-y;YjHK@;M7UB8!3Q zuY)k7lg8`{prB-lYeY$Kep*R+Vo@qXd3m{BW?pu2a$-TMUVc&f>~}U&3=E7Jo-U3d z5v^~h`}!SnkZ7B~UO?mu^MY^z;cfGr%T7e}s1?W?8ZIpHm|nqi{YV9S;d_3jiRW9V zC@j#CiOINs*XRD1%4NQnC4ao1_;X|a8O{J^t^>=I&uJH^EA=Yy=q@QJXMe6{= z3nu?QmTiqn8yL4lU7L4ID46lSggggJ-lhEfrK>ewSvD~j#OXbEpLgByNx%V?Yugz2 z%=F`x=yC0fIn20j(F*mKC7cqgJZ$I97rnv0D^bF3N854ErU!Bp^;Wf}GDU{OUt^u0 zW>d#j^wD7Ns`t{1S6kg*n)>$7^lzH?%EjxII~|lJaHueWsWo@_*Zi9Q-(<7@f_{&8 zrO0b9HEPU+9v)SBw)%l|Fntmmjz{W9#jS ei>v=l+`}wZn5FJg^3NX_F$|urelF{r5}E*p0K`TB literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/checkbox_checked_focus.png b/3rdparty/light_style_sheet/qlightstyle/rc/checkbox_checked_focus.png new file mode 100644 index 0000000000000000000000000000000000000000..5b04d83c1159a47483fd9a22115b1538257ba8fb GIT binary patch literal 252 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzwj^(N7l!{JxM1({$v_d#0*}aI zppNSx%;=;sy88?SFVW)>&{AC oGQ+aMO0DGetcwq3^Yy%*$?9v7vi2H2P(8128Bb|(G4PNvN{@ZTf(3sn_sOi&WJR5%589C1Db zhCs&)0xKfAB%rDi8*{57O<)4_5qWijS3LmgKot?w^!;`wQO?#_V**LxkEL?C;d$Q3 z34D<_j%&$$-a|FC);<7TfKs-gBytH%5;%7a2k<;^G*6NSFcsCSFK#waI05=$7(Tm( zXKA)Hc7gXz!E<>7_ErgOC56D&1`2f;J-djcl1whQ1*)tmxvW08H=aDaB2-ihxwfOi!+%lfAUc7T48B=@f2S)wSqMWl~v zZI(b4)#rJ^CmD~QfYn(73rQ)kZ~?z)ATUOY#(t96+Wf5x{DKuI1xkTZpzt0jI=8N~ z@D(TpewDxrBCCa!&WPR`@bXPS;RdLmG@G0AVz*kYZB*;P;G2LaatSOCE0wD-47cV1 zuZZ-3B^9~I`tuKy4iEtEUw^L;PUs>VUo&4)=p@!2lYf|GrJ*qgDsqPEE>LwM@VVy$ iRL|pXH+A&QKavmPo@ys59Ed6a0000&lYofly%1lkY&oejdns92`W8=x4azJu+ z=7QpbE12D64>;xQTN-U9~}U&3=E9Eo-U3d z5v^~hTl*b$5Mg-k8hGeCL!&lB&^xD7y>BB#3gn$qXZC6ymd#kPSfgCwOO2D=r^N+5 zJw7|dgetV6qbk!>#or&Sckj|)rDfLlx9!BzLz){NpZKh3z}$B1``V5SO@~m`&d1TB zFPXg)nog`1-usI20_&}gBemzbKX;_n9XqyBf99W!7jwS#7#6F4()FBFa_MYZPgcU( zS_U_U-aih`PlO_t6}*e$OX!)Ie`yQ*8keuHPS3X2n8Pqxfn#3m>Ec5MHB4$L|F3^% zND!}B?-loe_r`C{2jMH2Uo}`Q;Db^cY&se~TB4iwmri9$b1?Uu;sB%_cFATAov~jhym_YEdgAln?ixeQ z^=a2;y}eWCW~RA2fzc;$?>Dw)YxnzqlxvtK94R$eY;o}lF!UKbUHx3vIVCg!09=m0 AT>t<8 literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/checkbox_unchecked_disabled.png b/3rdparty/light_style_sheet/qlightstyle/rc/checkbox_unchecked_disabled.png new file mode 100644 index 0000000000000000000000000000000000000000..ade721e81ba47fa792d4586516b8744f8c49c8bb GIT binary patch literal 464 zcmV;>0WbcEP)z3Xli7-6*p9aNvlr>Itd;TFIVxd-y|OyrCsEBb@QA; zCyb(7HXkO*sBg@biZoF@2MSgIU*CL)>Rq?ji!Gh`NAd|iaAZN1hu>)c0000&lYofly%1lkY&oejdns92`W8=x4azJu+ z=7QpbE12D64PG?_viDdeTwz?yCsBG}1@jD!t#O$*jgCn&Z7E>UGiLWc-jWwEX>4Tx04R}tkv&MmKpe$i(-uW54t7v+$WWauh>AE$6^me@v=v%)FuC*#nlvOS zE{=k0!NHHks)LKOt`4q(Aou~|;_9U6A|?JWDYS_3;J6>}?mh0_0Yam~R5LIEsG4P@ z;xRFsTNS%r5yTLB5kf#>rk+SIX5cx#?&0I>U6f~epZjz4DS49tK9P8i>4rtTK|Hf* z>74h8!>lAJ#OK8023?T&k?XR{Z=8z`3p_JyWK#3QVPdh^!Ey()lA#h$6Gs$PqkJLj zvch?bvs$UK);;+PLwRi_&2^e1h+_!}Bq2gZ4P{hdAxf)8iis5M$2|PQjz38*nOtQs zax9<<6_Voz|AXJ%nuV!JHz^bYf-koHF$#3;0?oQ@e;?a+^91le16NwxUu^)hpQP8@ zTI2}m-v%zO+nT%wT zj1?(+-Q(TeoxS~grq$mM7JzbspmpGj00006VoOIv0RI600RN!9r;`8x010qNS#tmY z3ljhU3ljkVnw%H_000McNliru;{_QLGdO$vlx_e302y>eSad^gZEa<4bO1wgWnpw> zWFU8GbZ8()Nlj2!fese{00L%7L_t(I%cYaOYZOrw#eeVJd9#^u*+twyf+!{g6+#jM zMvK6@je;oXUtuGutSn5iRw=Af`Ue*HGMy4Jep(}~C+Fk!9z zHa!K`d&iVgF3YmfJkL!K$FcTmhhCF2z->={>Nhy&Yi9rrgx1b3WI7?U|p+L?lX*q}0ZkJPgA(&beLS9dOsb|GdX{ zJ$~%*JLlZ4|5&-y>vf8v_*kperbJ{=YyCkf)c|e*Gr&>cB=E^OH&ztIscyHszPY)1 zZ)opXtE?z?mDb6J+V-EMci*Xu1=YgZN)7J9#U;cv{ev9Yll gMbV$l^sjdQ0WiECr7ejYM*si-07*qoM6N<$f^3c)@Bjb+ literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/close-hover.png b/3rdparty/light_style_sheet/qlightstyle/rc/close-hover.png new file mode 100644 index 0000000000000000000000000000000000000000..fbd746354babf5a9558fe51d507cd8594d6c286f GIT binary patch literal 763 zcmVEX>4Tx04R}tkv&MmKpe$i(-uW54t7v+$WWauh>AE$6^me@v=v%)FuC*#nlvOS zE{=k0!NHHks)LKOt`4q(Aou~|;_9U6A|?JWDYS_3;J6>}?mh0_0Yam~R5LIEsG4P@ z;xRFsTNS%r5yTLB5kf#>rk+SIX5cx#?&0I>U6f~epZjz4DS49tK9P8i>4rtTK|Hf* z>74h8!>lAJ#OK8023?T&k?XR{Z=8z`3p_JyWK#3QVPdh^!Ey()lA#h$6Gs$PqkJLj zvch?bvs$UK);;+PLwRi_&2^e1h+_!}Bq2gZ4P{hdAxf)8iis5M$2|PQjz38*nOtQs zax9<<6_Voz|AXJ%nuV!JHz^bYf-koHF$#3;0?oQ@e;?a+^91le16NwxUu^)hpQP8@ zTI2}m-v%zO+nT%wT zj1?(+-Q(TeoxS~grq$mM7JzbspmpGj00006VoOIv0RI600RN!9r;`8x010qNS#tmY z3ljhU3ljkVnw%H_000McNliru;{_QM6c%`(JwX5f02y>eSad^gZEa<4bO1wgWnpw> zWFU8GbZ8()Nlj2!fese{007fTL_t(I%cYaM4Z<)GhCdz>J1_`cL>5RL#0+#)E~u}f z%MOq_3nWq`Hemq$WFqfBfGfTOr;)Coz|}+6!G@Voj5}j~I&d@B(P&l~H_WA(NaH)mqr*1RM+4>n zTTfG34Ix(9Ph$;c#X5LrdSOynskQpt_(F0XA&kDN&Lsg tFCK0CIVZ^r*a3$DE8kQr&;6Me#}_|BKE!$Q@Gk%W002ovPDHLkV1hF(HDv$* literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/close-pressed.png b/3rdparty/light_style_sheet/qlightstyle/rc/close-pressed.png new file mode 100644 index 0000000000000000000000000000000000000000..937d0059839ba44ac5cf03f8c047ee05815954d9 GIT binary patch literal 598 zcmV-c0;&CpP)WFU8GbZ8()Nlj2>E@cM*00Fv5L_t(|+U=WLk^&(N zMNJl_8_?B`8_ zy6%Wq@1q*&nfKd*=(Y$VMgp?uA^!zDB{1N>P63ZikG1hg_|Ito*$P`m0;}iYwLp&q zHaxr-YLO5D|8EUI6+I<5HvIcKKq-fN*91m!MLQ2@g<(~e)B}-PC>A_jKn)xdK16_J zA27UtS~#Wz%?8hwpwaM*^Mp_VHSm!VAk|=R&oeeflxnaSCSoLLra2!WK{LTeNN_t8 zMa*IEe9%Kt!~(_`37Qq2CE;g++G)V5=dIuQ^&@G>nP7%|MFEzZSE$DJ=G|h^>^+ap zZ@wUrJxU{aU6H9xwr+_{8tbBDYw}%RmCY=Ic3C>3gpljEX>4Tx04R}tkv&MmKpe$i(-uW54t7v+$WWauh>AE$6^me@v=v%)FuC*#nlvOS zE{=k0!NHHks)LKOt`4q(Aou~|;_9U6A|?JWDYS_3;J6>}?mh0_0Yam~R5LIEsG4P@ z;xRFsTNS%r5yTLB5kf#>rk+SIX5cx#?&0I>U6f~epZjz4DS49tK9P8i>4rtTK|Hf* z>74h8!>lAJ#OK8023?T&k?XR{Z=8z`3p_JyWK#3QVPdh^!Ey()lA#h$6Gs$PqkJLj zvch?bvs$UK);;+PLwRi_&2^e1h+_!}Bq2gZ4P{hdAxf)8iis5M$2|PQjz38*nOtQs zax9<<6_Voz|AXJ%nuV!JHz^bYf-koHF$#3;0?oQ@e;?a+^91le16NwxUu^)hpQP8@ zTI2}m-v%zO+nT%wT zj1?(+-Q(TeoxS~grq$mM7JzbspmpGj00006VoOIv0RI600RN!9r;`8x010qNS#tmY z3ljhU3ljkVnw%H_000McNliru;{_QM6CxH>Uo!vz02y>eSad^gZEa<4bO1wgWnpw> zWFU8GbZ8()Nlj2!fese{007%bL_t(I%cYYs5`r)kM4#x4chE~fV=K3Sj=|asP*_vh z(KG4b7EsZ`CAsV4%Ju)-Q}c`^k`r_%Hw z2dWjaE7kj*#C{mY!1p`gs1i39<%b#N&7Wy=y#X8rL5|c7r-1+f002ovPDHLkV1g_a BM#KOB literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/down_arrow.png b/3rdparty/light_style_sheet/qlightstyle/rc/down_arrow.png new file mode 100644 index 0000000000000000000000000000000000000000..e271f7f90b4132c9d740058d8b6c915dbdd626d2 GIT binary patch literal 165 zcmeAS@N?(olHy`uVBq!ia0vp^oIuRR!2%?ApR4f$QjEnx?oJHr&dIz4a+s35-CY>w z1e^Sc1@brxJR*x37`TN&n2}-D90{Nxdx@v7EBhS|ac(A-+!@lDKp{;}7sn8e>&XcR z7pulY;Wn^IBG(*7A%~?b^VC!N=hHC=sm-IdEdjT~uc)I$ztaD0e F0ssj2CNKa1 literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/down_arrow_disabled.png b/3rdparty/light_style_sheet/qlightstyle/rc/down_arrow_disabled.png new file mode 100644 index 0000000000000000000000000000000000000000..5805d9842bb3c8bdf9ae741ebabc690a4929585a GIT binary patch literal 166 zcmeAS@N?(olHy`uVBq!ia0vp^oIuRR!2%?ApR4f$QjEnx?oJHr&dIz4a+s35-CY>| zxA&jf59DzcctjR6FmMZlFeAgPITAoY_7YEDSN1y`;vAyZcdU741BJ9aT^vI=t|uoP zVCdoDDYjGKUczBuWT3#kjKjddz-flSK@mm~;ef4+85xf4WS1|%O$WD@{VY)RhkE)4M?c;Dn$FG#w;BeIx* zfm;}a85w5HkpK#^mw5WRvOnZv5j2u@?~$1Y6bkTkaSV~TJhlHIZ-W63vwrG^WzJI- zUj+D0eB0To`msDR_F-mcngoGnGkCiCxvXF7(8A5T-G@y GGywodVJqnX literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/left_arrow_disabled.png b/3rdparty/light_style_sheet/qlightstyle/rc/left_arrow_disabled.png new file mode 100644 index 0000000000000000000000000000000000000000..f5b9af8a34edb5f8dd767bf6afa303b89a31d38f GIT binary patch literal 166 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ(!2%?APo63Uq!^2X+?^QKos)S9bR`<_$&i(E==bj5a^zeU&bwdtch>=_qAH5C#I(A02SZ= z-pqyvve{!vh3V|K2(Z;?j0;|Hq>tJ+4>OtTGCRJHZF@ZOcP8^q5Cr`I<~ScB9o=p= z&m^6bC_rXoz*@WDo;`Hvf?xzGIc?G2OIwY`1pwD|f5YrH(7gbIoJl|JS(+dUbvmTb zB5r&Bqu`aU1z`4E`<=%)mdf9?a};sgxR2RT5LuX#bWVMU#oQ*xD``&)6vecw1(rnna}5U zBv}}JUU#-zt!rHi$mjDrIL<6^D(>w}Oik4Xve{RW-j%cpG=ZjI)y&=*IB?)K*LCj$ zRDHh$oRrzj^z?Kq>70&LUiJM2-~*uKdfs9uz9g&qe#y)}0Tx})E2Z%}7S+9tjgq8G zz(UpczpGZOFDG$V%H`Y_mC6rh_9@YK{BbA$PyEhTe19x7TSPh3(2no@8jnJ}d` zxvz`)Xu-@3Q@U%O-8ttu@B6#&eeXFJcD1YLUFyZ`x^CY1#GHEIZf^VJ)fa|)EWFnC_vkwH{ z6N%(XrPA_FUeEIm3uZ8T)68avQmNeZ^mN!MezY4vBl-Klxl+0Oc_(iW1WUkMr#lwA61mWP^6gmcikThUVXxDm7!9M*?_AgI18~gF z1H*|#;zYYVZ2=^WVYb|CxN5a}7PC=xsG2|quMNcGX92#vbZHT|j#=*jKpN?%*2wG> z^-_116auGOL$e=c_Il3%1~2LHcaC7B3vd(Eku=gAhHwvQuxEgJEbHl{+%bXUhz^zO z1aMzw`&uyYd#6AxNnr@rTl>rgF}wdX0Kb}a^ohVmh_EiNtnd~J1gWB9;< zQeQOsw@G^iF9MGY79E(`tkvF|pP&B+z|Uqc0A~cJFP2I-+U4om@B3+mVcy`Fr2H#G zLmzjg?Ph4o^Sm*c%>u*JKeMaA-Ny3E)PG1ufSZlmvu)!&6#&$4$V4J>LSZw|^@l zli5^w5ukA6;81obn5jl}fg{7Ve_=NjQME=gE z!gm4k-;a$%kzNO4fCG#-cYqO*sxhR3WLWbgZm8TYnr$rkx%F}%GM0qOvzi*#f&zK%biH3UBH&Ab=}9`sB=9lrsGT3+(avxYznms;e* zK-e<@W2Gd9{paV$4gd@c%B+Y~MMOJ@ zd(}V;Us@~0AQ=YT{%q%N_;4do#|5B}n@jwdn@haap?SrZYt^5`kh4~bkN&M^w{svF zSJfi0PaU_#a8pG7@n3C^|1qP$9bj@gUB320MzWz@_PChMk!+-8B>UZ1DOoF5JH@<@ dKKghX{{bx`O0-M#l&Js!002ovPDHLkV1g-XnR@^L literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/radio_unchecked.png b/3rdparty/light_style_sheet/qlightstyle/rc/radio_unchecked.png new file mode 100644 index 0000000000000000000000000000000000000000..9a4def65c64a9d55441f82fe66fc7f46e5b73a75 GIT binary patch literal 728 zcmV;}0w?{6P)@!=&7gwT^7eV48y+tYIRCxlLiT(zip~u_E}K!eZQ1UCJ)XWpcn*qFv|mj2Hymm zGOGZ1&1OGlqk`+ej=|zgCiDDE0Kzalw_mH}fqMq8tl7*>&(3Zg z<=pb}a>SKCQhxe=1 zDZv#_S~^K`0Q0>2NJI5nZ6eAi5Q&W)Tj`Fao}46Y)*j1A!XehJuV&-U1oWX;y{+O9Vm8?gbB$>af^ zw*ZW{XL~Faoy!4ZGMk^9n`^`d07#`$FMw5G<+u=%tPliCX7&)sr_<@k@^=LQ*e#cH zlGcEH(Ye>fV(~_l?|Kj7Dkc) literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/radio_unchecked_disabled.png b/3rdparty/light_style_sheet/qlightstyle/rc/radio_unchecked_disabled.png new file mode 100644 index 0000000000000000000000000000000000000000..6ece890e750b0685bbd818f22e5fbf999ccd35e1 GIT binary patch literal 760 zcmV6Hyq3pRX0tGI#@4O=(z(ra$opASN0&l!V!~ zGsFupMi4Yn7A{E9xN<|Zbl8%Z;>x%YH!O_WHWI)PKm&#gz*M7gJ{PpnM5bj5JNs=u!`ga zdVmk2x~L*MwQ&UK2QB~`Dl%3m6rLT6fN7e+lZKH~)f)mY2nNUV`F!P|tYujVfhklk ztLk(#78{?OoOB!Qf1;T{t^7JLns=NBjk1M8p$uFZv8+*G>eJ>Xz*wU-!A3(nlNkmc z35?D<&ckN1bxP&(QZkYFE+Y35$z-KmF0XlIJs*K-nw{NUU8}&yS;x70*z&)zv)PwG z&(~_T&+A|YycTzd!$Uw!g29Pa$^inZw}4*5Fa|v{UIP(HqgwGgaEIaP+*}D*M%BLn zkV52jtL1e>^_8ez^ev!pO8&g(E#tx$L?XTg094i2O?hBJARzl5{sneL_4H8%R5gO? zZYu(BRiyu@0>FU48{Yx~Mc}+;S&3GgZQD)(=Mi(Ony70 zgw)FKi^z1|aUM4cH~kt$W3lniTU)BCIV+pJ6jU9r-EjY4+jdG^H>WTlBDu5C=s2S%SwytG|&qy1B<|RZG49PACf*`UEpTkaXb%RO9HU}g)|IfP+T{SND8Rm6FUm; qM77uv3N6gc%>4ATZ<{v%H@^W&H{IQg@q%gq0000P-GUfBNf8-Hhe#dK#X>w~xu#@cP`dD5mq$o2qcd)&_IrK5_j{lD{hJ?DRn`A4 z5ytrXgO+`@bu~$#6KDnM&CwDtB_!^~df6TBDQ;C9z$w_5v|en%F!kaT?6g)43Q01X z^4!n>rr_p<ms|V_Q~F&t)qX-NoTx3P6}Nz<+Paz!KN}fv zzZ018E4bY#*X>OMb3i13Rv~#^fm!nkI1>fnm{x!Kd@uU6ZD550K*(^DGQfw50tz?rz l;#x5|5|s0*s;cU5{RYw7%@@7YeC+@L002ovPDHLkV1iYHH}(Jk literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/right_arrow.png b/3rdparty/light_style_sheet/qlightstyle/rc/right_arrow.png new file mode 100644 index 0000000000000000000000000000000000000000..9b0a4e6a7a8097818d9c0626c84f19f4d690dd31 GIT binary patch literal 160 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ(!2%?APo63Uq!^2X+?^QKos)S9wUkJ;l%oZHT?}(3D>Wp7T%b9XV|~Y(T_!;F44$rjF6*2UngIS-C?Eg; literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/sizegrip.png b/3rdparty/light_style_sheet/qlightstyle/rc/sizegrip.png new file mode 100644 index 0000000000000000000000000000000000000000..350583aaac4aa474ac449eaea2cc7ddd060276b9 GIT binary patch literal 129 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!D3?x-;bCrM;TYyi9E0A8dZe4lyHC-T!u_VYZ zn8D%MjWi%f)6>Nz(!sM1rC-2ha+zM<2rMwpeI*@Z@PO%TWH}e*?iSqXK(y9 XcW6R37#&FAr-gY z-rUH`puoZ4SQyZj9Qd}kRkgExspwA+*PdmovgYQ`l$1@M%Pi(EdF8VmvF&CX@A%e}M=bpY`_UHx3vIVCg!0H#+y$^ZZW literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/stylesheet-branch-more.png b/3rdparty/light_style_sheet/qlightstyle/rc/stylesheet-branch-more.png new file mode 100644 index 0000000000000000000000000000000000000000..62711409d7ed69ec98979394795822630458d9eb GIT binary patch literal 182 zcmeAS@N?(olHy`uVBq!ia0vp^5PiX%b9eR9<JS%C8jVk7;fc! UBk#RM6lem2r>mdKI;Vst0ANBkrT_o{ literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/stylesheet-vline.png b/3rdparty/light_style_sheet/qlightstyle/rc/stylesheet-vline.png new file mode 100644 index 0000000000000000000000000000000000000000..87536cce16aabb3710663f720f8d354b1bb0b757 GIT binary patch literal 239 zcmeAS@N?(olHy`uVBq!ia0vp^fk14@;zM~Ln>~) zy|9s&!GMF=@x%h2gO1`OFspnaH4_oY}#FfpL8m Q-wTkir>mdKI;Vst0J6j{!2kdN literal 0 HcmV?d00001 diff --git a/3rdparty/light_style_sheet/qlightstyle/rc/undock-hover.png b/3rdparty/light_style_sheet/qlightstyle/rc/undock-hover.png new file mode 100644 index 0000000000000000000000000000000000000000..1dfd69895d1b7039b50a2a9ebc2992a37fd92679 GIT binary patch literal 741 zcmVEX>4Tx04R}tkv&MmKpe$i(-uW54t7v+$WWauh>AE$6^me@v=v%)FuC*#nlvOS zE{=k0!NHHks)LKOt`4q(Aou~|;_9U6A|?JWDYS_3;J6>}?mh0_0Yam~R5LIEsG4P@ z;xRFsTNS%r5yTLB5kf#>rk+SIX5cx#?&0I>U6f~epZjz4DS49tK9P8i>4rtTK|Hf* z>74h8!>lAJ#OK8023?T&k?XR{Z=8z`3p_JyWK#3QVPdh^!Ey()lA#h$6Gs$PqkJLj zvch?bvs$UK);;+PLwRi_&2^e1h+_!}Bq2gZ4P{hdAxf)8iis5M$2|PQjz38*nOtQs zax9<<6_Voz|AXJ%nuV!JHz^bYf-koHF$#3;0?oQ@e;?a+^91le16NwxUu^)hpQP8@ zTI2}m-v%zO+nT%wT zj1?(+-Q(TeoxS~grq$mM7JzbspmpGj00006VoOIv0RI600RN!9r;`8x010qNS#tmY z3ljhU3ljkVnw%H_000McNliru;{_QM76w-#Pp1F?02y>eSad^gZEa<4bO1wgWnpw> zWFU8GbZ8()Nlj2!fese{006y7L_t(I%cYaC4TCTcMPC>rdr-#%(32t3xkA*)RXPt5 zdIo^ndt{BIIiibW1A#A{WZ8G$=YQXD5U12;HEX>4Tx04R}tkv&MmKpe$i(-uW54t7v+$WWauh>AE$6^me@v=v%)FuC*#nlvOS zE{=k0!NHHks)LKOt`4q(Aou~|;_9U6A|?JWDYS_3;J6>}?mh0_0Yam~R5LIEsG4P@ z;xRFsTNS%r5yTLB5kf#>rk+SIX5cx#?&0I>U6f~epZjz4DS49tK9P8i>4rtTK|Hf* z>74h8!>lAJ#OK8023?T&k?XR{Z=8z`3p_JyWK#3QVPdh^!Ey()lA#h$6Gs$PqkJLj zvch?bvs$UK);;+PLwRi_&2^e1h+_!}Bq2gZ4P{hdAxf)8iis5M$2|PQjz38*nOtQs zax9<<6_Voz|AXJ%nuV!JHz^bYf-koHF$#3;0?oQ@e;?a+^91le16NwxUu^)hpQP8@ zTI2}m-v%zO+nT%wT zj1?(+-Q(TeoxS~grq$mM7JzbspmpGj00006VoOIv0RI600RN!9r;`8x010qNS#tmY z3ljhU3ljkVnw%H_000McNliru;{_QM6%!HB_>TYp02y>eSad^gZEa<4bO1wgWnpw> zWFU8GbZ8()Nlj2!fese{007WQL_t(I%cYYs5`r)gMW0xB2fYL|w&oVlF<5&63TrAm zdL|v*0xDX#gcsld+5}xQ1`+_GAOw_2)j(Bf-Apz};&>0F zz{PQ44rGPa_c5`x4&Q+D#KcG75cq!E_5A?giOm#sJrc!;$sv~I=; zLPxO-8=<727QCRcHCO~syz{@PWrNCLG8s0iR|Dg)d_q85$b59A)F1=O8Kak`_S1=7 q-w%QBx4_Og&SmARwDRiDv>H!c&_IbJTWWUz0000| zxA&jf59DzcctjR6FmMZlFeAgPITAoY_7YEDSN1y`;vAy| zxA&jf59DzcctjR6FmMZlFeAgPITAoY_7YEDSN1y`;v6FKKb3EC1BH}5T^vI=t|uoP z;C)upuu) + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/3rdparty/light_style_sheet/svg/checkbox_checked_disabled.svg b/3rdparty/light_style_sheet/svg/checkbox_checked_disabled.svg new file mode 100644 index 0000000..79e23f2 --- /dev/null +++ b/3rdparty/light_style_sheet/svg/checkbox_checked_disabled.svg @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/3rdparty/light_style_sheet/svg/checkbox_checked_focus.svg b/3rdparty/light_style_sheet/svg/checkbox_checked_focus.svg new file mode 100644 index 0000000..2683c6b --- /dev/null +++ b/3rdparty/light_style_sheet/svg/checkbox_checked_focus.svg @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/3rdparty/light_style_sheet/svg/checkbox_indeterminate.svg b/3rdparty/light_style_sheet/svg/checkbox_indeterminate.svg new file mode 100644 index 0000000..648734a --- /dev/null +++ b/3rdparty/light_style_sheet/svg/checkbox_indeterminate.svg @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/3rdparty/light_style_sheet/svg/checkbox_indeterminate_disabled.svg b/3rdparty/light_style_sheet/svg/checkbox_indeterminate_disabled.svg new file mode 100644 index 0000000..79f9afb --- /dev/null +++ b/3rdparty/light_style_sheet/svg/checkbox_indeterminate_disabled.svg @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/3rdparty/light_style_sheet/svg/checkbox_indeterminate_focus.svg b/3rdparty/light_style_sheet/svg/checkbox_indeterminate_focus.svg new file mode 100644 index 0000000..22d7337 --- /dev/null +++ b/3rdparty/light_style_sheet/svg/checkbox_indeterminate_focus.svg @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/3rdparty/light_style_sheet/svg/checkbox_unchecked.svg b/3rdparty/light_style_sheet/svg/checkbox_unchecked.svg new file mode 100644 index 0000000..b365e1b --- /dev/null +++ b/3rdparty/light_style_sheet/svg/checkbox_unchecked.svg @@ -0,0 +1,71 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/3rdparty/light_style_sheet/svg/checkbox_unchecked_disabled.svg b/3rdparty/light_style_sheet/svg/checkbox_unchecked_disabled.svg new file mode 100644 index 0000000..a2a2059 --- /dev/null +++ b/3rdparty/light_style_sheet/svg/checkbox_unchecked_disabled.svg @@ -0,0 +1,71 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/3rdparty/light_style_sheet/svg/checkbox_unchecked_focus.svg b/3rdparty/light_style_sheet/svg/checkbox_unchecked_focus.svg new file mode 100644 index 0000000..ffb2523 --- /dev/null +++ b/3rdparty/light_style_sheet/svg/checkbox_unchecked_focus.svg @@ -0,0 +1,71 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/3rdparty/light_style_sheet/svg/radio_checked.svg b/3rdparty/light_style_sheet/svg/radio_checked.svg new file mode 100644 index 0000000..062c7ec --- /dev/null +++ b/3rdparty/light_style_sheet/svg/radio_checked.svg @@ -0,0 +1,73 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/3rdparty/light_style_sheet/svg/radio_checked_disabled.svg b/3rdparty/light_style_sheet/svg/radio_checked_disabled.svg new file mode 100644 index 0000000..c0d9720 --- /dev/null +++ b/3rdparty/light_style_sheet/svg/radio_checked_disabled.svg @@ -0,0 +1,73 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/3rdparty/light_style_sheet/svg/radio_checked_focus.svg b/3rdparty/light_style_sheet/svg/radio_checked_focus.svg new file mode 100644 index 0000000..458c051 --- /dev/null +++ b/3rdparty/light_style_sheet/svg/radio_checked_focus.svg @@ -0,0 +1,73 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/3rdparty/light_style_sheet/svg/radio_unchecked.svg b/3rdparty/light_style_sheet/svg/radio_unchecked.svg new file mode 100644 index 0000000..83db993 --- /dev/null +++ b/3rdparty/light_style_sheet/svg/radio_unchecked.svg @@ -0,0 +1,67 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/3rdparty/light_style_sheet/svg/radio_unchecked_disabled.svg b/3rdparty/light_style_sheet/svg/radio_unchecked_disabled.svg new file mode 100644 index 0000000..0297243 --- /dev/null +++ b/3rdparty/light_style_sheet/svg/radio_unchecked_disabled.svg @@ -0,0 +1,67 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/3rdparty/light_style_sheet/svg/radio_unchecked_focus.svg b/3rdparty/light_style_sheet/svg/radio_unchecked_focus.svg new file mode 100644 index 0000000..3f5e289 --- /dev/null +++ b/3rdparty/light_style_sheet/svg/radio_unchecked_focus.svg @@ -0,0 +1,67 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/include/lrglobal.h b/include/lrglobal.h index 76af327..da6ab47 100644 --- a/include/lrglobal.h +++ b/include/lrglobal.h @@ -90,7 +90,7 @@ namespace Const{ const QString DATAFUNCTIONS_MANAGER_NAME = "DatasourceFunctions"; const QString EOW("~!@#$%^&*()+{}|:\"<>?,/;'[]\\-="); const int DEFAULT_TAB_INDENTION = 4; - + const int DOCKWIDGET_MARGINS = 4; } QString extractClassName(QString className); QString escapeSimbols(const QString& value); diff --git a/limereport/databrowser/lrdatabrowser.cpp b/limereport/databrowser/lrdatabrowser.cpp index 5e335f2..2deebd6 100644 --- a/limereport/databrowser/lrdatabrowser.cpp +++ b/limereport/databrowser/lrdatabrowser.cpp @@ -63,6 +63,8 @@ DataBrowser::DataBrowser(QWidget *parent) : connect(ui->changeConnection,SIGNAL(clicked()),this,SLOT(slotChangeConnection())); connect(ui->pbConnect,SIGNAL(clicked()),this,SLOT(slotChangeConnectionState())); + ui->verticalLayout_2->setMargin(Const::DOCKWIDGET_MARGINS); + ui->dataTree->setHeaderLabel(tr("Datasources")); ui->pbConnect->setEnabled(false); } diff --git a/limereport/lrglobal.h b/limereport/lrglobal.h index 76af327..da6ab47 100644 --- a/limereport/lrglobal.h +++ b/limereport/lrglobal.h @@ -90,7 +90,7 @@ namespace Const{ const QString DATAFUNCTIONS_MANAGER_NAME = "DatasourceFunctions"; const QString EOW("~!@#$%^&*()+{}|:\"<>?,/;'[]\\-="); const int DEFAULT_TAB_INDENTION = 4; - + const int DOCKWIDGET_MARGINS = 4; } QString extractClassName(QString className); QString escapeSimbols(const QString& value); diff --git a/limereport/lrreportdesignwidget.cpp b/limereport/lrreportdesignwidget.cpp index 343789a..42e6297 100644 --- a/limereport/lrreportdesignwidget.cpp +++ b/limereport/lrreportdesignwidget.cpp @@ -57,7 +57,7 @@ ReportDesignWidget::ReportDesignWidget(ReportEnginePrivateInterface* report, QSe m_dialogDesignerManager(new DialogDesignerManager(this)), #endif m_mainWindow(mainWindow), m_verticalGridStep(10), m_horizontalGridStep(10), m_useGrid(false), - m_dialogChanged(false), m_useDarkTheme(false), m_settings(settings) + m_dialogChanged(false), m_theme("Default"), m_settings(settings) { #ifdef HAVE_QT4 m_tabWidget = new LimeReportTabWidget(this); @@ -100,6 +100,10 @@ ReportDesignWidget::ReportDesignWidget(ReportEnginePrivateInterface* report, QSe connect(m_dialogDesignerManager, SIGNAL(dialogNameChanged(QString,QString)), this, SLOT(slotDialogNameChanged(QString,QString))); #endif + + m_themes.insert("Default",""); + initThemeIfExist("Dark", ":/qdarkstyle/style.qss"); + initThemeIfExist("Light", ":/qlightstyle/lightstyle.qss"); } #ifdef HAVE_QTDESIGNER_INTEGRATION @@ -185,7 +189,7 @@ void ReportDesignWidget::saveState() m_settings->setValue("vGridStep",m_verticalGridStep); m_settings->setValue("defaultFont",m_defaultFont); m_settings->setValue("useGrid",m_useGrid); - m_settings->setValue("useDarkTheme",m_useDarkTheme); + m_settings->setValue("theme",m_theme); m_settings->setValue("ScriptEditorState", m_scriptEditor->saveState()); m_settings->endGroup(); } @@ -196,17 +200,27 @@ void ReportDesignWidget::applySettings() m_report->pageAt(i)->pageItem()->setFont(m_defaultFont); } applyUseGrid(); - if (m_useDarkTheme) { - QFile theme(":/qdarkstyle/style.qss"); - theme.open(QIODevice::ReadOnly); - QString styleSheet = theme.readAll(); - parentWidget()->setStyleSheet(styleSheet); - m_report->setStyleSheet(styleSheet); + + if (m_themes.contains(m_theme)){ + parentWidget()->setStyleSheet(m_themes.value(m_theme)); + m_report->setStyleSheet(m_themes.value(m_theme)); } else { + m_theme = "Default"; parentWidget()->setStyleSheet(""); m_report->setStyleSheet(""); } +// if (m_theme.compare("Dark") == 0) { +// QFile theme(":/qdarkstyle/style.qss"); +// theme.open(QIODevice::ReadOnly); +// QString styleSheet = theme.readAll(); +// parentWidget()->setStyleSheet(styleSheet); +// m_report->setStyleSheet(styleSheet); +// } else { +// parentWidget()->setStyleSheet(""); +// m_report->setStyleSheet(""); +// } + if (m_settings){ m_settings->beginGroup("ScriptEditor"); QVariant v = m_settings->value("DefaultFontName"); @@ -244,9 +258,9 @@ void ReportDesignWidget::loadState() m_useGrid = v.toBool(); } - v = m_settings->value("useDarkTheme"); + v = m_settings->value("theme"); if (v.isValid()){ - m_useDarkTheme = v.toBool(); + m_theme = v.toString(); } v = m_settings->value("ScriptEditorState"); @@ -684,6 +698,17 @@ void ReportDesignWidget::prepareReport() report()->clearSelection(); } +void ReportDesignWidget::initThemeIfExist(const QString &themeName, const QString &path) +{ + QFile theme(path); + if (theme.exists()){ + theme.open(QIODevice::ReadOnly); + QString styleSheet = theme.readAll(); + m_themes.insert(themeName, styleSheet); + m_localToEng.insert(QObject::tr(themeName.toLatin1()), themeName); + } +} + void ReportDesignWidget::previewReport() { prepareReport(); @@ -749,14 +774,25 @@ void ReportDesignWidget::editSetting() setting.setHorizontalGridStep(m_horizontalGridStep); setting.setDefaultFont(m_defaultFont); setting.setSuppressAbsentFieldsAndVarsWarnings(m_report->suppressFieldAndVarError()); - setting.setUseDarkTheme(m_useDarkTheme); + + QStringList themes; + themes.append(QObject::tr("Default")); + foreach(QString theme, m_themes.keys()) + if (!themes.contains(QObject::tr(theme.toLatin1()))) + themes.append(QObject::tr(theme.toLatin1())); + + setting.setDesignerThemes(themes, QObject::tr(m_theme.toLatin1())); setting.setDesignerLanguages(m_report->designerLanguages(), m_report->currentDesignerLanguage()); if (setting.exec()){ m_horizontalGridStep = setting.horizontalGridStep(); m_verticalGridStep = setting.verticalGridStep(); m_defaultFont = setting.defaultFont(); - m_useDarkTheme = setting.userDarkTheme(); + if (m_localToEng.contains(setting.theme())){ + m_theme = m_localToEng.value(setting.theme()); + } else { + m_theme = "Default"; + } m_report->setSuppressFieldAndVarError(setting.suppressAbsentFieldsAndVarsWarnings()); if (m_report->currentDesignerLanguage() != setting.designerLanguage() ){ m_report->setCurrentDesignerLanguage(setting.designerLanguage()); diff --git a/limereport/lrreportdesignwidget.h b/limereport/lrreportdesignwidget.h index 7f41456..5229ce8 100644 --- a/limereport/lrreportdesignwidget.h +++ b/limereport/lrreportdesignwidget.h @@ -206,6 +206,7 @@ protected: private: bool eventFilter(QObject *target, QEvent *event); void prepareReport(); + void initThemeIfExist(const QString& themeName, const QString& path); private: ReportEnginePrivateInterface* m_report; QGraphicsView *m_view; @@ -228,8 +229,10 @@ private: bool m_useGrid; bool m_useMagnet; bool m_dialogChanged; - bool m_useDarkTheme; + QString m_theme; QSettings* m_settings; + QMap m_themes; + QMap m_localToEng; }; } // namespace LimeReport diff --git a/limereport/lrreportdesignwindow.cpp b/limereport/lrreportdesignwindow.cpp index 5eba0e7..1b79168 100644 --- a/limereport/lrreportdesignwindow.cpp +++ b/limereport/lrreportdesignwindow.cpp @@ -512,7 +512,7 @@ void ReportDesignWindow::createObjectInspector() QWidget* w = new QWidget(objectDoc); QVBoxLayout* l = new QVBoxLayout(w); l->addWidget(m_objectInspector); - l->setContentsMargins(2,2,2,2); + l->setMargin(0); w->setLayout(l); objectDoc->setWindowTitle(tr("Object Inspector")); objectDoc->setWidget(w); diff --git a/limereport/lrsettingdialog.cpp b/limereport/lrsettingdialog.cpp index b7ad816..ee54096 100644 --- a/limereport/lrsettingdialog.cpp +++ b/limereport/lrsettingdialog.cpp @@ -2,6 +2,7 @@ #include "ui_lrsettingdialog.h" #include "lrglobal.h" #include +#include namespace LimeReport{ @@ -10,10 +11,14 @@ SettingDialog::SettingDialog(QWidget *parent) : ui(new Ui::SettingDialog) { ui->setupUi(this); - QFile theme(":/qdarkstyle/style.qss"); - if (!theme.exists()){ - ui->cbbUseDarkTheme->setVisible(false); - } + ui->toolBox->setCurrentIndex(0); +// ui->cbTheme->addItem(QObject::tr("Default")); +// if (isFileExists(":/qdarkstyle/style.qss")){ +// ui->cbTheme->addItem(QObject::tr("Dark")); +// } +// if (isFileExists(":/qlightstyle/lightstyle.qss")){ +// ui->cbTheme->addItem(QObject::tr("Light")); +// } ui->indentSize->setRange(0,10); } @@ -51,9 +56,9 @@ int SettingDialog::tabIndention() return ui->indentSize->value(); } -bool SettingDialog::userDarkTheme() +QString SettingDialog::theme() { - return ui->cbbUseDarkTheme->isChecked(); + return ui->cbTheme->currentText(); } bool SettingDialog::suppressAbsentFieldsAndVarsWarnings() @@ -101,9 +106,13 @@ void SettingDialog::setScritpTabIndention(int size) ui->indentSize->setValue(size); } -void SettingDialog::setUseDarkTheme(bool value) +void SettingDialog::setTheme(const QString &theme) { - ui->cbbUseDarkTheme->setChecked(value); +#ifdef HAVE_QT4 + ui->cbTheme->setCurrentIndex(ui->cbTheme->findText(theme)); +#else + ui->cbTheme->setCurrentText(theme); +#endif } void SettingDialog::setDesignerLanguages(QList languages, QLocale::Language currentLanguage) @@ -128,6 +137,17 @@ void SettingDialog::setDesignerLanguages(QList languages, QLo #endif } +void SettingDialog::setDesignerThemes(QList themes, const QString ¤tTheme) +{ + ui->cbTheme->clear(); + ui->cbTheme->addItems(themes); +#ifdef HAVE_QT4 + ui->cbTheme->setCurrentIndex(ui->cbTheme->findText(currentTheme)); +#else + ui->cbTheme->setCurrentText(currentTheme); +#endif +} + void SettingDialog::setSettings(QSettings* settings){ m_settings = settings; if (m_settings){ @@ -159,6 +179,12 @@ void SettingDialog::on_bbOkCancel_accepted() } } +bool SettingDialog::isFileExists(const QString &path) +{ + QFileInfo check_file(path); + return check_file.exists() && check_file.isFile(); +} + } // namespace LimeReport diff --git a/limereport/lrsettingdialog.h b/limereport/lrsettingdialog.h index bc4e862..3049d87 100644 --- a/limereport/lrsettingdialog.h +++ b/limereport/lrsettingdialog.h @@ -23,7 +23,7 @@ public: QFont defaultFont(); QFont scriptFont(); int tabIndention(); - bool userDarkTheme(); + QString theme(); bool suppressAbsentFieldsAndVarsWarnings(); QLocale::Language designerLanguage(); void setSuppressAbsentFieldsAndVarsWarnings(bool value); @@ -32,12 +32,14 @@ public: void setDefaultFont(const QFont& value); void setScriptFont(const QFont& value); void setScritpTabIndention(int size); - void setUseDarkTheme(bool value); + void setTheme(const QString& theme); void setDesignerLanguages(QList languages, QLocale::Language currentLanguage); + void setDesignerThemes(QList themes, const QString& currentTheme); void setSettings(QSettings* settings); private slots: void on_bbOkCancel_accepted(); - +private: + bool isFileExists(const QString& path); private: Ui::SettingDialog *ui; QList m_aviableLanguages; diff --git a/limereport/lrsettingdialog.ui b/limereport/lrsettingdialog.ui index 12af083..86fe2e2 100644 --- a/limereport/lrsettingdialog.ui +++ b/limereport/lrsettingdialog.ui @@ -7,7 +7,7 @@ 0 0 419 - 362 + 378 @@ -23,7 +23,7 @@ - 0 + 2 @@ -31,7 +31,7 @@ 0 0 401 - 218 + 250 @@ -148,11 +148,44 @@ - - - Use dark theme + + + + + + 0 + 0 + + + + Theme + + + + + + + + 0 + 0 + + + + + + + + + + Qt::Vertical - + + + 20 + 40 + + + @@ -162,7 +195,7 @@ 0 0 401 - 218 + 250 @@ -251,25 +284,34 @@ 0 0 401 - 218 + 250 Report settings - - - - 10 - 10 - 280 - 23 - - - - Suppress absent fields and variables warning - - + + + + + Suppress absent fields and variables warning + + + + + + + Qt::Vertical + + + + 20 + 204 + + + + + diff --git a/limereport/objectinspector/lrobjectinspectorwidget.cpp b/limereport/objectinspector/lrobjectinspectorwidget.cpp index 2fbfff0..d4158f0 100644 --- a/limereport/objectinspector/lrobjectinspectorwidget.cpp +++ b/limereport/objectinspector/lrobjectinspectorwidget.cpp @@ -189,7 +189,7 @@ ObjectInspectorWidget::ObjectInspectorWidget(QWidget *parent) h->addWidget(pbClear); l->addLayout(h); l->addWidget(m_objectInspectorView); - l->setContentsMargins(2,2,2,2); + l->setMargin(Const::DOCKWIDGET_MARGINS); l->setSpacing(2); this->setLayout(l); } diff --git a/limereport/objectsbrowser/lrobjectbrowser.cpp b/limereport/objectsbrowser/lrobjectbrowser.cpp index a7e39ba..a86fac3 100644 --- a/limereport/objectsbrowser/lrobjectbrowser.cpp +++ b/limereport/objectsbrowser/lrobjectbrowser.cpp @@ -40,7 +40,7 @@ ObjectBrowser::ObjectBrowser(QWidget *parent) { QVBoxLayout *layout = new QVBoxLayout(this); setLayout(layout); - layout->setMargin(2); + layout->setMargin(Const::DOCKWIDGET_MARGINS); m_treeView = new QTreeWidget(this); layout->addWidget(m_treeView); m_treeView->headerItem()->setText(0,tr("Objects")); diff --git a/limereport/scriptbrowser/lrscriptbrowser.cpp b/limereport/scriptbrowser/lrscriptbrowser.cpp index 148ddb7..4407170 100644 --- a/limereport/scriptbrowser/lrscriptbrowser.cpp +++ b/limereport/scriptbrowser/lrscriptbrowser.cpp @@ -43,6 +43,7 @@ ScriptBrowser::ScriptBrowser(QWidget *parent) : ui(new Ui::ScriptBrowser) { ui->setupUi(this); + ui->verticalLayout->setMargin(Const::DOCKWIDGET_MARGINS); #ifndef HAVE_UI_LOADER ui->tpDialogs->setVisible(false); ui->tabWidget->removeTab(ui->tabWidget->indexOf(ui->tpDialogs)); diff --git a/translations/limereport_ru.ts b/translations/limereport_ru.ts index 37c87ec..65d08fd 100644 --- a/translations/limereport_ru.ts +++ b/translations/limereport_ru.ts @@ -1935,6 +1935,10 @@ p, li { white-space: pre-wrap; } hideText Скрывать текст + + option3 + + LimeReport::RectMMPropItem @@ -2428,6 +2432,22 @@ This preview is no longer valid. Datasource with name %1 already exist Источник данных %1 уже существует + + CSV + + + + Separator + Разделитель + + + ; + ; + + + Use first row as header + Первая строка как заголовок + LimeReport::ScriptBrowser @@ -2635,10 +2655,6 @@ This preview is no longer valid. Language Язык - - Use dark theme - Использовать Темную тему - Designer settings Настройки дизайнера @@ -2659,6 +2675,10 @@ This preview is no longer valid. Report settings Настройки отчета + + Theme + Тема + LimeReport::SubDetailBand @@ -3074,5 +3094,9 @@ This preview is no longer valid. Export to PDF Экспортировать в PDF + + Default + По умолчанию +