diff --git a/assets/brightness-hot.png b/assets/brightness-hot.png index 9bffada..2102440 100644 Binary files a/assets/brightness-hot.png and b/assets/brightness-hot.png differ diff --git a/assets/circle-hot.png b/assets/circle-hot.png index 84368d7..1eb7707 100644 Binary files a/assets/circle-hot.png and b/assets/circle-hot.png differ diff --git a/assets/circle-pressed.png b/assets/circle-pressed.png index 7d03969..6d40bdc 100644 Binary files a/assets/circle-pressed.png and b/assets/circle-pressed.png differ diff --git a/assets/circle.png b/assets/circle.png index dada437..bc53934 100644 Binary files a/assets/circle.png and b/assets/circle.png differ diff --git a/assets/ico_androidauto.png b/assets/ico_androidauto.png old mode 100755 new mode 100644 diff --git a/assets/ico_info.png b/assets/ico_info.png old mode 100755 new mode 100644 diff --git a/assets/ico_setting.png b/assets/ico_setting.png old mode 100755 new mode 100644 diff --git a/assets/ico_warning.png b/assets/ico_warning.png old mode 100755 new mode 100644 diff --git a/assets/power-hot.png b/assets/power-hot.png index b11533e..d9d7813 100644 Binary files a/assets/power-hot.png and b/assets/power-hot.png differ diff --git a/assets/settings-hot.png b/assets/settings-hot.png index ddf6e86..2c6fc6e 100644 Binary files a/assets/settings-hot.png and b/assets/settings-hot.png differ diff --git a/assets/sleep-hot.png b/assets/sleep-hot.png index f6f7480..25ab8e5 100644 Binary files a/assets/sleep-hot.png and b/assets/sleep-hot.png differ diff --git a/assets/wifi-hot.png b/assets/wifi-hot.png index e26ee63..b206971 100644 Binary files a/assets/wifi-hot.png and b/assets/wifi-hot.png differ diff --git a/src/autoapp/UI/MainWindow.cpp b/src/autoapp/UI/MainWindow.cpp index 8b7c485..8a26910 100644 --- a/src/autoapp/UI/MainWindow.cpp +++ b/src/autoapp/UI/MainWindow.cpp @@ -37,8 +37,8 @@ MainWindow::MainWindow(configuration::IConfiguration::Pointer configuration, QWi { this->setStyleSheet("QMainWindow {background-color: rgb(0,0,0);} \ QPushButton { background: url(:/circle.png); border: 0; } \ - QPushButton:hover { background: url(:/circle-hot.png); } \ - QPushButton:focus { background: url(:/circle-hot.png); } \ + QPushButton:hover { background: url(:/circle.png); } \ + QPushButton:focus { background: url(:/circle.png); } \ QPushButton:pressed { background: url(:/circle-pressed.png); } \ "); QFileInfo wallpaperFile("wallpaper.png"); diff --git a/src/autoapp/UI/mainwindow.ui b/src/autoapp/UI/mainwindow.ui index 3cfa402..71166c5 100644 --- a/src/autoapp/UI/mainwindow.ui +++ b/src/autoapp/UI/mainwindow.ui @@ -17,8 +17,8 @@ - 10 - 10 + 30 + 34 64 64 @@ -43,18 +43,18 @@ true - + - 10 - 360 + 30 + 104 64 64 - :/power-hot.png:/power-hot.png + :/wifi-hot.png:/wifi-hot.png @@ -62,9 +62,6 @@ 64 - - false - true @@ -72,8 +69,8 @@ - 10 - 150 + 30 + 174 64 64 @@ -104,34 +101,11 @@ true - - - - 10 - 80 - 64 - 64 - - - - - :/wifi-hot.png:/wifi-hot.png - - - - 64 - 64 - - - - true - - - 10 - 220 + 30 + 244 64 64 @@ -159,10 +133,10 @@ - 80 - 230 - 221 - 41 + 200 + 210 + 400 + 60 @@ -178,12 +152,39 @@ Qt::Horizontal + + + + 30 + 384 + 64 + 64 + + + + + :/power-hot.png:/power-hot.png + + + + 64 + 64 + + + + false + + + true + + - pushButtonToggleCursor - pushButtonWirelessConnection pushButtonSettings + pushButtonWirelessConnection + pushButtonToggleCursor + pushButtonBrightness pushButtonExit