Commit graph

190 commits

Author SHA1 Message Date
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
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
0fbe96f8ec Add button to open settings folder 2021-05-06 01:00:34 +00:00
silas
827c78da13 Fix window getting larger when spamming toggle LED view
Commit amended to only implement size hint change by Adam Honse <calcprogrammer1@gmail.com>
2021-05-02 11:33:20 -05: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
morg
0b4a8ffce2 Software info: add website link, make links clickable 2021-04-30 21:02:35 +02:00
Adam Honse
5616f547e4 Fix a bunch of warnings 2021-04-29 13:42:49 -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
Chris
9b8d2c38d3 Changed "Set All Devices"
* Changed `Set All Devices` to `Apply To All Devices`
* Added a tooltip to `Apply to All`
* Added Black and White quick colour swatches and left them "not flat" to
ensure visibility in Light and Dark mode.

Commit amended to fix display issues on Windows and to group buttons in layout by Adam Honse <calcprogrammer1@gmail.com>
2021-04-23 11:44:59 -05:00
morg
c45f864977 Add virtual device type 2021-04-21 21:37:50 +02:00
Chris
55c8ac8e3e Normalising the inverted value to fix #1326
* Inverted value speeds need to be normalised when applying the value to
the slider as well as when reading from the slider
+ added code to UpdateModeUi() to address this
2021-04-18 14:59:00 +10:00
silas
a3f2cd96c5 Fix OpenRGB not closing 2021-04-11 11:46:32 -05:00
KundaPanda
2b6a3e19ea Enable LED select box for mode-specific color mode 2021-04-03 19:23:02 +00:00
silas
905d52ca57 Make spin box values be correct on startup 2021-03-24 13:40:29 +00:00
silas
30c595c6d6 Fix building on Qt6 2021-03-08 22:06:11 -06: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
Adam Honse
faf7f65372 Add tooltips to the device tabs so that you can see names that are too long to fit on the tab 2021-02-10 16:39:19 -06:00
Alexey Sokolov
367d01ceff Add description tooltips for common modes
Partially addresses #232

Commits squashed and amended for code style and to remove QItemDelegate by Adam Honse <calcprogrammer1@gmail.com>
2021-02-10 13:11:21 -06:00
morg
79dacbaeb0 Fix crash on server stop
Commit amended to initialize listening variable by Adam Honse <calcprogrammer1@gmail.com>
2021-02-09 16:34:25 -06:00
morg
5b35e64fbe Add a toggle all checkbox on supported devices page 2021-02-06 19:56:01 +00:00
morg
96bbb5a69f Prevent out of bounds access 2021-02-05 21:41:53 +00:00
Morg
f955303e0a Make sure to delete QTabWidget after removal
Commit amended for code style by Adam Honse <calcprogrammer1@gmail.com>
2021-01-21 15:00:18 -06:00
silas
75df81f972 Allow closing to tray by setting "minimize_on_close" to true in settings key "Minimize"
Code changes and setting key name change by Adam Honse <calcprogrammer1@gmail.com>
2021-01-05 20:28:32 -06:00
silas
93231c3225 Initial commit for Plugins
Commits squashed, code style and naming changes by Adam Honse <calcprogrammer1@gmail.com>
2021-01-05 20:07:13 -06:00
Adam Honse
5c30255a06 Add bounds check on matrix map index to prevent crashing when matrix map has an out-of-range entry 2020-12-23 18:00:34 -06:00
k1-801
8a88573443 Add settings page to enable and disable devices
Commits squashed and amended to read information only from settings manager by Adam Honse <calcprogrammer1@gmail.com>
2020-12-06 20:19:12 -06:00
Chris
e7dc95313f Changing the Linux executable (only) to lowercase openrgb
Commits squashed by Adam Honse <calcprogrammer1@gmail.com>
2020-12-03 13:11:52 -06:00
Adam Honse
f70c9cc63e Remove Setting_ prefix from all settings keys 2020-12-03 12:02:15 -06:00
Adam Honse
8cc371f9be Add tab borders to Windows dark theme 2020-12-02 22:11:10 -06:00
Adam Honse
7a305b1440 Clean up the device information page, enable word wrap so the layout doesn't resized due to long location strings 2020-12-02 21:43:47 -06:00