Commit Graph

230 Commits

Author SHA1 Message Date
Chris
9b08141ef2 Selectable Git commit ID on the Software Page to resolve #1769 2021-09-13 16:54:48 +00:00
morg
4f62d68f6d Add ability to drag and drop plugin files into the UI 2021-09-08 22:22:31 -05:00
morg
70a2fa81c8 Enable the remove plugin button only when a plugin is selected. 2021-09-09 03:03:44 +00: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
cbdebf7ec8 Scroll plugins list by pixel rather than by item 2021-08-29 23:09:28 -05: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
759aa341c2 Code cleanup, only allow one registered callback in PluginManager and PluginPage 2021-08-30 02:56:57 +00:00
Adam Honse
2643ed0d8f Unload old plugin and load new one when replacing an existing plugin during install 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
bd2334c186 Add enabling and disabling of plugins when clicking checkbox 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
7d7d3aaffc Don't draw the LED view or handle mouse events when the selected mode doesn't use per-LED colors 2021-08-20 10:10:44 -05: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
morg
5efd3e0a20 Make sure to display both line even with scaled resolution. Fix #1666. 2021-08-02 12:30:00 +00:00
Adam Honse
dc142f40d3 Add settings tab for QMK OpenRGB protocol devices 2021-08-01 21:27:29 -05:00
Adam Honse
bfe8e7a997 Move OpenRGBSerialSettingsPage files to a folder 2021-08-01 21:04:52 -05:00
Adam Honse
c8b3c2a2ea Move OpenRGBE131SettingsPage files to a folder 2021-08-01 20:39:12 -05:00
morg
762ecbcc1f Display device name on 2 lines if needed. Fix #1480 2021-07-28 23:40:13 +00:00
morg
057b3d0878 Add some rules to qss for missing targets. Fixes #1651 2021-07-28 11:01:02 +02: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
dc19fad608 Scroll per-pixel rather than per-item on E131 config page 2021-07-14 23:29:22 -05:00
Adam Honse
6b9a97f78f Add settings page for configuring E1.31 devices 2021-07-14 23:02:58 -05:00
Adam Honse
156ebbc071 Make settings page scrollable 2021-07-14 18:23:16 -05:00
morg
ec5e71424c Enable/Disable devices checkbox now takes filter into account. Fix #1587 2021-07-05 09:05:40 +00:00
Adam Honse
eade8fea1a Add save to device support to RGBController 2021-07-04 21:17:45 -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
Chris
f6c038857a Adding custom swatch widget
* Supports configurable set palette
* Ability to add custom colours
* Can be resized and geometry changed at compile

Commit amended by Adam Honse <calcprogrammer1@gmail.com>

* Ability to add custom colors disabled for now
* Scaling by width, not height
* Fill rows first, then cols
2021-07-04 15:49:19 -05:00
Adam Honse
06c6ec2196 Add MacOS autostart support 2021-07-02 01:23:50 -05:00
Jeremy Plsek
3fe27ba27d Update save-as dialog
This moves the label and text input outside of the QDialogButtonBox
(which is mainly meant only for buttons) and into its own layout.

This makes the window resize work slightly better and renders the layout
slightly better.
2021-06-30 16:55:28 +00:00
morg
e29eb71131 Add QToolButton + QMenu styles. Fixes #1464 2021-06-30 15:00:06 +02:00
Tom Greenwood
7624a70b67 Add Start at Login Option (Windows and Linux implemented, MacOS stubbed)
This merge request adds the following:

1. A new class AutoStart, designed to add login startup entries for Linux (FreeDesktop autostart) and Windows (Shortcut File).
1. CLI options to enable, disable and check for autostart. (--autostart-enable, --autostart-disable and --autostart-check). e.g. OpenRGB.exe --autostart-enable "--startminimized --server --profile Blue" --nodetect --noautoconnect
1. UI options to enable "Start At Login" with several other options (see screenshots in Comments)

Tested on KDE Neon and Windows 10 x64 (x64 build).

Commits squashed and amended for code style by Adam Honse <calcprogrammer1@gmail.com>
2021-06-26 02:45:48 -05:00
Adam Honse
d8252281ce Prevent theme box from saving theme setting until initialized 2021-05-30 21:08:23 -07:00
Kasper
a5928518c1 Implement QMK OpenRGB Procotol
This commit squashes commits by:

    Kasper <ofek4430@gmail.com>
    jath03 <jackthughes@yahoo.com>
    Adam Honse <calcprogrammer1@gmail.com>

Commits squashed and amended for code style by Adam Honse <calcprogrammer1@gmail.com>
2021-05-30 18:41:55 -05:00
Adam Honse
1df6e8f559 Add geometry settings to settings page 2021-05-28 12:07:38 -05:00
morg
c1b9f79052 Add settings page under settings tab 2021-05-28 16:37:41 +00:00
Adam Honse
a2a93daaab Add numerical_labels setting to UserInterface settings 2021-05-24 23:08:39 -05:00
Kasper
f9c7df21f1 Add a number as a label for LEDs that otherwise would be nameless in DeviceView 2021-05-24 22:51:37 -05: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