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)