重新更新主窗口的按钮的尺寸

This commit is contained in:
work-zym\zhangyiming 2024-12-13 16:49:46 +08:00
parent 1aee19e19e
commit 2bcefa52d4
3 changed files with 13 additions and 13 deletions

@ -1,15 +1,15 @@
QPushButton#systemsetting{background-image:url(:/image/index_bg_setting_char.png);width: 1012.79px;
height: 1014.27px;}
QPushButton#systemsetting:hover{background-image:url(:/image/index_bg_setting_hover.png);}
QPushButton#systemsetting:pressed{background-image:url(:/image/index_bg_setting_checked.png);}
QPushButton#egg{background-image:url(:/image/index_bg_EEG_char.png);width: 1012.79px;
height: 1014.27px;}
QPushButton#egg:hover{background-image:url(:/image/index_bg_EEG_hover.png);}
QPushButton#egg:pressed{background-image:url(:/image/index_bg_EEG_checked.png);}
QPushButton#dataprocess{background-image:url(:/image/index_bg_data_char.png);width: 1012.79px;
height: 1014.27px;}
QPushButton#dataprocess:hover{background-image:url(:/image/index_bg_data_hover.png);}
QPushButton#dataprocess:pressed{background-image:url(:/image/index_bg_data_checked.png);}
QPushButton#systemsetting{border-image:url(:/image/index_bg_setting_char.png);width: 450px;
height: 500px;}
QPushButton#systemsetting:hover{border-image:url(:/image/index_bg_setting_hover.png);}
QPushButton#systemsetting:pressed{border-image:url(:/image/index_bg_setting_checked.png);}
QPushButton#egg{border-image:url(:/image/index_bg_EEG_char.png);width: 450px;
height: 500px;}
QPushButton#egg:hover{border-image:url(:/image/index_bg_EEG_hover.png);}
QPushButton#egg:pressed{border-image:url(:/image/index_bg_EEG_checked.png);}
QPushButton#dataprocess{border-image:url(:/image/index_bg_data_char.png);width: 450px;
height: 500px;}
QPushButton#dataprocess:hover{border-image:url(:/image/index_bg_data_hover.png);}
QPushButton#dataprocess:pressed{border-image:url(:/image/index_bg_data_checked.png);}
QLineEdit
{
border: 1px solid #ABCDA0;

Binary file not shown.

@ -27,7 +27,7 @@
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
// QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
//qInstallMessageHandler(MessageHandler);
QTextCodec *codec = QTextCodec::codecForName("GBK");
QTextCodec::setCodecForLocale(codec);