Kellermorph
5d033bf1b2
Add custom application color picker in global settings
...
Add a KColorButton next to the 'Utiliser les couleurs du système'
checkbox in the Apparence settings tab:
- When the checkbox is active (default), system colors are used
and the color button is disabled
- When the checkbox is inactive, the color button becomes active
and lets the user pick any color for the entire application
- useCustomPalette() builds a full QPalette from the chosen color
with proper light/dark text contrast, button shading, and icon
theme switching
- The chosen color is persisted in QSettings as
'customapplicationcolor' and restored on next startup
Files changed:
- sources/ui/configpage/generalconfigurationpage.ui: HBoxLayout
with checkbox + KColorButton, customwidget declaration
- sources/ui/configpage/generalconfigurationpage.h: new slot
- sources/ui/configpage/generalconfigurationpage.cpp: load/save
custom color, enable/disable logic, toggled slot
- sources/qetapp.h: useCustomPalette() declaration
- sources/qetapp.cpp: useCustomPalette() implementation,
startup restore of custom color
2026-09-21 22:05:31 +02:00
..
2026-09-21 22:05:31 +02:00
2026-07-05 17:39:38 +02:00
2026-02-05 17:58:12 +09:00
2026-01-16 15:24:35 +01:00
2025-05-18 14:15:20 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2018-05-11 18:14:41 +00:00
2026-07-07 21:42:45 +02:00
2026-07-07 21:42:45 +02:00
2026-09-17 10:09:14 +12:00
2026-09-17 10:09:14 +12:00
2026-09-17 10:09:14 +12:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2021-02-22 13:47:39 +01:00
2024-12-31 21:58:42 +01:00
2024-12-31 21:58:42 +01:00
2017-08-29 14:54:27 +00:00
2026-09-19 09:02:58 +12:00
2026-09-19 09:02:58 +12:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2015-08-26 21:46:47 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-09-17 05:41:50 -05:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-09-17 05:41:50 -05:00
2026-07-17 09:47:32 +02:00
2026-07-17 09:47:32 +02:00
2026-08-03 10:28:26 +12:00
2026-08-03 10:28:26 +12:00
2026-09-20 22:58:08 +02:00
2026-09-20 22:58:08 +02:00
2026-08-08 00:32:31 +02:00
2026-01-16 15:24:35 +01:00
2018-10-16 15:49:18 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2022-01-03 21:01:25 +01:00
2026-08-08 00:32:31 +02:00
2026-01-16 15:24:35 +01:00
2026-08-08 00:32:31 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2018-07-08 23:31:34 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-09-17 05:41:50 -05:00
2026-09-16 04:39:31 -05:00
2026-08-10 20:30:05 +12:00
2026-08-21 15:16:36 +02:00
2026-08-21 15:16:36 +02:00
2018-11-09 18:50:37 +00:00
2026-09-16 18:51:34 +12:00
2026-08-03 10:28:26 +12:00
2026-04-09 08:36:54 +02:00
2026-09-09 11:47:26 +12:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2017-01-15 12:23:05 +00:00
2026-09-05 15:48:28 +02:00
2026-09-05 15:48:28 +02:00
2026-09-05 15:48:28 +02:00
2026-09-05 15:48:28 +02:00
2026-09-05 15:48:28 +02:00
2026-09-17 00:07:46 +02:00
2026-09-07 10:44:29 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2016-05-05 13:31:04 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2018-09-30 17:19:50 +00:00
2026-08-04 10:32:25 +12:00
2026-01-16 15:24:35 +01:00
2021-02-22 13:47:39 +01:00
2026-08-01 01:05:43 +12:00
2026-08-01 01:05:43 +12:00
2026-09-16 11:37:27 +02:00
2026-09-16 11:37:27 +02:00
2026-09-16 11:37:27 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2020-05-15 11:38:09 +02:00
2026-09-10 11:54:52 +12:00
2026-07-27 22:16:52 +02:00
2026-09-17 05:41:50 -05:00
2026-06-16 17:41:03 +02:00
2026-01-16 15:24:35 +01:00
2018-04-23 13:50:36 +00:00
2026-08-23 12:05:52 +02:00
2026-08-23 12:05:52 +02:00
2026-09-16 11:49:55 +02:00
2026-09-13 21:32:34 +02:00
2026-07-31 20:39:04 +12:00
2026-07-31 20:39:04 +12:00
2026-07-31 20:39:04 +12:00
2026-08-09 01:34:22 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2018-12-04 19:07:14 +00:00
2026-09-05 15:48:28 +02:00
2026-01-16 15:24:35 +01:00
2026-09-05 15:48:28 +02:00
2026-08-14 09:43:39 +02:00
2026-08-14 09:43:39 +02:00
2026-08-13 13:51:13 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-09-17 05:41:50 -05:00
2026-08-09 01:34:22 +02:00
2026-06-12 05:45:08 +12:00
2026-09-17 05:41:50 -05:00
2026-09-11 12:43:07 +12:00
2026-08-21 21:10:27 +12:00
2026-09-05 18:55:14 +02:00
2026-01-16 15:24:35 +01:00
2026-08-22 12:03:35 +02:00