From 9d4edd4e88d291aa4b778b74f6e9daa9dd358d2b Mon Sep 17 00:00:00 2001
From: Morph <39850852+Morph1984@users.noreply.github.com>
Date: Sun, 13 Sep 2020 09:25:22 -0400
Subject: ui/themes: Cleanup UI
---
src/yuzu/aboutdialog.ui | 20 --
src/yuzu/applets/controller.ui | 31 +--
src/yuzu/configuration/configure.ui | 20 --
.../configuration/configure_debug_controller.ui | 20 --
src/yuzu/configuration/configure_input.ui | 24 +-
.../configuration/configure_input_advanced.cpp | 4 +-
src/yuzu/configuration/configure_input_advanced.ui | 192 ++++++++--------
src/yuzu/configuration/configure_input_player.ui | 241 +++++++++++----------
src/yuzu/configuration/configure_motion_touch.ui | 10 -
src/yuzu/configuration/configure_mouse_advanced.ui | 46 ++--
src/yuzu/configuration/configure_per_game.ui | 20 --
.../configuration/configure_touch_from_button.ui | 10 -
.../configure_touchscreen_advanced.ui | 22 +-
13 files changed, 263 insertions(+), 397 deletions(-)
(limited to 'src')
diff --git a/src/yuzu/aboutdialog.ui b/src/yuzu/aboutdialog.ui
index f122ba39d..1b320630c 100644
--- a/src/yuzu/aboutdialog.ui
+++ b/src/yuzu/aboutdialog.ui
@@ -160,32 +160,12 @@ p, li { white-space: pre-wrap; }
accepted()
AboutDialog
accept()
-
-
- 248
- 254
-
-
- 157
- 274
-
-
buttonBox
rejected()
AboutDialog
reject()
-
-
- 316
- 260
-
-
- 286
- 274
-
-
diff --git a/src/yuzu/applets/controller.ui b/src/yuzu/applets/controller.ui
index c4108a979..2ab69a2d3 100644
--- a/src/yuzu/applets/controller.ui
+++ b/src/yuzu/applets/controller.ui
@@ -1217,9 +1217,6 @@
-
-
- false
-
-
Pro Controller
@@ -2279,7 +2276,7 @@
6
- 6
+ 8
6
@@ -2335,13 +2332,13 @@
- 65
- 0
+ 68
+ 21
- 65
+ 68
16777215
@@ -2387,18 +2384,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Configure
@@ -2430,12 +2427,12 @@
- 65
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Open
@@ -2657,16 +2654,6 @@
accepted()
QtControllerSelectorDialog
accept()
-
-
- 20
- 20
-
-
- 20
- 20
-
-
diff --git a/src/yuzu/configuration/configure.ui b/src/yuzu/configuration/configure.ui
index fcf42cdcb..f92c3aff3 100644
--- a/src/yuzu/configuration/configure.ui
+++ b/src/yuzu/configuration/configure.ui
@@ -275,32 +275,12 @@
accepted()
ConfigureDialog
accept()
-
-
- 220
- 380
-
-
- 220
- 200
-
-
buttonBox
rejected()
ConfigureDialog
reject()
-
-
- 220
- 380
-
-
- 220
- 200
-
-
diff --git a/src/yuzu/configuration/configure_debug_controller.ui b/src/yuzu/configuration/configure_debug_controller.ui
index a95ed50ff..7b7e6582c 100644
--- a/src/yuzu/configuration/configure_debug_controller.ui
+++ b/src/yuzu/configuration/configure_debug_controller.ui
@@ -66,32 +66,12 @@
accepted()
ConfigureDebugController
accept()
-
-
- 140
- 318
-
-
- 140
- 169
-
-
buttonBox
rejected()
ConfigureDebugController
reject()
-
-
- 140
- 318
-
-
- 140
- 169
-
-
diff --git a/src/yuzu/configuration/configure_input.ui b/src/yuzu/configuration/configure_input.ui
index 136955224..b74481bda 100644
--- a/src/yuzu/configuration/configure_input.ui
+++ b/src/yuzu/configuration/configure_input.ui
@@ -142,7 +142,7 @@
6
- 3
+ 8
6
@@ -198,13 +198,13 @@
- 65
+ 68
21
- 65
+ 68
16777215
@@ -250,18 +250,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Configure
@@ -468,13 +468,13 @@
- 57
+ 68
0
- 55
+ 68
16777215
@@ -494,7 +494,7 @@
Qt::LeftToRight
- min-width: 55px;
+ min-width: 68px;
Defaults
@@ -511,13 +511,13 @@
- 57
+ 68
0
- 55
+ 68
16777215
@@ -537,7 +537,7 @@
Qt::LeftToRight
- min-width: 55px;
+ min-width: 68px;
Clear
diff --git a/src/yuzu/configuration/configure_input_advanced.cpp b/src/yuzu/configuration/configure_input_advanced.cpp
index 81f9dc16c..3715db0ab 100644
--- a/src/yuzu/configuration/configure_input_advanced.cpp
+++ b/src/yuzu/configuration/configure_input_advanced.cpp
@@ -101,7 +101,7 @@ void ConfigureInputAdvanced::OnControllerButtonClick(int player_idx, int button_
}
controllers_colors[player_idx][button_idx] = new_bg_color;
controllers_color_buttons[player_idx][button_idx]->setStyleSheet(
- QStringLiteral("background-color: %1; min-width: 55px;")
+ QStringLiteral("background-color: %1; min-width: 60px;")
.arg(controllers_colors[player_idx][button_idx].name()));
}
@@ -139,7 +139,7 @@ void ConfigureInputAdvanced::LoadConfiguration() {
for (std::size_t button_idx = 0; button_idx < colors.size(); ++button_idx) {
controllers_color_buttons[player_idx][button_idx]->setStyleSheet(
- QStringLiteral("background-color: %1; min-width: 55px;")
+ QStringLiteral("background-color: %1; min-width: 60px;")
.arg(controllers_colors[player_idx][button_idx].name()));
}
}
diff --git a/src/yuzu/configuration/configure_input_advanced.ui b/src/yuzu/configuration/configure_input_advanced.ui
index 5958435fc..a880a7c68 100644
--- a/src/yuzu/configuration/configure_input_advanced.ui
+++ b/src/yuzu/configuration/configure_input_advanced.ui
@@ -192,18 +192,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -247,18 +247,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -323,18 +323,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -378,18 +378,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -478,18 +478,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -533,18 +533,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -609,18 +609,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -664,18 +664,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -782,18 +782,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -837,18 +837,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -913,18 +913,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -968,18 +968,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -1068,18 +1068,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -1123,18 +1123,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -1199,18 +1199,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -1254,18 +1254,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -1393,18 +1393,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -1448,18 +1448,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -1524,18 +1524,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -1579,18 +1579,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -1679,18 +1679,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -1734,18 +1734,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -1810,18 +1810,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -1865,18 +1865,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -1983,18 +1983,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -2038,18 +2038,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -2114,18 +2114,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -2169,18 +2169,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -2269,18 +2269,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -2324,18 +2324,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -2400,18 +2400,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
@@ -2455,18 +2455,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
diff --git a/src/yuzu/configuration/configure_input_player.ui b/src/yuzu/configuration/configure_input_player.ui
index e03461d9d..1e78b4c10 100644
--- a/src/yuzu/configuration/configure_input_player.ui
+++ b/src/yuzu/configuration/configure_input_player.ui
@@ -83,6 +83,12 @@
-
+
+
+ 0
+ 21
+
+
-
Pro Controller
@@ -136,6 +142,12 @@
-
+
+
+ 0
+ 21
+
+
-
Any
@@ -152,14 +164,14 @@
- 24
- 22
+ 21
+ 21
- 24
- 22
+ 21
+ 21
@@ -198,18 +210,25 @@
5
-
-
+
+
+
+ 0
+ 21
+
+
+
-
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Save
@@ -220,12 +239,12 @@
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
New
@@ -236,12 +255,12 @@
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Delete
@@ -393,18 +412,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Up
@@ -463,18 +482,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Left
@@ -512,18 +531,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Right
@@ -594,18 +613,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Down
@@ -664,18 +683,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Pressed
@@ -713,18 +732,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Modifier
@@ -759,13 +778,13 @@
- 55
+ 68
21
- 55
+ 68
16777215
@@ -966,18 +985,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Up
@@ -1036,18 +1055,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Left
@@ -1085,18 +1104,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Right
@@ -1167,18 +1186,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Down
@@ -1292,18 +1311,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
L
@@ -1341,18 +1360,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
ZL
@@ -1445,18 +1464,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Minus
@@ -1494,18 +1513,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Capture
@@ -1564,18 +1583,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Plus
@@ -1613,18 +1632,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Home
@@ -1717,18 +1736,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
R
@@ -1766,18 +1785,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
ZR
@@ -1870,18 +1889,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
SL
@@ -1919,18 +1938,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
SR
@@ -2027,18 +2046,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Left
@@ -2076,18 +2095,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Right
@@ -2225,18 +2244,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
X
@@ -2295,18 +2314,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Y
@@ -2344,18 +2363,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
A
@@ -2426,18 +2445,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
B
@@ -2580,18 +2599,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Up
@@ -2650,18 +2669,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Left
@@ -2699,18 +2718,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Right
@@ -2781,18 +2800,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Down
@@ -2851,18 +2870,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Pressed
@@ -2900,18 +2919,18 @@
- 57
+ 68
0
- 55
+ 68
16777215
- min-width: 55px;
+ min-width: 68px;
Modifier
@@ -2946,13 +2965,13 @@
- 55
+ 68
21
- 55
+ 68
16777215
diff --git a/src/yuzu/configuration/configure_motion_touch.ui b/src/yuzu/configuration/configure_motion_touch.ui
index 602cf8cd8..5b78c5a4b 100644
--- a/src/yuzu/configuration/configure_motion_touch.ui
+++ b/src/yuzu/configuration/configure_motion_touch.ui
@@ -312,16 +312,6 @@
accepted()
ConfigureMotionTouch
ApplyConfiguration()
-
-
- 220
- 380
-
-
- 220
- 200
-
-
diff --git a/src/yuzu/configuration/configure_mouse_advanced.ui b/src/yuzu/configuration/configure_mouse_advanced.ui
index 74552fdbd..5b99e1c37 100644
--- a/src/yuzu/configuration/configure_mouse_advanced.ui
+++ b/src/yuzu/configuration/configure_mouse_advanced.ui
@@ -15,7 +15,7 @@
QPushButton {
- min-width: 55px;
+ min-width: 60px;
}
@@ -42,13 +42,13 @@
- 57
+ 68
0
- 16777215
+ 68
16777215
@@ -82,7 +82,7 @@
- 57
+ 68
0
@@ -110,7 +110,7 @@
- 57
+ 68
0
@@ -138,13 +138,13 @@
- 57
+ 68
0
- 16777215
+ 68
16777215
@@ -204,13 +204,13 @@
- 57
+ 68
0
- 16777215
+ 68
16777215
@@ -256,13 +256,13 @@
- 57
+ 68
0
- 16777215
+ 68
16777215
@@ -275,13 +275,13 @@
- 57
+ 68
0
- 16777215
+ 68
16777215
@@ -324,32 +324,12 @@
accepted()
ConfigureMouseAdvanced
accept()
-
-
- 124
- 266
-
-
- 124
- 143
-
-
buttonBox
rejected()
ConfigureMouseAdvanced
reject()
-
-
- 124
- 266
-
-
- 124
- 143
-
-
diff --git a/src/yuzu/configuration/configure_per_game.ui b/src/yuzu/configuration/configure_per_game.ui
index d2057c4ab..25975b3b9 100644
--- a/src/yuzu/configuration/configure_per_game.ui
+++ b/src/yuzu/configuration/configure_per_game.ui
@@ -319,32 +319,12 @@
accepted()
ConfigurePerGame
accept()
-
-
- 248
- 254
-
-
- 157
- 274
-
-
buttonBox
rejected()
ConfigurePerGame
reject()
-
-
- 316
- 260
-
-
- 286
- 274
-
-
diff --git a/src/yuzu/configuration/configure_touch_from_button.ui b/src/yuzu/configuration/configure_touch_from_button.ui
index f581e27e0..757219d54 100644
--- a/src/yuzu/configuration/configure_touch_from_button.ui
+++ b/src/yuzu/configuration/configure_touch_from_button.ui
@@ -216,16 +216,6 @@ Drag points to change position, or double-click table cells to edit values.rejected()
ConfigureTouchFromButton
reject()
-
-
- 249
- 428
-
-
- 249
- 224
-
-
diff --git a/src/yuzu/configuration/configure_touchscreen_advanced.ui b/src/yuzu/configuration/configure_touchscreen_advanced.ui
index 1171c2dd1..30ceccddb 100644
--- a/src/yuzu/configuration/configure_touchscreen_advanced.ui
+++ b/src/yuzu/configuration/configure_touchscreen_advanced.ui
@@ -168,32 +168,12 @@
accepted()
ConfigureTouchscreenAdvanced
accept()
-
-
- 140
- 318
-
-
- 140
- 169
-
-
buttonBox
rejected()
ConfigureTouchscreenAdvanced
reject()
-
-
- 140
- 318
-
-
- 140
- 169
-
-
-
+
--
cgit v1.2.3