summaryrefslogtreecommitdiff
path: root/gui/resources
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-27 14:58:35 -0400
committerbd <bdunahu@operationnull.com>2025-04-27 14:58:35 -0400
commit599593ff229cfcead87a9fa87b4eaa13f0e280b5 (patch)
treedecc9ce2ba9da83bd5043a5828ff58a5d4518cb8 /gui/resources
parente1ac80f5f07c26a8423382cd306a1c1d07bf4c85 (diff)
Make spinbox arrows invert colors when pressed
Diffstat (limited to 'gui/resources')
-rw-r--r--gui/resources/arrow_down_pressed.pngbin0 -> 234 bytes
-rw-r--r--gui/resources/arrow_up_pressed.pngbin0 -> 227 bytes
-rw-r--r--gui/resources/styles.qss16
3 files changed, 14 insertions, 2 deletions
diff --git a/gui/resources/arrow_down_pressed.png b/gui/resources/arrow_down_pressed.png
new file mode 100644
index 0000000..0981cf2
--- /dev/null
+++ b/gui/resources/arrow_down_pressed.png
Binary files differ
diff --git a/gui/resources/arrow_up_pressed.png b/gui/resources/arrow_up_pressed.png
new file mode 100644
index 0000000..98d50ac
--- /dev/null
+++ b/gui/resources/arrow_up_pressed.png
Binary files differ
diff --git a/gui/resources/styles.qss b/gui/resources/styles.qss
index ea85e00..c6d8daa 100644
--- a/gui/resources/styles.qss
+++ b/gui/resources/styles.qss
@@ -74,8 +74,8 @@ QSpinBox::up-arrow {
height: 7px;
}
-QSpinBox::down-arrow {
- image: url(:/resources/arrow_down.png);
+QSpinBox::up-arrow:pressed {
+ image: url(:/resources/arrow_up_pressed.png);
width: 7px;
height: 7px;
}
@@ -100,6 +100,18 @@ QSpinBox::down-button:pressed {
background-color: "#000200";
}
+QSpinBox::down-arrow {
+ image: url(:/resources/arrow_down.png);
+ width: 7px;
+ height: 7px;
+}
+
+QSpinBox::down-arrow:pressed {
+ image: url(:/resources/arrow_down_pressed.png);
+ width: 7px;
+ height: 7px;
+}
+
QTableView {
border: 0px;
selection-background-color: transparent;