Commit Graph

25 Commits

Author SHA1 Message Date
Adam Honse
c0826fbe83 Settings Rework
* Add JSON string configuration field to RGBController to store device-specific configurations
    * This JSON string holds both configuration and schema
    * Add settings schema tracking to SettingsManager
    * Implement dynamic settings widget that generates a settings UI based on a JSON schema
    * Implement SettingsManager callback for notifying of settings changes and settings schema updates
    * Always enable Entire Device zone option and use it to enable Edit Device
    * Rename SaveSizes to SaveConfiguration in ProfileManager and Sizes.json to Configuration.json
    * Add zone flag for indicating that a zone's geometry may change, informing profile manager to ignore this check
    * Remove Theme setting and Theme Manager, as this didn't work on most setups anyways and Qt6 has proper Windows dark theming
2026-05-04 22:50:47 -05:00
Adam Honse
51788536c1 Rework server initialization
* Only create server instance if server is actually needed
    * Pass initial server host and port through ResourceManager
    * Allow setting default server host and port in Server settings
2026-04-24 11:36:41 -05:00
Adam Honse
9e09832ded Organize OpenRGBSettingsPage with Group Boxes 2026-04-24 11:36:41 -05:00
Adam Honse
44795190ca Rework Profiles to use JSON format
* Update OpenRGB Plugin Interface to include functions for loading/saving profile JSON data into OpenRGB profiles
    * Update ProfileManager to handle auto-load profiles (Exit, Open, Resume, Suspend) and move their settings to ProfileManager section
    * Update ProfileManager to store profiles in "profiles" folder in .json format
    * Update ProfileManager to store size profile in sizes.json
    * Update ProfileManager to perform device UpdateMode/UpdateColors when loading profile
    * Code cleanup of ProfileManager and profile-related code
2026-04-24 11:32:02 -05:00
acehighdan
e8f345ff77 Sync autostart system configuration with OpenRGB settings on startup
If the autostart system configuration is deleted (e.g. by a reinstall or
package manager) but the JSON config still has enabled=true, OpenRGB
would silently fail to start at login. Fix by calling ConfigureAutoStart()
in the settings page constructor so the system configuration is always
reconciled with the stored JSON state every time OpenRGB starts.

Commit amended to make wording more generic by Adam Honse <calcprogrammer1@gmail.com>
2026-04-20 23:32:49 -05:00
Dmitry Kychanov
aff0610df9 Fix default language load on start 2026-04-20 23:32:49 -05:00
Adam Honse
056b383536 Add SMBus Sleep Mode settings page 2026-04-15 00:29:54 -05:00
Arthur de Groot
cc06c62164 Rename Setting RunZoneChecks -> run_zone_checks 2026-02-05 17:20:14 -06:00
Adam Honse
bd6b358e0d Fix some issues with detector settings page 2025-12-08 15:33:17 -06:00
Adam Honse
6da0dbf511 Add configuration for detector settings (HID safe mode and detection delay) to settings page 2025-12-08 01:00:09 -06:00
Adam Honse
c71cc4f18a Change SPDX license identifier from GPL 2.0 only to GPL 2.0 or later, as the original LICENSE file includes an or later clause at the end so the file headers were incorrect 2025-09-28 00:47:08 -05:00
Adam Honse
25d45fd9db Add server settings to settings page 2025-07-15 18:11:32 -05:00
Adam Honse
a762d00aa8 Fix warnings in Windows build 2025-07-05 01:47:40 -05:00
morg
8ad90314fd AutoStart settings: fix server port range 2025-06-26 08:34:35 -05:00
Dmitry Kychanov
5f8b044577 Convert all UI files to match Qt standards 2025-06-18 17:53:14 -05:00
RedBlackAka
bb6f8e2ddd Consistent capitalization on Settings page 2025-02-13 13:54:27 +00:00
Shady Nawara
aca9d27808 macOS smbus Piix4, SuperIO, and Nct6775 2025-02-06 17:20:30 +00:00
RedBlackAka
6ac3fae951 Capitalize theme names 2025-01-19 01:10:07 -06:00
Adam Honse
02db89f7fc Add settings option to enable/disable logging to file, default to enabled 2025-01-05 16:32:32 -06:00
Zach Deibert
bd3cc94212 Add support for loading profiles on suspend/resume 2024-11-26 20:07:28 +00:00
Adam Honse
5b7cdf786b Allow switching format for hex color code entry box between RGB (HTML) and BGR (RGBColor) 2024-11-10 16:23:57 -06:00
morg
1368f83d77 Adds a setting for automatically showing LED view 2024-11-02 17:34:28 +00:00
Adam Honse
da80b12fda Update some user interface file header comments to standardized new format 2024-05-06 16:35:13 -05:00
Dmitry K
51712f08b5 Removed include directives from ResourceManager.h to speed up build process 2023-07-12 14:51:47 +00:00
Adam Honse
d6e5645bb9 Cleanup qt folder 2023-07-07 02:03:33 -05:00