Commit graph

107 commits

Author SHA1 Message Date
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
Aleksey Krichevskiy
bca9407f70 OpenRGBDialog2: Save Profile button with Save Profile As menu 2021-03-05 11:01:18 -06:00
silas
874a63bab7 Add large comment block 2021-03-05 16:45:54 +00:00
silas
7f90efa75b Move topTabLoaded bool as morg suggested 2021-03-05 16:45:54 +00:00
Adam Honse
2915133d96 Update paths for homebrew on Apple Silicon Macs and use Qt Fusion theme on MacOS 2021-03-03 17:14:45 -06:00
silas
27fb7984f8 Accidentally didn't test enough
loading something like the updates plugin (Which appears in the info tab) would make it load multiple times
This commit fixes that
2021-02-26 17:16:39 -06:00
silas
aea6f82026 Fix OpenRGB not closing when min to tray was on 2021-02-26 16:27:34 -06:00
silas
f4ab8bd14a Fixed :) 2021-02-26 18:57:01 +00:00
jath03
84861ef989 Fixing profile loading #1135 2021-02-26 08:17:44 -06:00
Jack
f844108022 Removing .orp extension from profile names 2021-02-19 03:29:39 +00:00
Cheerpipe
e9f3a1b3b9 Logitech G560 initial support
Logitech G560 Speaker working with Direct Mode using same bits as the Logitech Ambilight and Audioviz. Other modes are not working (get) as expected.

Note: G560 Direct mode is slow because Logitech hardware implementation but it is working.

Changing volume at the same time colors are changing can reduce FPS because G560 uses the same channel for led and audio modes commands.

Commits squashed and amended for code style by Adam Honse <calcprogrammer1@gmail.com>
2021-02-15 08:45:57 -06:00