9 Commits

Author SHA1 Message Date
alfrix
ad2df873d3 refactor printer initialization and connection handling
removes the lag while trying to connect
cleaner code, seems faster
2024-04-30 14:27:14 -03:00
alfrix
6cf639c083 refactor widget creation
improves performance and makes the code cleaner

* add parameters instead of calling methods afterwards
* remove a a lot of size requests
* remove parameters that are being set to the default value
* simplify dialogs containers
2024-01-02 08:14:51 -03:00
alfrix
a84b91a40b led: clenaups 2023-10-15 10:36:33 -03:00
alfrix
82b75a528a led: better implementation of the white channel 2023-10-14 13:49:41 -03:00
alfrix
836092659d led: make the ON preset change only available colors 2023-10-14 13:24:41 -03:00
alfrix
7986ce23cd led: do not round it's unnecesary 2023-10-14 10:23:10 -03:00
alfrix
c7532fc0d8 led: fix preview 2023-09-25 17:20:23 -03:00
alfrix
700e8dcc5b led: layout tweaks 2023-09-25 09:48:59 -03:00
Vasilyev_Andrey
87d09036ee
Led light control, close #991 (#1106)
* feature: add leds panel

* Various refactors and improvements

* lint fixes

* led: use more columns for the selector

* leds: name in the title

* mainsail presets

* change sliders to horizontal to avoid visual bug, simplify defaults

* led: add a color preview and simplify methods to fix some issues

* simplify presets move all the logic to the panel

* led: change presets from names to previews

* preview label shows color, add vertical mode

* led: colored previews as rectangles instead of circles

---------

Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-09-24 17:44:29 -03:00