From 414fa3643360feb84c49fd928904d54f9f3e3828 Mon Sep 17 00:00:00 2001 From: JackLee_CN <809262979@qq.com> Date: Thu, 7 Nov 2024 12:37:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0qss=E6=96=87=E4=BB=B6,=20?= =?UTF-8?q?=E5=AD=90=E7=AA=97=E5=8F=A3=E5=8F=AF=E5=AE=9A=E5=88=B6=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E5=85=B3=E9=97=AD=E6=9C=80=E5=B0=8F=E5=8C=96=E5=92=8C?= =?UTF-8?q?=E6=9C=80=E5=A4=A7=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- res/qss/dark_style.qss | 4 ++++ res/qss/light_style.qss | 4 ++++ src/sui_title.cpp | 2 ++ 3 files changed, 10 insertions(+) diff --git a/res/qss/dark_style.qss b/res/qss/dark_style.qss index 7e00949..2c3263a 100644 --- a/res/qss/dark_style.qss +++ b/res/qss/dark_style.qss @@ -29,21 +29,25 @@ padding-top:1px; QPushButton#BTN_DOWNLOAD{ width:25px; height:25px; + border:none; image:url(":/res/img/btn/btn_download.png"); } QPushButton#BTN_SETS{ width:25px; height:25px; + border:none; image:url(":/res/img/btn/btn_setting.png"); } QPushButton#BTN_UPDATE{ width:25px; height:25px; + border:none; image:url(":/res/img/btn/btn_update.png"); } QPushButton#BTN_ABOUT{ width:25px; height:25px; + border:none; image:url(":/res/img/btn/btn_about.png"); } diff --git a/res/qss/light_style.qss b/res/qss/light_style.qss index b7e3ec3..76f6188 100644 --- a/res/qss/light_style.qss +++ b/res/qss/light_style.qss @@ -29,21 +29,25 @@ QPushButton:hover{ QPushButton#BTN_DOWNLOAD{ width:25px; height:25px; + border:none; image:url(":/res/img/btn/btn_download.png"); } QPushButton#BTN_SETS{ width:25px; height:25px; + border:none; image:url(":/res/img/btn/btn_setting.png"); } QPushButton#BTN_UPDATE{ width:25px; height:25px; + border:none; image:url(":/res/img/btn/btn_update.png"); } QPushButton#BTN_ABOUT{ width:25px; height:25px; + border:none; image:url(":/res/img/btn/btn_about.png"); } QTableView#GAME_INFO_TABLE::item:selected { diff --git a/src/sui_title.cpp b/src/sui_title.cpp index 0351603..396a9a2 100644 --- a/src/sui_title.cpp +++ b/src/sui_title.cpp @@ -305,6 +305,8 @@ void sui_title::set_type(QD_TYPE _type) else { disconnect(m_btn_vectors[0], SIGNAL(clicked(bool)), this, SLOT(slots_on_clicked())); + m_btn_vectors[1]->setVisible(false); + m_btn_vectors[2]->setVisible(false); } } void sui_title::set_title(QString str)