Commit graph

117 commits

Author SHA1 Message Date
morg
a47ae7ed48 Migrate from QSS to QPalette 2022-02-13 11:42:15 +01:00
Adam Honse
0e750b6e9e Initial LIFX commit 2022-02-12 04:45:22 +00:00
morg
fe51cc7c5d Hide the led view to prevent a paint event on rescan #1871 2022-01-21 04:02:16 +00:00
Chris
310447c5f0 Adjusting QSS and palette to resolve #1976
+ Adding global QLabel and QTableView to QSS
+ Adding `Link` and `LinkVisited` to palette
+ Ensuring Windows sets a Monospaced font for the log console
2021-11-30 18:34:58 +00:00
Adam Honse
befc88871a Add Do Not Show Again box to LOG_DIALOG, using std::hash to hash the dialog string 2021-11-23 00:31:25 -06:00
NicolasNewman
7b63813cdb Add storage device type
Commit amended from original XPG Spectrix S40G merge request by Adam Honse <calcprogrammer1@gmail.com>
2021-11-22 00:12:30 -06:00
morg
aee13c45c9 Set dark theme to warning popup if needed 2021-11-22 02:56:13 +00:00
morg
8de3407ffb Make sure to exit the app if we have to. 2021-11-19 20:26:27 +00:00
morg
e8c18f7cb4 Make the warning dialog support rich text format + make text selectable. 2021-11-12 23:13:24 +01:00
morg
ace9093465 Make sure plugin widget parent is set - fix #1913
Commit amended for code style by Adam Honse <calcprogrammer1@gmail.com>
2021-11-10 23:36:41 -06:00
Adam Honse
f1e7ea298f Add LL_DIALOG log level, which can trigger the GUI to show a message box containing the log message 2021-11-07 12:28:59 -06:00
morg
0eab54f04f Unload plugin on exit. 2021-10-12 10:37:42 +02:00
Chris
7ffaa20ba6 Setting Object name for QAction "Lights Off" to resolve #1594
* Setting object name allows SIGNAL / SLOT connection for plugins

Amended action name to PascalCase (ActionLightsOff) for plugin API consistency.  Commit amended by Adam Honse <calcprogrammer1@gmail.com>
2021-10-07 10:09:03 -05:00
Adam Honse
b94663aa03 Disable log console by default, add a setting in LogManager settings section to enable it 2021-10-06 19:16:11 -05:00
Adam Honse
77b924d5f7 Rename Console tab to Log Console 2021-10-06 18:47:30 -05:00
morg
8de3928080 Add console page 2021-10-06 23:34:52 +00:00
morg
e1de0c58eb Set the plugin tray widget parent 2021-10-02 16:30:34 +00:00
Adam Honse
bec0751a7f Rearrange Settings tab 2021-09-28 22:44:44 -05:00
Adam Honse
b8246b6140 Add Philips Hue settings page 2021-09-19 02:32:17 -05:00
Adam Honse
4991e7744b Add Yeelight devices settings page 2021-09-06 17:30:55 -05:00
Adam Honse
d0260a7eb0 Add Philips Wiz devices settings page 2021-09-06 16:46:39 -05:00
morg
344e7c7551 Make sure the exit action is the last action in the tray menu 2021-09-02 04:18:10 +00:00
morg
3699889250 Prompt users to resize or setup zones. #1407 2021-09-02 03:30:40 +00:00
Adam Honse
2800e76e9d Add GetTrayMenu to plugin API to provide a dedicated interface for registering a tray menu for a plugin 2021-08-29 22:58:58 -05:00
Adam Honse
2f25c4af7f More plugin updates, enum for location 2021-08-30 02:56:57 +00:00
Adam Honse
702be2401b Add comment indicating location is mandatory, list possible locations, rename SettingsTabBar to SettingsTab for consistency 2021-08-30 02:56:57 +00:00
Adam Honse
208deaea12 Remove plugin from active plugins list when removing plugin from user interface 2021-08-30 02:56:57 +00:00
Adam Honse
6bacee59f5 Add capability to load and unload plugins 2021-08-30 02:56:57 +00:00
Adam Honse
28d590b64d First draft of plugin API changes 2021-08-30 02:56:57 +00:00
Adam Honse
a20405a6ef Add Plugins tab to settings for installing, enabling, disabling, and removing plugins
* Rework Plugin Manager so that plugins can be loaded after initialization
* Use a callback function to add plugin tabs to the dialog
* Install button lets you choose plugin file, copies it to plugins directory, and immediately loads it
* Remove button deletes selected plugin file from plugins directory - need to add a means to unload it first
2021-08-25 02:44:53 +00:00
Adam Honse
7327644d26 Use TabLabel for all tab labels and adjust the TabLabel widget layout so that it aligns with the previous HTML label layout. Height is slightly increased for two-line labels. 2021-08-17 19:44:20 -05:00
Adam Honse
bbc16a9ae2 Rename DeviceTabHeader to TabLabel, so we can use it for all tabs rather than just device tabs 2021-08-17 19:13:28 -05:00
Adam Honse
dc142f40d3 Add settings tab for QMK OpenRGB protocol devices 2021-08-01 21:27:29 -05:00
morg
762ecbcc1f Display device name on 2 lines if needed. Fix #1480 2021-07-28 23:40:13 +00:00
Adam Honse
6623508757 Update icons for E1.31 settings and Serial settings tabs 2021-07-25 03:04:11 -05:00
Adam Honse
221e332440 Add settings tab for configuring serial LED strip devices. Add the ability to name them. 2021-07-24 02:27:14 -05:00
Adam Honse
6b9a97f78f Add settings page for configuring E1.31 devices 2021-07-14 23:02:58 -05:00
Chris
6fd2ea9276 Initial commit for Brightness in RGBController API
* Added DeviceHasBrightness() = false; to RGBController as overridable
* Added Brightness to Mode struct
* Added BrightnessSlider to the OpenRGBDevicePage ui and the supporting
code to pass to the RGBController

Commit amended for code style and to split API changes and controller changes out by Adam Honse
<calcprogrammer1@gmail.com>
2021-07-04 21:16:49 -05:00
morg
c1b9f79052 Add settings page under settings tab 2021-05-28 16:37:41 +00:00
Adam Honse
d88f9979a9 Rework network client callback pipeline - route callbacks from clients through ResourceManager so that device list callbacks get called. Fixes remote devices not showing up in plugins. 2021-05-14 23:29:34 -05:00
Chris
81bf61867f Amending QTwindow geometry config to resovle #1245
+ Code to initialise config values.
    + Added "load_geometry" variable so that you can load set values but not have to "save_on_exit"

Commit amended for code style by Adam Honse <calcprogrammer1@gmail.com>
2021-05-13 20:59:32 -05:00
Adam Honse
d3ee9911b5 Change UI_Settings key to UserInterface 2021-05-10 22:17:11 -05:00
Chris
166bc13dec Adding ability to save QTwindow geometry to config solving #1245
+ Load window geometry from config added to constructor
+ Save window geometry to config added to destructor
+ Added an opt out boolean to allow for saving / not saving geometry
+ Consolidated the Minimize settings into the "UI_Settings" in config
+ Code to initialise config values.

Amended for code style by Adam Honse <calcprogrammer1@gmail.com>
2021-05-10 22:15:20 -05:00
morg
23db961be3 Refactor OpenRGBDialog2 + add SettingsTab as plugin location 2021-05-06 17:57:28 +02:00
morg
59a0bec399 Toggle plugins visibility for all locations 2021-05-06 01:16:06 +00:00
morg
8ee0b12ef8 Auto hide/show plugin containers
Commit amended for code style and to add comments by Adam Honse <calcprogrammer1@gmail.com>
2021-05-02 00:01:52 -05:00
Adam Honse
dd4865c3e0 Add initial version of the Plugin Container, which prevents plugins from resizing the window unless shown 2021-04-23 22:45:30 -05:00
morg
c45f864977 Add virtual device type 2021-04-21 21:37:50 +02:00
silas
a3f2cd96c5 Fix OpenRGB not closing 2021-04-11 11:46:32 -05:00
Adam Honse
a08fb8b532 Move plugin initialization into PluginManager and log plugin loading 2021-03-05 16:58:06 -06:00