diff options
| author | 2020-09-10 19:28:23 -0400 | |
|---|---|---|
| committer | 2020-09-10 19:28:23 -0400 | |
| commit | 03179ecafe8a5e9dedcab57f593f47ecc71b6877 (patch) | |
| tree | ac862b62f9d1e8c3c50915dcefc3f34863140e93 /dist | |
| parent | Merge pull request #4608 from lioncash/sign3 (diff) | |
| parent | Resolve spacing inconsistencies in style.qrc/qss files (diff) | |
| download | yuzu-03179ecafe8a5e9dedcab57f593f47ecc71b6877.tar.gz yuzu-03179ecafe8a5e9dedcab57f593f47ecc71b6877.tar.xz yuzu-03179ecafe8a5e9dedcab57f593f47ecc71b6877.zip | |
Merge pull request #4597 from Morph1984/mjolnir-p2
Project Mjölnir: Part 2 - Controller Applet
Diffstat (limited to 'dist')
36 files changed, 702 insertions, 74 deletions
diff --git a/dist/icons/controller/applet_dual_joycon.png b/dist/icons/controller/applet_dual_joycon.png new file mode 100644 index 000000000..32e0a04ae --- /dev/null +++ b/dist/icons/controller/applet_dual_joycon.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_dual_joycon_dark.png b/dist/icons/controller/applet_dual_joycon_dark.png new file mode 100644 index 000000000..6adc66356 --- /dev/null +++ b/dist/icons/controller/applet_dual_joycon_dark.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_dual_joycon_dark_disabled.png b/dist/icons/controller/applet_dual_joycon_dark_disabled.png new file mode 100644 index 000000000..208603ee7 --- /dev/null +++ b/dist/icons/controller/applet_dual_joycon_dark_disabled.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_dual_joycon_disabled.png b/dist/icons/controller/applet_dual_joycon_disabled.png new file mode 100644 index 000000000..43950618d --- /dev/null +++ b/dist/icons/controller/applet_dual_joycon_disabled.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_dual_joycon_midnight.png b/dist/icons/controller/applet_dual_joycon_midnight.png new file mode 100644 index 000000000..c7edea8a3 --- /dev/null +++ b/dist/icons/controller/applet_dual_joycon_midnight.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_dual_joycon_midnight_disabled.png b/dist/icons/controller/applet_dual_joycon_midnight_disabled.png new file mode 100644 index 000000000..ee1aafc85 --- /dev/null +++ b/dist/icons/controller/applet_dual_joycon_midnight_disabled.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_handheld.png b/dist/icons/controller/applet_handheld.png new file mode 100644 index 000000000..7f8dd2227 --- /dev/null +++ b/dist/icons/controller/applet_handheld.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_handheld_dark.png b/dist/icons/controller/applet_handheld_dark.png new file mode 100644 index 000000000..41f6d7aea --- /dev/null +++ b/dist/icons/controller/applet_handheld_dark.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_handheld_dark_disabled.png b/dist/icons/controller/applet_handheld_dark_disabled.png new file mode 100644 index 000000000..5a136ddd1 --- /dev/null +++ b/dist/icons/controller/applet_handheld_dark_disabled.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_handheld_disabled.png b/dist/icons/controller/applet_handheld_disabled.png new file mode 100644 index 000000000..53f8ce7ad --- /dev/null +++ b/dist/icons/controller/applet_handheld_disabled.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_handheld_midnight.png b/dist/icons/controller/applet_handheld_midnight.png new file mode 100644 index 000000000..7188b9154 --- /dev/null +++ b/dist/icons/controller/applet_handheld_midnight.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_handheld_midnight_disabled.png b/dist/icons/controller/applet_handheld_midnight_disabled.png new file mode 100644 index 000000000..6ccfc3253 --- /dev/null +++ b/dist/icons/controller/applet_handheld_midnight_disabled.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_pro_controller.png b/dist/icons/controller/applet_pro_controller.png new file mode 100644 index 000000000..e32258855 --- /dev/null +++ b/dist/icons/controller/applet_pro_controller.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_pro_controller_dark.png b/dist/icons/controller/applet_pro_controller_dark.png new file mode 100644 index 000000000..c122b7b11 --- /dev/null +++ b/dist/icons/controller/applet_pro_controller_dark.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_pro_controller_dark_disabled.png b/dist/icons/controller/applet_pro_controller_dark_disabled.png new file mode 100644 index 000000000..416e1e2fb --- /dev/null +++ b/dist/icons/controller/applet_pro_controller_dark_disabled.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_pro_controller_disabled.png b/dist/icons/controller/applet_pro_controller_disabled.png new file mode 100644 index 000000000..72a549ea9 --- /dev/null +++ b/dist/icons/controller/applet_pro_controller_disabled.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_pro_controller_midnight.png b/dist/icons/controller/applet_pro_controller_midnight.png new file mode 100644 index 000000000..622e57fa1 --- /dev/null +++ b/dist/icons/controller/applet_pro_controller_midnight.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_pro_controller_midnight_disabled.png b/dist/icons/controller/applet_pro_controller_midnight_disabled.png new file mode 100644 index 000000000..2907f3be4 --- /dev/null +++ b/dist/icons/controller/applet_pro_controller_midnight_disabled.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_single_joycon_left.png b/dist/icons/controller/applet_single_joycon_left.png new file mode 100644 index 000000000..47c44d43a --- /dev/null +++ b/dist/icons/controller/applet_single_joycon_left.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_single_joycon_left_dark.png b/dist/icons/controller/applet_single_joycon_left_dark.png new file mode 100644 index 000000000..69530b69c --- /dev/null +++ b/dist/icons/controller/applet_single_joycon_left_dark.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_single_joycon_left_dark_disabled.png b/dist/icons/controller/applet_single_joycon_left_dark_disabled.png new file mode 100644 index 000000000..cfe4b1475 --- /dev/null +++ b/dist/icons/controller/applet_single_joycon_left_dark_disabled.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_single_joycon_left_disabled.png b/dist/icons/controller/applet_single_joycon_left_disabled.png new file mode 100644 index 000000000..c0102dc20 --- /dev/null +++ b/dist/icons/controller/applet_single_joycon_left_disabled.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_single_joycon_left_midnight.png b/dist/icons/controller/applet_single_joycon_left_midnight.png new file mode 100644 index 000000000..56522bccb --- /dev/null +++ b/dist/icons/controller/applet_single_joycon_left_midnight.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_single_joycon_left_midnight_disabled.png b/dist/icons/controller/applet_single_joycon_left_midnight_disabled.png new file mode 100644 index 000000000..62434c188 --- /dev/null +++ b/dist/icons/controller/applet_single_joycon_left_midnight_disabled.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_single_joycon_right.png b/dist/icons/controller/applet_single_joycon_right.png new file mode 100644 index 000000000..b0d4fba90 --- /dev/null +++ b/dist/icons/controller/applet_single_joycon_right.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_single_joycon_right_dark.png b/dist/icons/controller/applet_single_joycon_right_dark.png new file mode 100644 index 000000000..af26cce4b --- /dev/null +++ b/dist/icons/controller/applet_single_joycon_right_dark.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_single_joycon_right_dark_disabled.png b/dist/icons/controller/applet_single_joycon_right_dark_disabled.png new file mode 100644 index 000000000..b33efab42 --- /dev/null +++ b/dist/icons/controller/applet_single_joycon_right_dark_disabled.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_single_joycon_right_disabled.png b/dist/icons/controller/applet_single_joycon_right_disabled.png new file mode 100644 index 000000000..01ca38322 --- /dev/null +++ b/dist/icons/controller/applet_single_joycon_right_disabled.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_single_joycon_right_midnight.png b/dist/icons/controller/applet_single_joycon_right_midnight.png new file mode 100644 index 000000000..5bf70e21e --- /dev/null +++ b/dist/icons/controller/applet_single_joycon_right_midnight.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/applet_single_joycon_right_midnight_disabled.png b/dist/icons/controller/applet_single_joycon_right_midnight_disabled.png new file mode 100644 index 000000000..e6693b027 --- /dev/null +++ b/dist/icons/controller/applet_single_joycon_right_midnight_disabled.png | |||
| Binary files differ | |||
diff --git a/dist/icons/controller/controller.qrc b/dist/icons/controller/controller.qrc index f44725d8f..1c4e960c0 100644 --- a/dist/icons/controller/controller.qrc +++ b/dist/icons/controller/controller.qrc | |||
| @@ -21,5 +21,35 @@ | |||
| 21 | <file alias="single_joycon_right_vertical">single_joycon_right_vertical.png</file> | 21 | <file alias="single_joycon_right_vertical">single_joycon_right_vertical.png</file> |
| 22 | <file alias="single_joycon_right_vertical_dark">single_joycon_right_vertical_dark.png</file> | 22 | <file alias="single_joycon_right_vertical_dark">single_joycon_right_vertical_dark.png</file> |
| 23 | <file alias="single_joycon_right_vertical_midnight">single_joycon_right_vertical_midnight.png</file> | 23 | <file alias="single_joycon_right_vertical_midnight">single_joycon_right_vertical_midnight.png</file> |
| 24 | <file alias="applet_dual_joycon">applet_dual_joycon.png</file> | ||
| 25 | <file alias="applet_dual_joycon_dark">applet_dual_joycon_dark.png</file> | ||
| 26 | <file alias="applet_dual_joycon_midnight">applet_dual_joycon_midnight.png</file> | ||
| 27 | <file alias="applet_handheld">applet_handheld.png</file> | ||
| 28 | <file alias="applet_handheld_dark">applet_handheld_dark.png</file> | ||
| 29 | <file alias="applet_handheld_midnight">applet_handheld_midnight.png</file> | ||
| 30 | <file alias="applet_pro_controller">applet_pro_controller.png</file> | ||
| 31 | <file alias="applet_pro_controller_dark">applet_pro_controller_dark.png</file> | ||
| 32 | <file alias="applet_pro_controller_midnight">applet_pro_controller_midnight.png</file> | ||
| 33 | <file alias="applet_joycon_left">applet_single_joycon_left.png</file> | ||
| 34 | <file alias="applet_joycon_left_dark">applet_single_joycon_left_dark.png</file> | ||
| 35 | <file alias="applet_joycon_left_midnight">applet_single_joycon_left_midnight.png</file> | ||
| 36 | <file alias="applet_joycon_right">applet_single_joycon_right.png</file> | ||
| 37 | <file alias="applet_joycon_right_dark">applet_single_joycon_right_dark.png</file> | ||
| 38 | <file alias="applet_joycon_right_midnight">applet_single_joycon_right_midnight.png</file> | ||
| 39 | <file alias="applet_dual_joycon_disabled">applet_dual_joycon_disabled.png</file> | ||
| 40 | <file alias="applet_dual_joycon_dark_disabled">applet_dual_joycon_dark_disabled.png</file> | ||
| 41 | <file alias="applet_dual_joycon_midnight_disabled">applet_dual_joycon_midnight_disabled.png</file> | ||
| 42 | <file alias="applet_handheld_disabled">applet_handheld_disabled.png</file> | ||
| 43 | <file alias="applet_handheld_dark_disabled">applet_handheld_dark_disabled.png</file> | ||
| 44 | <file alias="applet_handheld_midnight_disabled">applet_handheld_midnight_disabled.png</file> | ||
| 45 | <file alias="applet_pro_controller_disabled">applet_pro_controller_disabled.png</file> | ||
| 46 | <file alias="applet_pro_controller_dark_disabled">applet_pro_controller_dark_disabled.png</file> | ||
| 47 | <file alias="applet_pro_controller_midnight_disabled">applet_pro_controller_midnight_disabled.png</file> | ||
| 48 | <file alias="applet_joycon_left_disabled">applet_single_joycon_left_disabled.png</file> | ||
| 49 | <file alias="applet_joycon_left_dark_disabled">applet_single_joycon_left_dark_disabled.png</file> | ||
| 50 | <file alias="applet_joycon_left_midnight_disabled">applet_single_joycon_left_midnight_disabled.png</file> | ||
| 51 | <file alias="applet_joycon_right_disabled">applet_single_joycon_right_disabled.png</file> | ||
| 52 | <file alias="applet_joycon_right_dark_disabled">applet_single_joycon_right_dark_disabled.png</file> | ||
| 53 | <file alias="applet_joycon_right_midnight_disabled">applet_single_joycon_right_midnight_disabled.png</file> | ||
| 24 | </qresource> | 54 | </qresource> |
| 25 | </RCC> | 55 | </RCC> |
diff --git a/dist/qt_themes/default/style.qss b/dist/qt_themes/default/style.qss index 5da56520b..b6dd2063d 100644 --- a/dist/qt_themes/default/style.qss +++ b/dist/qt_themes/default/style.qss | |||
| @@ -41,6 +41,99 @@ QPushButton#buttonRefreshDevices { | |||
| 41 | max-height: 20px; | 41 | max-height: 20px; |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | QWidget#bottomPerGameInput, | ||
| 45 | QWidget#topControllerApplet, | ||
| 46 | QWidget#bottomControllerApplet, | ||
| 47 | QGroupBox#groupPlayer1Connected:checked, | ||
| 48 | QGroupBox#groupPlayer2Connected:checked, | ||
| 49 | QGroupBox#groupPlayer3Connected:checked, | ||
| 50 | QGroupBox#groupPlayer4Connected:checked, | ||
| 51 | QGroupBox#groupPlayer5Connected:checked, | ||
| 52 | QGroupBox#groupPlayer6Connected:checked, | ||
| 53 | QGroupBox#groupPlayer7Connected:checked, | ||
| 54 | QGroupBox#groupPlayer8Connected:checked { | ||
| 55 | background-color: #f5f5f5; | ||
| 56 | } | ||
| 57 | |||
| 58 | QWidget#topControllerApplet { | ||
| 59 | border-bottom: 1px solid #828790 | ||
| 60 | } | ||
| 61 | |||
| 62 | QWidget#bottomPerGameInput, | ||
| 63 | QWidget#bottomControllerApplet { | ||
| 64 | border-top: 1px solid #828790 | ||
| 65 | } | ||
| 66 | |||
| 67 | QWidget#topPerGameInput, | ||
| 68 | QWidget#middleControllerApplet { | ||
| 69 | background-color: #fff; | ||
| 70 | } | ||
| 71 | |||
| 72 | QWidget#topPerGameInput QComboBox, | ||
| 73 | QWidget#middleControllerApplet QComboBox { | ||
| 74 | width: 123px; | ||
| 75 | } | ||
| 76 | |||
| 77 | QWidget#connectedControllers { | ||
| 78 | background: transparent; | ||
| 79 | } | ||
| 80 | |||
| 81 | QWidget#playersSupported, | ||
| 82 | QWidget#controllersSupported, | ||
| 83 | QWidget#controllerSupported1, | ||
| 84 | QWidget#controllerSupported2, | ||
| 85 | QWidget#controllerSupported3, | ||
| 86 | QWidget#controllerSupported4, | ||
| 87 | QWidget#controllerSupported5, | ||
| 88 | QWidget#controllerSupported6 { | ||
| 89 | border: none; | ||
| 90 | background: transparent; | ||
| 91 | } | ||
| 92 | |||
| 93 | QGroupBox#groupPlayer1Connected, | ||
| 94 | QGroupBox#groupPlayer2Connected, | ||
| 95 | QGroupBox#groupPlayer3Connected, | ||
| 96 | QGroupBox#groupPlayer4Connected, | ||
| 97 | QGroupBox#groupPlayer5Connected, | ||
| 98 | QGroupBox#groupPlayer6Connected, | ||
| 99 | QGroupBox#groupPlayer7Connected, | ||
| 100 | QGroupBox#groupPlayer8Connected { | ||
| 101 | border: 1px solid #828790; | ||
| 102 | border-radius: 3px; | ||
| 103 | padding: 0px; | ||
| 104 | min-height: 98px; | ||
| 105 | max-height: 98px; | ||
| 106 | } | ||
| 107 | |||
| 108 | QGroupBox#groupPlayer1Connected:unchecked, | ||
| 109 | QGroupBox#groupPlayer2Connected:unchecked, | ||
| 110 | QGroupBox#groupPlayer3Connected:unchecked, | ||
| 111 | QGroupBox#groupPlayer4Connected:unchecked, | ||
| 112 | QGroupBox#groupPlayer5Connected:unchecked, | ||
| 113 | QGroupBox#groupPlayer6Connected:unchecked, | ||
| 114 | QGroupBox#groupPlayer7Connected:unchecked, | ||
| 115 | QGroupBox#groupPlayer8Connected:unchecked { | ||
| 116 | border: 1px solid #d9d9d9; | ||
| 117 | } | ||
| 118 | |||
| 119 | QGroupBox#groupPlayer1Connected::title, | ||
| 120 | QGroupBox#groupPlayer2Connected::title, | ||
| 121 | QGroupBox#groupPlayer3Connected::title, | ||
| 122 | QGroupBox#groupPlayer4Connected::title, | ||
| 123 | QGroupBox#groupPlayer5Connected::title, | ||
| 124 | QGroupBox#groupPlayer6Connected::title, | ||
| 125 | QGroupBox#groupPlayer7Connected::title, | ||
| 126 | QGroupBox#groupPlayer8Connected::title { | ||
| 127 | subcontrol-origin: margin; | ||
| 128 | subcontrol-position: top left; | ||
| 129 | padding-left: 0px; | ||
| 130 | padding-right: 0px; | ||
| 131 | padding-top: 1px; | ||
| 132 | margin-left: 0px; | ||
| 133 | margin-right: -4px; | ||
| 134 | margin-bottom: 4px; | ||
| 135 | } | ||
| 136 | |||
| 44 | QCheckBox#checkboxPlayer1Connected, | 137 | QCheckBox#checkboxPlayer1Connected, |
| 45 | QCheckBox#checkboxPlayer2Connected, | 138 | QCheckBox#checkboxPlayer2Connected, |
| 46 | QCheckBox#checkboxPlayer3Connected, | 139 | QCheckBox#checkboxPlayer3Connected, |
| @@ -52,6 +145,42 @@ QCheckBox#checkboxPlayer8Connected { | |||
| 52 | spacing: 0px; | 145 | spacing: 0px; |
| 53 | } | 146 | } |
| 54 | 147 | ||
| 148 | QWidget#Player1LEDs QCheckBox, | ||
| 149 | QWidget#Player2LEDs QCheckBox, | ||
| 150 | QWidget#Player3LEDs QCheckBox, | ||
| 151 | QWidget#Player4LEDs QCheckBox, | ||
| 152 | QWidget#Player5LEDs QCheckBox, | ||
| 153 | QWidget#Player6LEDs QCheckBox, | ||
| 154 | QWidget#Player7LEDs QCheckBox, | ||
| 155 | QWidget#Player8LEDs QCheckBox { | ||
| 156 | spacing: 0px; | ||
| 157 | } | ||
| 158 | |||
| 159 | QWidget#Player1LEDs QCheckBox::indicator, | ||
| 160 | QWidget#Player2LEDs QCheckBox::indicator, | ||
| 161 | QWidget#Player3LEDs QCheckBox::indicator, | ||
| 162 | QWidget#Player4LEDs QCheckBox::indicator, | ||
| 163 | QWidget#Player5LEDs QCheckBox::indicator, | ||
| 164 | QWidget#Player6LEDs QCheckBox::indicator, | ||
| 165 | QWidget#Player7LEDs QCheckBox::indicator, | ||
| 166 | QWidget#Player8LEDs QCheckBox::indicator { | ||
| 167 | width: 6px; | ||
| 168 | height: 6px; | ||
| 169 | margin-left: 0px; | ||
| 170 | } | ||
| 171 | |||
| 172 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer1Connected::indicator, | ||
| 173 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer2Connected::indicator, | ||
| 174 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer3Connected::indicator, | ||
| 175 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer4Connected::indicator, | ||
| 176 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer5Connected::indicator, | ||
| 177 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer6Connected::indicator, | ||
| 178 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer7Connected::indicator, | ||
| 179 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer8Connected::indicator { | ||
| 180 | width: 12px; | ||
| 181 | height: 12px; | ||
| 182 | } | ||
| 183 | |||
| 55 | QCheckBox#checkboxPlayer1Connected::indicator, | 184 | QCheckBox#checkboxPlayer1Connected::indicator, |
| 56 | QCheckBox#checkboxPlayer2Connected::indicator, | 185 | QCheckBox#checkboxPlayer2Connected::indicator, |
| 57 | QCheckBox#checkboxPlayer3Connected::indicator, | 186 | QCheckBox#checkboxPlayer3Connected::indicator, |
| @@ -64,6 +193,34 @@ QCheckBox#checkboxPlayer8Connected::indicator { | |||
| 64 | height: 14px; | 193 | height: 14px; |
| 65 | } | 194 | } |
| 66 | 195 | ||
| 196 | QGroupBox#groupPlayer1Connected::indicator, | ||
| 197 | QGroupBox#groupPlayer2Connected::indicator, | ||
| 198 | QGroupBox#groupPlayer3Connected::indicator, | ||
| 199 | QGroupBox#groupPlayer4Connected::indicator, | ||
| 200 | QGroupBox#groupPlayer5Connected::indicator, | ||
| 201 | QGroupBox#groupPlayer6Connected::indicator, | ||
| 202 | QGroupBox#groupPlayer7Connected::indicator, | ||
| 203 | QGroupBox#groupPlayer8Connected::indicator { | ||
| 204 | width: 16px; | ||
| 205 | height: 16px; | ||
| 206 | } | ||
| 207 | |||
| 208 | QWidget#Player1LEDs QCheckBox::indicator:checked, | ||
| 209 | QWidget#Player2LEDs QCheckBox::indicator:checked, | ||
| 210 | QWidget#Player3LEDs QCheckBox::indicator:checked, | ||
| 211 | QWidget#Player4LEDs QCheckBox::indicator:checked, | ||
| 212 | QWidget#Player5LEDs QCheckBox::indicator:checked, | ||
| 213 | QWidget#Player6LEDs QCheckBox::indicator:checked, | ||
| 214 | QWidget#Player7LEDs QCheckBox::indicator:checked, | ||
| 215 | QWidget#Player8LEDs QCheckBox::indicator:checked, | ||
| 216 | QGroupBox#groupPlayer1Connected::indicator:checked, | ||
| 217 | QGroupBox#groupPlayer2Connected::indicator:checked, | ||
| 218 | QGroupBox#groupPlayer3Connected::indicator:checked, | ||
| 219 | QGroupBox#groupPlayer4Connected::indicator:checked, | ||
| 220 | QGroupBox#groupPlayer5Connected::indicator:checked, | ||
| 221 | QGroupBox#groupPlayer6Connected::indicator:checked, | ||
| 222 | QGroupBox#groupPlayer7Connected::indicator:checked, | ||
| 223 | QGroupBox#groupPlayer8Connected::indicator:checked, | ||
| 67 | QCheckBox#checkboxPlayer1Connected::indicator:checked, | 224 | QCheckBox#checkboxPlayer1Connected::indicator:checked, |
| 68 | QCheckBox#checkboxPlayer2Connected::indicator:checked, | 225 | QCheckBox#checkboxPlayer2Connected::indicator:checked, |
| 69 | QCheckBox#checkboxPlayer3Connected::indicator:checked, | 226 | QCheckBox#checkboxPlayer3Connected::indicator:checked, |
| @@ -74,11 +231,27 @@ QCheckBox#checkboxPlayer7Connected::indicator:checked, | |||
| 74 | QCheckBox#checkboxPlayer8Connected::indicator:checked, | 231 | QCheckBox#checkboxPlayer8Connected::indicator:checked, |
| 75 | QGroupBox#groupConnectedController::indicator:checked { | 232 | QGroupBox#groupConnectedController::indicator:checked { |
| 76 | border-radius: 2px; | 233 | border-radius: 2px; |
| 77 | border: 1px solid black; | 234 | border: 1px solid #929192; |
| 78 | background: #39ff14; | 235 | background: #39ff14; |
| 79 | image: none; | 236 | image: none; |
| 80 | } | 237 | } |
| 81 | 238 | ||
| 239 | QWidget#Player1LEDs QCheckBox::indicator:unchecked, | ||
| 240 | QWidget#Player2LEDs QCheckBox::indicator:unchecked, | ||
| 241 | QWidget#Player3LEDs QCheckBox::indicator:unchecked, | ||
| 242 | QWidget#Player4LEDs QCheckBox::indicator:unchecked, | ||
| 243 | QWidget#Player5LEDs QCheckBox::indicator:unchecked, | ||
| 244 | QWidget#Player6LEDs QCheckBox::indicator:unchecked, | ||
| 245 | QWidget#Player7LEDs QCheckBox::indicator:unchecked, | ||
| 246 | QWidget#Player8LEDs QCheckBox::indicator:unchecked, | ||
| 247 | QGroupBox#groupPlayer1Connected::indicator:unchecked, | ||
| 248 | QGroupBox#groupPlayer2Connected::indicator:unchecked, | ||
| 249 | QGroupBox#groupPlayer3Connected::indicator:unchecked, | ||
| 250 | QGroupBox#groupPlayer4Connected::indicator:unchecked, | ||
| 251 | QGroupBox#groupPlayer5Connected::indicator:unchecked, | ||
| 252 | QGroupBox#groupPlayer6Connected::indicator:unchecked, | ||
| 253 | QGroupBox#groupPlayer7Connected::indicator:unchecked, | ||
| 254 | QGroupBox#groupPlayer8Connected::indicator:unchecked, | ||
| 82 | QCheckBox#checkboxPlayer1Connected::indicator:unchecked, | 255 | QCheckBox#checkboxPlayer1Connected::indicator:unchecked, |
| 83 | QCheckBox#checkboxPlayer2Connected::indicator:unchecked, | 256 | QCheckBox#checkboxPlayer2Connected::indicator:unchecked, |
| 84 | QCheckBox#checkboxPlayer3Connected::indicator:unchecked, | 257 | QCheckBox#checkboxPlayer3Connected::indicator:unchecked, |
| @@ -89,7 +262,18 @@ QCheckBox#checkboxPlayer7Connected::indicator:unchecked, | |||
| 89 | QCheckBox#checkboxPlayer8Connected::indicator:unchecked, | 262 | QCheckBox#checkboxPlayer8Connected::indicator:unchecked, |
| 90 | QGroupBox#groupConnectedController::indicator:unchecked { | 263 | QGroupBox#groupConnectedController::indicator:unchecked { |
| 91 | border-radius: 2px; | 264 | border-radius: 2px; |
| 92 | border: 1px solid black; | 265 | border: 1px solid #929192; |
| 93 | background: transparent; | 266 | background: transparent; |
| 94 | image: none; | 267 | image: none; |
| 95 | } | 268 | } |
| 269 | |||
| 270 | QWidget#controllerPlayer1, | ||
| 271 | QWidget#controllerPlayer2, | ||
| 272 | QWidget#controllerPlayer3, | ||
| 273 | QWidget#controllerPlayer4, | ||
| 274 | QWidget#controllerPlayer5, | ||
| 275 | QWidget#controllerPlayer6, | ||
| 276 | QWidget#controllerPlayer7, | ||
| 277 | QWidget#controllerPlayer8 { | ||
| 278 | background: transparent; | ||
| 279 | } | ||
diff --git a/dist/qt_themes/qdarkstyle/style.qrc b/dist/qt_themes/qdarkstyle/style.qrc index ec07ba160..2b91204f3 100644 --- a/dist/qt_themes/qdarkstyle/style.qrc +++ b/dist/qt_themes/qdarkstyle/style.qrc | |||
| @@ -52,6 +52,6 @@ | |||
| 52 | <file>rc/radio_unchecked.png</file> | 52 | <file>rc/radio_unchecked.png</file> |
| 53 | </qresource> | 53 | </qresource> |
| 54 | <qresource prefix="qdarkstyle"> | 54 | <qresource prefix="qdarkstyle"> |
| 55 | <file>style.qss</file> | 55 | <file>style.qss</file> |
| 56 | </qresource> | 56 | </qresource> |
| 57 | </RCC> | 57 | </RCC> |
diff --git a/dist/qt_themes/qdarkstyle/style.qss b/dist/qt_themes/qdarkstyle/style.qss index 16218f0c2..66026e8be 100644 --- a/dist/qt_themes/qdarkstyle/style.qss +++ b/dist/qt_themes/qdarkstyle/style.qss | |||
| @@ -1284,6 +1284,135 @@ QPushButton#buttonRefreshDevices { | |||
| 1284 | padding: 0px 0px; | 1284 | padding: 0px 0px; |
| 1285 | } | 1285 | } |
| 1286 | 1286 | ||
| 1287 | QSpinBox#spinboxLStickRange, | ||
| 1288 | QSpinBox#spinboxRStickRange { | ||
| 1289 | padding: 4px 0px 5px 0px; | ||
| 1290 | min-width: 63px; | ||
| 1291 | } | ||
| 1292 | |||
| 1293 | QSpinBox#vibrationSpin { | ||
| 1294 | padding: 4px 0px 5px 0px; | ||
| 1295 | min-width: 63px; | ||
| 1296 | } | ||
| 1297 | |||
| 1298 | QSpinBox#spinboxLStickRange:up-button, | ||
| 1299 | QSpinBox#spinboxRStickRange:up-button, | ||
| 1300 | QSpinBox#vibrationSpin:up-button { | ||
| 1301 | left: -2px; | ||
| 1302 | } | ||
| 1303 | |||
| 1304 | QSpinBox#spinboxLStickRange:down-button, | ||
| 1305 | QSpinBox#spinboxRStickRange:down-button, | ||
| 1306 | QSpinBox#vibrationSpin:down-button { | ||
| 1307 | right: -1px; | ||
| 1308 | } | ||
| 1309 | |||
| 1310 | QGroupBox#motionGroup::indicator, | ||
| 1311 | QGroupBox#vibrationGroup::indicator { | ||
| 1312 | margin-left: 0px; | ||
| 1313 | } | ||
| 1314 | |||
| 1315 | QGroupBox#motionGroup::title, | ||
| 1316 | QGroupBox#vibrationGroup::title { | ||
| 1317 | spacing: 2px; | ||
| 1318 | padding-left: 1px; | ||
| 1319 | padding-right: 1px; | ||
| 1320 | } | ||
| 1321 | |||
| 1322 | QWidget#bottomPerGameInput, | ||
| 1323 | QWidget#topControllerApplet, | ||
| 1324 | QWidget#bottomControllerApplet, | ||
| 1325 | QGroupBox#groupPlayer1Connected:checked, | ||
| 1326 | QGroupBox#groupPlayer2Connected:checked, | ||
| 1327 | QGroupBox#groupPlayer3Connected:checked, | ||
| 1328 | QGroupBox#groupPlayer4Connected:checked, | ||
| 1329 | QGroupBox#groupPlayer5Connected:checked, | ||
| 1330 | QGroupBox#groupPlayer6Connected:checked, | ||
| 1331 | QGroupBox#groupPlayer7Connected:checked, | ||
| 1332 | QGroupBox#groupPlayer8Connected:checked { | ||
| 1333 | background-color: #232629; | ||
| 1334 | } | ||
| 1335 | |||
| 1336 | QWidget#topPerGameInput, | ||
| 1337 | QWidget#middleControllerApplet { | ||
| 1338 | background-color: #31363b; | ||
| 1339 | } | ||
| 1340 | |||
| 1341 | QWidget#topPerGameInput QComboBox, | ||
| 1342 | QWidget#middleControllerApplet QComboBox { | ||
| 1343 | width: 119px; | ||
| 1344 | } | ||
| 1345 | |||
| 1346 | QRadioButton#radioDocked { | ||
| 1347 | margin-left: -3px; | ||
| 1348 | } | ||
| 1349 | |||
| 1350 | |||
| 1351 | QRadioButton#radioUndocked { | ||
| 1352 | margin-right: 5px; | ||
| 1353 | } | ||
| 1354 | |||
| 1355 | QWidget#connectedControllers { | ||
| 1356 | background: transparent; | ||
| 1357 | } | ||
| 1358 | |||
| 1359 | QWidget#playersSupported, | ||
| 1360 | QWidget#controllersSupported, | ||
| 1361 | QWidget#controllerSupported1, | ||
| 1362 | QWidget#controllerSupported2, | ||
| 1363 | QWidget#controllerSupported3, | ||
| 1364 | QWidget#controllerSupported4, | ||
| 1365 | QWidget#controllerSupported5, | ||
| 1366 | QWidget#controllerSupported6 { | ||
| 1367 | border: none; | ||
| 1368 | background: transparent; | ||
| 1369 | } | ||
| 1370 | |||
| 1371 | QGroupBox#groupPlayer1Connected, | ||
| 1372 | QGroupBox#groupPlayer2Connected, | ||
| 1373 | QGroupBox#groupPlayer3Connected, | ||
| 1374 | QGroupBox#groupPlayer4Connected, | ||
| 1375 | QGroupBox#groupPlayer5Connected, | ||
| 1376 | QGroupBox#groupPlayer6Connected, | ||
| 1377 | QGroupBox#groupPlayer7Connected, | ||
| 1378 | QGroupBox#groupPlayer8Connected { | ||
| 1379 | border: 1px solid #76797c; | ||
| 1380 | border-radius: 3px; | ||
| 1381 | padding: 0px; | ||
| 1382 | min-height: 98px; | ||
| 1383 | max-height: 98px; | ||
| 1384 | margin-top: 0px; | ||
| 1385 | } | ||
| 1386 | |||
| 1387 | QGroupBox#groupPlayer1Connected:unchecked, | ||
| 1388 | QGroupBox#groupPlayer2Connected:unchecked, | ||
| 1389 | QGroupBox#groupPlayer3Connected:unchecked, | ||
| 1390 | QGroupBox#groupPlayer4Connected:unchecked, | ||
| 1391 | QGroupBox#groupPlayer5Connected:unchecked, | ||
| 1392 | QGroupBox#groupPlayer6Connected:unchecked, | ||
| 1393 | QGroupBox#groupPlayer7Connected:unchecked, | ||
| 1394 | QGroupBox#groupPlayer8Connected:unchecked { | ||
| 1395 | border: 1px solid #54575b; | ||
| 1396 | } | ||
| 1397 | |||
| 1398 | QGroupBox#groupPlayer1Connected::title, | ||
| 1399 | QGroupBox#groupPlayer2Connected::title, | ||
| 1400 | QGroupBox#groupPlayer3Connected::title, | ||
| 1401 | QGroupBox#groupPlayer4Connected::title, | ||
| 1402 | QGroupBox#groupPlayer5Connected::title, | ||
| 1403 | QGroupBox#groupPlayer6Connected::title, | ||
| 1404 | QGroupBox#groupPlayer7Connected::title, | ||
| 1405 | QGroupBox#groupPlayer8Connected::title { | ||
| 1406 | subcontrol-origin: margin; | ||
| 1407 | subcontrol-position: top left; | ||
| 1408 | padding-left: 0px; | ||
| 1409 | padding-right: 0px; | ||
| 1410 | padding-top: 1px; | ||
| 1411 | margin-left: -2px; | ||
| 1412 | margin-right: -4px; | ||
| 1413 | margin-bottom: 6px; | ||
| 1414 | } | ||
| 1415 | |||
| 1287 | QCheckBox#checkboxPlayer1Connected, | 1416 | QCheckBox#checkboxPlayer1Connected, |
| 1288 | QCheckBox#checkboxPlayer2Connected, | 1417 | QCheckBox#checkboxPlayer2Connected, |
| 1289 | QCheckBox#checkboxPlayer3Connected, | 1418 | QCheckBox#checkboxPlayer3Connected, |
| @@ -1295,6 +1424,55 @@ QCheckBox#checkboxPlayer8Connected { | |||
| 1295 | spacing: 0px; | 1424 | spacing: 0px; |
| 1296 | } | 1425 | } |
| 1297 | 1426 | ||
| 1427 | QWidget#Player1LEDs, | ||
| 1428 | QWidget#Player2LEDs, | ||
| 1429 | QWidget#Player3LEDs, | ||
| 1430 | QWidget#Player4LEDs, | ||
| 1431 | QWidget#Player5LEDs, | ||
| 1432 | QWidget#Player6LEDs, | ||
| 1433 | QWidget#Player7LEDs, | ||
| 1434 | QWidget#Player8LEDs { | ||
| 1435 | background: transparent; | ||
| 1436 | } | ||
| 1437 | |||
| 1438 | QWidget#Player1LEDs QCheckBox, | ||
| 1439 | QWidget#Player2LEDs QCheckBox, | ||
| 1440 | QWidget#Player3LEDs QCheckBox, | ||
| 1441 | QWidget#Player4LEDs QCheckBox, | ||
| 1442 | QWidget#Player5LEDs QCheckBox, | ||
| 1443 | QWidget#Player6LEDs QCheckBox, | ||
| 1444 | QWidget#Player7LEDs QCheckBox, | ||
| 1445 | QWidget#Player8LEDs QCheckBox { | ||
| 1446 | spacing: 0px; | ||
| 1447 | margin-bottom: 0px; | ||
| 1448 | margin-right: 0px; | ||
| 1449 | } | ||
| 1450 | |||
| 1451 | QWidget#Player1LEDs QCheckBox::indicator, | ||
| 1452 | QWidget#Player2LEDs QCheckBox::indicator, | ||
| 1453 | QWidget#Player3LEDs QCheckBox::indicator, | ||
| 1454 | QWidget#Player4LEDs QCheckBox::indicator, | ||
| 1455 | QWidget#Player5LEDs QCheckBox::indicator, | ||
| 1456 | QWidget#Player6LEDs QCheckBox::indicator, | ||
| 1457 | QWidget#Player7LEDs QCheckBox::indicator, | ||
| 1458 | QWidget#Player8LEDs QCheckBox::indicator { | ||
| 1459 | width: 6px; | ||
| 1460 | height: 6px; | ||
| 1461 | margin-left: 0px; | ||
| 1462 | } | ||
| 1463 | |||
| 1464 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer1Connected::indicator, | ||
| 1465 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer2Connected::indicator, | ||
| 1466 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer3Connected::indicator, | ||
| 1467 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer4Connected::indicator, | ||
| 1468 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer5Connected::indicator, | ||
| 1469 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer6Connected::indicator, | ||
| 1470 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer7Connected::indicator, | ||
| 1471 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer8Connected::indicator { | ||
| 1472 | width: 12px; | ||
| 1473 | height: 12px; | ||
| 1474 | } | ||
| 1475 | |||
| 1298 | QCheckBox#checkboxPlayer1Connected::indicator, | 1476 | QCheckBox#checkboxPlayer1Connected::indicator, |
| 1299 | QCheckBox#checkboxPlayer2Connected::indicator, | 1477 | QCheckBox#checkboxPlayer2Connected::indicator, |
| 1300 | QCheckBox#checkboxPlayer3Connected::indicator, | 1478 | QCheckBox#checkboxPlayer3Connected::indicator, |
| @@ -1307,6 +1485,34 @@ QCheckBox#checkboxPlayer8Connected::indicator { | |||
| 1307 | height: 14px; | 1485 | height: 14px; |
| 1308 | } | 1486 | } |
| 1309 | 1487 | ||
| 1488 | QGroupBox#groupPlayer1Connected::indicator, | ||
| 1489 | QGroupBox#groupPlayer2Connected::indicator, | ||
| 1490 | QGroupBox#groupPlayer3Connected::indicator, | ||
| 1491 | QGroupBox#groupPlayer4Connected::indicator, | ||
| 1492 | QGroupBox#groupPlayer5Connected::indicator, | ||
| 1493 | QGroupBox#groupPlayer6Connected::indicator, | ||
| 1494 | QGroupBox#groupPlayer7Connected::indicator, | ||
| 1495 | QGroupBox#groupPlayer8Connected::indicator { | ||
| 1496 | width: 16px; | ||
| 1497 | height: 16px; | ||
| 1498 | } | ||
| 1499 | |||
| 1500 | QWidget#Player1LEDs QCheckBox::indicator:checked, | ||
| 1501 | QWidget#Player2LEDs QCheckBox::indicator:checked, | ||
| 1502 | QWidget#Player3LEDs QCheckBox::indicator:checked, | ||
| 1503 | QWidget#Player4LEDs QCheckBox::indicator:checked, | ||
| 1504 | QWidget#Player5LEDs QCheckBox::indicator:checked, | ||
| 1505 | QWidget#Player6LEDs QCheckBox::indicator:checked, | ||
| 1506 | QWidget#Player7LEDs QCheckBox::indicator:checked, | ||
| 1507 | QWidget#Player8LEDs QCheckBox::indicator:checked, | ||
| 1508 | QGroupBox#groupPlayer1Connected::indicator:checked, | ||
| 1509 | QGroupBox#groupPlayer2Connected::indicator:checked, | ||
| 1510 | QGroupBox#groupPlayer3Connected::indicator:checked, | ||
| 1511 | QGroupBox#groupPlayer4Connected::indicator:checked, | ||
| 1512 | QGroupBox#groupPlayer5Connected::indicator:checked, | ||
| 1513 | QGroupBox#groupPlayer6Connected::indicator:checked, | ||
| 1514 | QGroupBox#groupPlayer7Connected::indicator:checked, | ||
| 1515 | QGroupBox#groupPlayer8Connected::indicator:checked, | ||
| 1310 | QCheckBox#checkboxPlayer1Connected::indicator:checked, | 1516 | QCheckBox#checkboxPlayer1Connected::indicator:checked, |
| 1311 | QCheckBox#checkboxPlayer2Connected::indicator:checked, | 1517 | QCheckBox#checkboxPlayer2Connected::indicator:checked, |
| 1312 | QCheckBox#checkboxPlayer3Connected::indicator:checked, | 1518 | QCheckBox#checkboxPlayer3Connected::indicator:checked, |
| @@ -1322,6 +1528,22 @@ QGroupBox#groupConnectedController::indicator:checked { | |||
| 1322 | image: none; | 1528 | image: none; |
| 1323 | } | 1529 | } |
| 1324 | 1530 | ||
| 1531 | QWidget#Player1LEDs QCheckBox::indicator:unchecked, | ||
| 1532 | QWidget#Player2LEDs QCheckBox::indicator:unchecked, | ||
| 1533 | QWidget#Player3LEDs QCheckBox::indicator:unchecked, | ||
| 1534 | QWidget#Player4LEDs QCheckBox::indicator:unchecked, | ||
| 1535 | QWidget#Player5LEDs QCheckBox::indicator:unchecked, | ||
| 1536 | QWidget#Player6LEDs QCheckBox::indicator:unchecked, | ||
| 1537 | QWidget#Player7LEDs QCheckBox::indicator:unchecked, | ||
| 1538 | QWidget#Player8LEDs QCheckBox::indicator:unchecked, | ||
| 1539 | QGroupBox#groupPlayer1Connected::indicator:unchecked, | ||
| 1540 | QGroupBox#groupPlayer2Connected::indicator:unchecked, | ||
| 1541 | QGroupBox#groupPlayer3Connected::indicator:unchecked, | ||
| 1542 | QGroupBox#groupPlayer4Connected::indicator:unchecked, | ||
| 1543 | QGroupBox#groupPlayer5Connected::indicator:unchecked, | ||
| 1544 | QGroupBox#groupPlayer6Connected::indicator:unchecked, | ||
| 1545 | QGroupBox#groupPlayer7Connected::indicator:unchecked, | ||
| 1546 | QGroupBox#groupPlayer8Connected::indicator:unchecked, | ||
| 1325 | QCheckBox#checkboxPlayer1Connected::indicator:unchecked, | 1547 | QCheckBox#checkboxPlayer1Connected::indicator:unchecked, |
| 1326 | QCheckBox#checkboxPlayer2Connected::indicator:unchecked, | 1548 | QCheckBox#checkboxPlayer2Connected::indicator:unchecked, |
| 1327 | QCheckBox#checkboxPlayer3Connected::indicator:unchecked, | 1549 | QCheckBox#checkboxPlayer3Connected::indicator:unchecked, |
| @@ -1337,39 +1559,15 @@ QGroupBox#groupConnectedController::indicator:unchecked { | |||
| 1337 | image: none; | 1559 | image: none; |
| 1338 | } | 1560 | } |
| 1339 | 1561 | ||
| 1340 | QSpinBox#spinboxLStickRange, | 1562 | QWidget#controllerPlayer1, |
| 1341 | QSpinBox#spinboxRStickRange { | 1563 | QWidget#controllerPlayer2, |
| 1342 | padding: 4px 0px 5px 0px; | 1564 | QWidget#controllerPlayer3, |
| 1343 | min-width: 63px; | 1565 | QWidget#controllerPlayer4, |
| 1344 | } | 1566 | QWidget#controllerPlayer5, |
| 1345 | 1567 | QWidget#controllerPlayer6, | |
| 1346 | QSpinBox#vibrationSpin { | 1568 | QWidget#controllerPlayer7, |
| 1347 | padding: 4px 0px 5px 0px; | 1569 | QWidget#controllerPlayer8 { |
| 1348 | min-width: 63px; | 1570 | background: transparent; |
| 1349 | } | ||
| 1350 | |||
| 1351 | QSpinBox#spinboxLStickRange:up-button, | ||
| 1352 | QSpinBox#spinboxRStickRange:up-button, | ||
| 1353 | QSpinBox#vibrationSpin:up-button { | ||
| 1354 | left: -2px; | ||
| 1355 | } | ||
| 1356 | |||
| 1357 | QSpinBox#spinboxLStickRange:down-button, | ||
| 1358 | QSpinBox#spinboxRStickRange:down-button, | ||
| 1359 | QSpinBox#vibrationSpin:down-button { | ||
| 1360 | right: -1px; | ||
| 1361 | } | ||
| 1362 | |||
| 1363 | QGroupBox#motionGroup::indicator, | ||
| 1364 | QGroupBox#vibrationGroup::indicator { | ||
| 1365 | margin-left: 0px; | ||
| 1366 | } | ||
| 1367 | |||
| 1368 | QGroupBox#motionGroup::title, | ||
| 1369 | QGroupBox#vibrationGroup::title { | ||
| 1370 | spacing: 2px; | ||
| 1371 | padding-left: 1px; | ||
| 1372 | padding-right: 1px; | ||
| 1373 | } | 1571 | } |
| 1374 | 1572 | ||
| 1375 | /* touchscreen mapping widget */ | 1573 | /* touchscreen mapping widget */ |
diff --git a/dist/qt_themes/qdarkstyle_midnight_blue/style.qrc b/dist/qt_themes/qdarkstyle_midnight_blue/style.qrc index 616aace73..579e73ece 100644 --- a/dist/qt_themes/qdarkstyle_midnight_blue/style.qrc +++ b/dist/qt_themes/qdarkstyle_midnight_blue/style.qrc | |||
| @@ -221,6 +221,6 @@ | |||
| 221 | <file>rc/window_undock_pressed@2x.png</file> | 221 | <file>rc/window_undock_pressed@2x.png</file> |
| 222 | </qresource> | 222 | </qresource> |
| 223 | <qresource prefix="qdarkstyle_midnight_blue"> | 223 | <qresource prefix="qdarkstyle_midnight_blue"> |
| 224 | <file>style.qss</file> | 224 | <file>style.qss</file> |
| 225 | </qresource> | 225 | </qresource> |
| 226 | </RCC> | 226 | </RCC> |
diff --git a/dist/qt_themes/qdarkstyle_midnight_blue/style.qss b/dist/qt_themes/qdarkstyle_midnight_blue/style.qss index a714e1475..c6318ba4e 100644 --- a/dist/qt_themes/qdarkstyle_midnight_blue/style.qss +++ b/dist/qt_themes/qdarkstyle_midnight_blue/style.qss | |||
| @@ -235,19 +235,19 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox | |||
| 235 | 235 | ||
| 236 | --------------------------------------------------------------------------- */ | 236 | --------------------------------------------------------------------------- */ |
| 237 | QGroupBox { | 237 | QGroupBox { |
| 238 | font-weight: bold; | 238 | font-weight: bold; |
| 239 | border: 1px solid #32414B; | 239 | border: 1px solid #32414B; |
| 240 | border-radius: 4px; | 240 | border-radius: 4px; |
| 241 | margin-top: 12px; | 241 | margin-top: 12px; |
| 242 | padding: 4px; | 242 | padding: 4px; |
| 243 | } | 243 | } |
| 244 | 244 | ||
| 245 | QGroupBox::title { | 245 | QGroupBox::title { |
| 246 | subcontrol-origin: margin; | 246 | subcontrol-origin: margin; |
| 247 | subcontrol-position: top left; | 247 | subcontrol-position: top left; |
| 248 | padding-left: 3px; | 248 | padding-left: 3px; |
| 249 | padding-right: 5px; | 249 | padding-right: 5px; |
| 250 | padding-top: 4px; | 250 | padding-top: 4px; |
| 251 | } | 251 | } |
| 252 | 252 | ||
| 253 | QGroupBox::indicator { | 253 | QGroupBox::indicator { |
| @@ -2205,6 +2205,144 @@ QPushButton#buttonRefreshDevices { | |||
| 2205 | padding: 0px 0px; | 2205 | padding: 0px 0px; |
| 2206 | } | 2206 | } |
| 2207 | 2207 | ||
| 2208 | QSpinBox#spinboxLStickRange, | ||
| 2209 | QSpinBox#spinboxRStickRange { | ||
| 2210 | min-width: 38px; | ||
| 2211 | } | ||
| 2212 | |||
| 2213 | QGroupBox#motionGroup::indicator, | ||
| 2214 | QGroupBox#vibrationGroup::indicator { | ||
| 2215 | margin-left: 0px; | ||
| 2216 | } | ||
| 2217 | |||
| 2218 | QWidget#bottomPerGameInput QGroupBox#motionGroup, | ||
| 2219 | QWidget#bottomPerGameInput QGroupBox#vibrationGroup, | ||
| 2220 | QWidget#bottomPerGameInput QGroupBox#inputConfigGroup { | ||
| 2221 | padding: 0px; | ||
| 2222 | } | ||
| 2223 | |||
| 2224 | QGroupBox#motionGroup::title, | ||
| 2225 | QGroupBox#vibrationGroup::title { | ||
| 2226 | spacing: 2px; | ||
| 2227 | padding-left: 1px; | ||
| 2228 | padding-right: 1px; | ||
| 2229 | } | ||
| 2230 | |||
| 2231 | QListWidget#selectorList { | ||
| 2232 | background-color: #0f1922; | ||
| 2233 | } | ||
| 2234 | |||
| 2235 | QSpinBox, | ||
| 2236 | QLineEdit, | ||
| 2237 | QTreeView#hotkey_list, | ||
| 2238 | QScrollArea#scrollArea QTreeView { | ||
| 2239 | background-color: #0f1922; | ||
| 2240 | } | ||
| 2241 | |||
| 2242 | QWidget#bottomPerGameInput, | ||
| 2243 | QWidget#topControllerApplet, | ||
| 2244 | QWidget#bottomControllerApplet, | ||
| 2245 | QGroupBox#groupPlayer1Connected:checked, | ||
| 2246 | QGroupBox#groupPlayer2Connected:checked, | ||
| 2247 | QGroupBox#groupPlayer3Connected:checked, | ||
| 2248 | QGroupBox#groupPlayer4Connected:checked, | ||
| 2249 | QGroupBox#groupPlayer5Connected:checked, | ||
| 2250 | QGroupBox#groupPlayer6Connected:checked, | ||
| 2251 | QGroupBox#groupPlayer7Connected:checked, | ||
| 2252 | QGroupBox#groupPlayer8Connected:checked { | ||
| 2253 | background-color: #0f1922; | ||
| 2254 | } | ||
| 2255 | |||
| 2256 | QWidget#topPerGameInput, | ||
| 2257 | QWidget#middleControllerApplet { | ||
| 2258 | background-color: #19232d; | ||
| 2259 | } | ||
| 2260 | |||
| 2261 | QWidget#topPerGameInput QComboBox, | ||
| 2262 | QWidget#middleControllerApplet QComboBox { | ||
| 2263 | padding-right: 2px; | ||
| 2264 | width: 127px; | ||
| 2265 | } | ||
| 2266 | |||
| 2267 | QGroupBox#handheldGroup { | ||
| 2268 | padding-left: 0px; | ||
| 2269 | } | ||
| 2270 | |||
| 2271 | QRadioButton#radioDocked { | ||
| 2272 | margin-left: -1px; | ||
| 2273 | padding-left: 0px; | ||
| 2274 | } | ||
| 2275 | |||
| 2276 | QRadioButton#radioDocked::indicator { | ||
| 2277 | margin-left: 0px; | ||
| 2278 | } | ||
| 2279 | |||
| 2280 | |||
| 2281 | QRadioButton#radioUndocked { | ||
| 2282 | margin-right: 2px; | ||
| 2283 | } | ||
| 2284 | |||
| 2285 | QWidget#connectedControllers { | ||
| 2286 | background: transparent; | ||
| 2287 | } | ||
| 2288 | |||
| 2289 | QWidget#playersSupported, | ||
| 2290 | QWidget#controllersSupported, | ||
| 2291 | QWidget#controllerSupported1, | ||
| 2292 | QWidget#controllerSupported2, | ||
| 2293 | QWidget#controllerSupported3, | ||
| 2294 | QWidget#controllerSupported4, | ||
| 2295 | QWidget#controllerSupported5, | ||
| 2296 | QWidget#controllerSupported6 { | ||
| 2297 | border: none; | ||
| 2298 | background: transparent; | ||
| 2299 | } | ||
| 2300 | |||
| 2301 | QGroupBox#groupPlayer1Connected, | ||
| 2302 | QGroupBox#groupPlayer2Connected, | ||
| 2303 | QGroupBox#groupPlayer3Connected, | ||
| 2304 | QGroupBox#groupPlayer4Connected, | ||
| 2305 | QGroupBox#groupPlayer5Connected, | ||
| 2306 | QGroupBox#groupPlayer6Connected, | ||
| 2307 | QGroupBox#groupPlayer7Connected, | ||
| 2308 | QGroupBox#groupPlayer8Connected { | ||
| 2309 | border: 1px solid #76797c; | ||
| 2310 | border-radius: 3px; | ||
| 2311 | padding: 0px; | ||
| 2312 | min-height: 98px; | ||
| 2313 | max-height: 98px; | ||
| 2314 | margin-top: 0px; | ||
| 2315 | } | ||
| 2316 | |||
| 2317 | |||
| 2318 | QGroupBox#groupPlayer1Connected:unchecked, | ||
| 2319 | QGroupBox#groupPlayer2Connected:unchecked, | ||
| 2320 | QGroupBox#groupPlayer3Connected:unchecked, | ||
| 2321 | QGroupBox#groupPlayer4Connected:unchecked, | ||
| 2322 | QGroupBox#groupPlayer5Connected:unchecked, | ||
| 2323 | QGroupBox#groupPlayer6Connected:unchecked, | ||
| 2324 | QGroupBox#groupPlayer7Connected:unchecked, | ||
| 2325 | QGroupBox#groupPlayer8Connected:unchecked { | ||
| 2326 | border: 1px solid #32414b; | ||
| 2327 | } | ||
| 2328 | |||
| 2329 | QGroupBox#groupPlayer1Connected::title, | ||
| 2330 | QGroupBox#groupPlayer2Connected::title, | ||
| 2331 | QGroupBox#groupPlayer3Connected::title, | ||
| 2332 | QGroupBox#groupPlayer4Connected::title, | ||
| 2333 | QGroupBox#groupPlayer5Connected::title, | ||
| 2334 | QGroupBox#groupPlayer6Connected::title, | ||
| 2335 | QGroupBox#groupPlayer7Connected::title, | ||
| 2336 | QGroupBox#groupPlayer8Connected::title { | ||
| 2337 | subcontrol-origin: margin; | ||
| 2338 | subcontrol-position: top left; | ||
| 2339 | padding-left: 0px; | ||
| 2340 | padding-right: 0px; | ||
| 2341 | padding-top: 1px; | ||
| 2342 | margin-left: -2px; | ||
| 2343 | margin-right: -4px; | ||
| 2344 | margin-bottom: 6px; | ||
| 2345 | } | ||
| 2208 | 2346 | ||
| 2209 | QCheckBox#checkboxPlayer1Connected, | 2347 | QCheckBox#checkboxPlayer1Connected, |
| 2210 | QCheckBox#checkboxPlayer2Connected, | 2348 | QCheckBox#checkboxPlayer2Connected, |
| @@ -2214,7 +2352,69 @@ QCheckBox#checkboxPlayer5Connected, | |||
| 2214 | QCheckBox#checkboxPlayer6Connected, | 2352 | QCheckBox#checkboxPlayer6Connected, |
| 2215 | QCheckBox#checkboxPlayer7Connected, | 2353 | QCheckBox#checkboxPlayer7Connected, |
| 2216 | QCheckBox#checkboxPlayer8Connected { | 2354 | QCheckBox#checkboxPlayer8Connected { |
| 2355 | spacing: 0px; | ||
| 2356 | } | ||
| 2357 | |||
| 2358 | QWidget#connectedControllers QLabel { | ||
| 2359 | padding: 0px; | ||
| 2360 | } | ||
| 2361 | |||
| 2362 | QWidget#Player1LEDs, | ||
| 2363 | QWidget#Player2LEDs, | ||
| 2364 | QWidget#Player3LEDs, | ||
| 2365 | QWidget#Player4LEDs, | ||
| 2366 | QWidget#Player5LEDs, | ||
| 2367 | QWidget#Player6LEDs, | ||
| 2368 | QWidget#Player7LEDs, | ||
| 2369 | QWidget#Player8LEDs { | ||
| 2370 | background: transparent; | ||
| 2371 | } | ||
| 2372 | |||
| 2373 | QWidget#Player1LEDs QCheckBox, | ||
| 2374 | QWidget#Player2LEDs QCheckBox, | ||
| 2375 | QWidget#Player3LEDs QCheckBox, | ||
| 2376 | QWidget#Player4LEDs QCheckBox, | ||
| 2377 | QWidget#Player5LEDs QCheckBox, | ||
| 2378 | QWidget#Player6LEDs QCheckBox, | ||
| 2379 | QWidget#Player7LEDs QCheckBox, | ||
| 2380 | QWidget#Player8LEDs QCheckBox, | ||
| 2381 | QCheckBox#checkboxPlayer1Connected, | ||
| 2382 | QCheckBox#checkboxPlayer2Connected, | ||
| 2383 | QCheckBox#checkboxPlayer3Connected, | ||
| 2384 | QCheckBox#checkboxPlayer4Connected, | ||
| 2385 | QCheckBox#checkboxPlayer5Connected, | ||
| 2386 | QCheckBox#checkboxPlayer6Connected, | ||
| 2387 | QCheckBox#checkboxPlayer7Connected, | ||
| 2388 | QCheckBox#checkboxPlayer8Connected { | ||
| 2217 | spacing: 0px; | 2389 | spacing: 0px; |
| 2390 | padding-top: 0px; | ||
| 2391 | padding-bottom: 0px; | ||
| 2392 | background: transparent; | ||
| 2393 | } | ||
| 2394 | |||
| 2395 | QWidget#Player1LEDs QCheckBox::indicator, | ||
| 2396 | QWidget#Player2LEDs QCheckBox::indicator, | ||
| 2397 | QWidget#Player3LEDs QCheckBox::indicator, | ||
| 2398 | QWidget#Player4LEDs QCheckBox::indicator, | ||
| 2399 | QWidget#Player5LEDs QCheckBox::indicator, | ||
| 2400 | QWidget#Player6LEDs QCheckBox::indicator, | ||
| 2401 | QWidget#Player7LEDs QCheckBox::indicator, | ||
| 2402 | QWidget#Player8LEDs QCheckBox::indicator { | ||
| 2403 | width: 6px; | ||
| 2404 | height: 6px; | ||
| 2405 | margin-left: 0px; | ||
| 2406 | } | ||
| 2407 | |||
| 2408 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer1Connected::indicator, | ||
| 2409 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer2Connected::indicator, | ||
| 2410 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer3Connected::indicator, | ||
| 2411 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer4Connected::indicator, | ||
| 2412 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer5Connected::indicator, | ||
| 2413 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer6Connected::indicator, | ||
| 2414 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer7Connected::indicator, | ||
| 2415 | QWidget#bottomPerGameInput QCheckBox#checkboxPlayer8Connected::indicator { | ||
| 2416 | width: 12px; | ||
| 2417 | height: 12px; | ||
| 2218 | } | 2418 | } |
| 2219 | 2419 | ||
| 2220 | QCheckBox#checkboxPlayer1Connected::indicator, | 2420 | QCheckBox#checkboxPlayer1Connected::indicator, |
| @@ -2227,8 +2427,25 @@ QCheckBox#checkboxPlayer7Connected::indicator, | |||
| 2227 | QCheckBox#checkboxPlayer8Connected::indicator { | 2427 | QCheckBox#checkboxPlayer8Connected::indicator { |
| 2228 | width: 14px; | 2428 | width: 14px; |
| 2229 | height: 14px; | 2429 | height: 14px; |
| 2430 | margin-left: 2px; | ||
| 2230 | } | 2431 | } |
| 2231 | 2432 | ||
| 2433 | QWidget#Player1LEDs QCheckBox::indicator:checked, | ||
| 2434 | QWidget#Player2LEDs QCheckBox::indicator:checked, | ||
| 2435 | QWidget#Player3LEDs QCheckBox::indicator:checked, | ||
| 2436 | QWidget#Player4LEDs QCheckBox::indicator:checked, | ||
| 2437 | QWidget#Player5LEDs QCheckBox::indicator:checked, | ||
| 2438 | QWidget#Player6LEDs QCheckBox::indicator:checked, | ||
| 2439 | QWidget#Player7LEDs QCheckBox::indicator:checked, | ||
| 2440 | QWidget#Player8LEDs QCheckBox::indicator:checked, | ||
| 2441 | QGroupBox#groupPlayer1Connected::indicator:checked, | ||
| 2442 | QGroupBox#groupPlayer2Connected::indicator:checked, | ||
| 2443 | QGroupBox#groupPlayer3Connected::indicator:checked, | ||
| 2444 | QGroupBox#groupPlayer4Connected::indicator:checked, | ||
| 2445 | QGroupBox#groupPlayer5Connected::indicator:checked, | ||
| 2446 | QGroupBox#groupPlayer6Connected::indicator:checked, | ||
| 2447 | QGroupBox#groupPlayer7Connected::indicator:checked, | ||
| 2448 | QGroupBox#groupPlayer8Connected::indicator:checked, | ||
| 2232 | QCheckBox#checkboxPlayer1Connected::indicator:checked, | 2449 | QCheckBox#checkboxPlayer1Connected::indicator:checked, |
| 2233 | QCheckBox#checkboxPlayer2Connected::indicator:checked, | 2450 | QCheckBox#checkboxPlayer2Connected::indicator:checked, |
| 2234 | QCheckBox#checkboxPlayer3Connected::indicator:checked, | 2451 | QCheckBox#checkboxPlayer3Connected::indicator:checked, |
| @@ -2244,6 +2461,22 @@ QGroupBox#groupConnectedController::indicator:checked { | |||
| 2244 | image: none; | 2461 | image: none; |
| 2245 | } | 2462 | } |
| 2246 | 2463 | ||
| 2464 | QWidget#Player1LEDs QCheckBox::indicator:unchecked, | ||
| 2465 | QWidget#Player2LEDs QCheckBox::indicator:unchecked, | ||
| 2466 | QWidget#Player3LEDs QCheckBox::indicator:unchecked, | ||
| 2467 | QWidget#Player4LEDs QCheckBox::indicator:unchecked, | ||
| 2468 | QWidget#Player5LEDs QCheckBox::indicator:unchecked, | ||
| 2469 | QWidget#Player6LEDs QCheckBox::indicator:unchecked, | ||
| 2470 | QWidget#Player7LEDs QCheckBox::indicator:unchecked, | ||
| 2471 | QWidget#Player8LEDs QCheckBox::indicator:unchecked, | ||
| 2472 | QGroupBox#groupPlayer1Connected::indicator:unchecked, | ||
| 2473 | QGroupBox#groupPlayer2Connected::indicator:unchecked, | ||
| 2474 | QGroupBox#groupPlayer3Connected::indicator:unchecked, | ||
| 2475 | QGroupBox#groupPlayer4Connected::indicator:unchecked, | ||
| 2476 | QGroupBox#groupPlayer5Connected::indicator:unchecked, | ||
| 2477 | QGroupBox#groupPlayer6Connected::indicator:unchecked, | ||
| 2478 | QGroupBox#groupPlayer7Connected::indicator:unchecked, | ||
| 2479 | QGroupBox#groupPlayer8Connected::indicator:unchecked, | ||
| 2247 | QCheckBox#checkboxPlayer1Connected::indicator:unchecked, | 2480 | QCheckBox#checkboxPlayer1Connected::indicator:unchecked, |
| 2248 | QCheckBox#checkboxPlayer2Connected::indicator:unchecked, | 2481 | QCheckBox#checkboxPlayer2Connected::indicator:unchecked, |
| 2249 | QCheckBox#checkboxPlayer3Connected::indicator:unchecked, | 2482 | QCheckBox#checkboxPlayer3Connected::indicator:unchecked, |
| @@ -2255,34 +2488,17 @@ QCheckBox#checkboxPlayer8Connected::indicator:unchecked, | |||
| 2255 | QGroupBox#groupConnectedController::indicator:unchecked { | 2488 | QGroupBox#groupConnectedController::indicator:unchecked { |
| 2256 | border-radius: 2px; | 2489 | border-radius: 2px; |
| 2257 | border: 1px solid #929192; | 2490 | border: 1px solid #929192; |
| 2258 | background: transparent; | 2491 | background: #19232d; |
| 2259 | image: none; | 2492 | image: none; |
| 2260 | } | 2493 | } |
| 2261 | 2494 | ||
| 2262 | QSpinBox#spinboxLStickRange, | 2495 | QWidget#controllerPlayer1, |
| 2263 | QSpinBox#spinboxRStickRange { | 2496 | QWidget#controllerPlayer2, |
| 2264 | min-width: 38px; | 2497 | QWidget#controllerPlayer3, |
| 2265 | } | 2498 | QWidget#controllerPlayer4, |
| 2266 | 2499 | QWidget#controllerPlayer5, | |
| 2267 | QGroupBox#motionGroup::indicator, | 2500 | QWidget#controllerPlayer6, |
| 2268 | QGroupBox#vibrationGroup::indicator { | 2501 | QWidget#controllerPlayer7, |
| 2269 | margin-left: 0px; | 2502 | QWidget#controllerPlayer8 { |
| 2270 | } | 2503 | background: transparent; |
| 2271 | |||
| 2272 | QGroupBox#motionGroup::title, | ||
| 2273 | QGroupBox#vibrationGroup::title { | ||
| 2274 | spacing: 2px; | ||
| 2275 | padding-left: 1px; | ||
| 2276 | padding-right: 1px; | ||
| 2277 | } | ||
| 2278 | |||
| 2279 | QListWidget#selectorList { | ||
| 2280 | background-color: #0f1922; | ||
| 2281 | } | 2504 | } |
| 2282 | |||
| 2283 | QSpinBox, | ||
| 2284 | QLineEdit, | ||
| 2285 | QTreeView#hotkey_list, | ||
| 2286 | QScrollArea#scrollArea QTreeView { | ||
| 2287 | background-color: #0f1922; | ||
| 2288 | } \ No newline at end of file | ||