diff --git a/bin/defaultstyle.qss b/bin/defaultstyle.qss index 5de13da..913899a 100644 --- a/bin/defaultstyle.qss +++ b/bin/defaultstyle.qss @@ -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; diff --git a/bin/xyylMCWEACSystem.exe b/bin/xyylMCWEACSystem.exe index 3066fb1..86c7125 100644 Binary files a/bin/xyylMCWEACSystem.exe and b/bin/xyylMCWEACSystem.exe differ diff --git a/xyylMCWEACSystem/main.cpp b/xyylMCWEACSystem/main.cpp index 1934dec..b8cbb08 100644 --- a/xyylMCWEACSystem/main.cpp +++ b/xyylMCWEACSystem/main.cpp @@ -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);