From dde1ade5bf7df08e8d70e937b97e633597877b20 Mon Sep 17 00:00:00 2001 From: Nighty3098 Date: Fri, 19 Apr 2024 22:12:10 +0700 Subject: [PATCH] Update --- src/CodeKeeper/mainwindow.cpp | 1 + src/resources/down-arrow.png | Bin 0 -> 2806 bytes src/resources/resources.qrc | 2 ++ src/resources/up-arrow.png | Bin 0 -> 4429 bytes src/stylesheet/stylesheet.qss | 40 +++++++++++++++------------------- 5 files changed, 20 insertions(+), 23 deletions(-) create mode 100644 src/resources/down-arrow.png create mode 100644 src/resources/up-arrow.png diff --git a/src/CodeKeeper/mainwindow.cpp b/src/CodeKeeper/mainwindow.cpp index 214e96f8..ccafb12b 100644 --- a/src/CodeKeeper/mainwindow.cpp +++ b/src/CodeKeeper/mainwindow.cpp @@ -60,6 +60,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) " background-repeat: no-repeat;" " background-color: rgba(0, 0, 0, 0);" "}"); + minimizeBtn->setStyleSheet("QPushButton {" " border-color: rgba(0, 0, 0, 0);" " background-color: rgba(0, 0, 0, 0);" diff --git a/src/resources/down-arrow.png b/src/resources/down-arrow.png new file mode 100644 index 0000000000000000000000000000000000000000..3dfec09ec269db62b33f2f0c850969b2c7f19ed0 GIT binary patch literal 2806 zcmeHI`B&207C&DG1qFxFa?D6HOH)+T?3!YxiBmosoUTQwp+e4@VkuDBtsF76kdk{f zvX><<)3lq3)#^Tb8D>_bWvra)IX*O}2p;(Uf_HzuXRWjL`RvbUfA(JcmvcTeWDi!$ zL<<0bCHwCV0|2Ia!T?G`73OpLS5yI!v5UMPr8*~3alfcAI@Lci0|1?;>I+rc>X@pM z#+kkmnfp?XWu7>a9uH2OIANcdOv{Kpk{WNHl1{Ce_AmiJD}%h-dw&jZ>SJ(9Ot_(j z^nQ@PukC^OUT-Ry#3ru|d@<-48G;pMuYw z`z-bhktK3UIdac#afQc6#X9IhSwYZO8abak(u}8SH;FkOA?cluf4~}j6^_?crNOdK zc3w;2P2=PZG4g28p^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cVFJWN#3J{{PH_WdgK}}!IzvnQZVHf=Ge+&()Ef$%}O$(TP4Vt)2Z;8`|8!1Y}Qd}?_J;y>tM5>{F5Vy9JjW9Xc!9nk5Y z(Bm(|Mdb`r^*|A1hgFp=?UdS*Uv_X+rA0fgh7`-&7owt`T;zQCn27`;?`eFlTlbvV&{FN@+|2)^ zK)}4cb|j5MjZ|e~WqhhU~txi^Bddyellow.png yellowHovered.png yellowPressed.png + up-arrow.png + down-arrow.png diff --git a/src/resources/up-arrow.png b/src/resources/up-arrow.png new file mode 100644 index 0000000000000000000000000000000000000000..85e1d6f50ca1c9c8ab445cf5b48b40be8ce973cc GIT binary patch literal 4429 zcmeHK`#V(o8lRb(!b&PNQz=tYavN=(P-t937YgIfxDzt2xfE;m?sh8CPCKC*DP+oZ z%AJ`~Nra(s*NoaRa%api)2ww?`+qpUoae0PS*tc zDcaduIigS)q%$8#ZoI-n<2e-@0wP%8s3?gk8JU_NedO zr?FpCOIt^msCVEu{e%BHWMF7?_=vHI=~0rIxrL>b^)VY;yW=NLp0am1ea6wrne5`~ z=I-I?`KqeArnauWp|Od@e*LET?Ys9aA6h@Q zwSVg9?BaCyeCGD{^$!dV4Uc@`@khUY`}_OYxM1SPRNesn=lX9oHTRKu> zs2WP@aGty+8m7NgspKR8H zhe1Gpu0e$m_S!s^+rgrjFB;}6r@ld?Ix!ErEqYl!y_x6l==u^AtcT&7auNVPrwK$o zff?zbX>)wmARWO z$jF3N-L`qcsEf`nyGo_+v2aHDl;`O-&z_#wNVRT}ElTzm?gebGPT9mR$PT!OE`<(U z+#nzRD>R1y+dLM3D7unxtaB=tvjIx18ne+4WTn5w=ueeNu!>xzpw`sg(OBSvnaz+y z8{d`QRI%g=`BqImUahmM3F@YNx@~$d(E7smJ}Xh)nx(R_54iF>*tZ-CJegf-lUYGC zlGw}vgO%5mUBqpzf{0jf6ys7sV@RK?_HX4{dgOo~F>2};0>k4n&fYQ2zbLiY{Q7sK z(XK$8ql{>}gB5kLEJO3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#*%a2x81t z?K+vUNspRDT2EUs?{bXFxh9~$#i(w28vb~h$iF0X2u3SuHEAb0K(fg$wQcbW6t?LK zxb7!%@bF}>TIp4JC~lz%6Oz%HmpT`XU(19J=h5QvzFDTPrB4gb27ZcBrLcm@Bxmr`RcB+}u}cxivx z`oIjN*F4ZBfF{egnuX)qCXR4#=)A61z znq}~}XUW?2_St`jMRIkDpSiRhJAU(rQ|`HsP;Ps>+u)vR6Fa z>{OL!m37->q5Mz7-uOUayzFirX!>lle~_*ft0?YO1bJTJ?G=jErlBoxuc+D5w3bwWY+{Oujqx$_tF-+QeUM9JK5mDPNnw-Fs_hxp?sYH)Gce zZq;^V)r$F2{mA0*9FpS_EPt|Oh4fwao;oc0H(9(`#>yPLH9S*qlDqGb%cP&;nl!gF z6T8*mBX@bS_}&iFNQQ9v+KoRiDd-!Q+S?WRSe7;>^Eo9yVwJsJhl~68pcfd;vJ`#Q fEd8(iI(UgeL7@EOO}(cre(ATfwzn#^@crXI{6j7) literal 0 HcmV?d00001 diff --git a/src/stylesheet/stylesheet.qss b/src/stylesheet/stylesheet.qss index 57fd2ac6..d52f593b 100644 --- a/src/stylesheet/stylesheet.qss +++ b/src/stylesheet/stylesheet.qss @@ -1,42 +1,40 @@ -QStatusBar { - background-color: #222436; +QDialog { + background-color: #2f334d; + border-width: 2px; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; } - -QStatusBar::QSizeGrip { - background-color: transparent; +QWidget { + background-color: #222436; + border-width: 2px; + border-color: #ffffff; + border-top-left-radius: 10px; + border-top-right-radius: 10px; + border-bottom-right-radius: 10px; + border-bottom-left-radius: 10px; } - QMainWindow { background-color: #222436; color: #c8d3f5; } -QDialog { - background-color: #2f334d; - border-width: 2px; +QStatusBar { + background-color: #222436; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; } -QSizeGrip { +QStatusBar::QSizeGrip { background-color: transparent; - border-radius: 10px; } -QWidget { - background-color: #222436; - border-width: 2px; - border-color: #ffffff; - border-top-left-radius: 10px; - border-top-right-radius: 10px; - border-bottom-right-radius: 10px; - border-bottom-left-radius: 10px; +QSizeGrip { + background-color: transparent; + border-radius: 10px; } QMarkdownTextEdit { @@ -62,10 +60,6 @@ QMarkdownTextEdit::lineNumber::selected:active { border-radius: 10px; } -QFrame { - -} - QFileDialog { background-color: #1a1b26; }