14 Commits

Author SHA1 Message Date
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
f5a5efabda styles: use gtk vars for colors and other cleanup and improvements close #594 2023-10-20 00:06:34 -03:00
alfrix
bd87737467 keypad: fix calibrate pid not showing sometimes 2023-08-03 22:46:07 -03:00
Alfredo Monclus
294623c13f
temp: add pid calibrate to the keypad (#1026) 2023-06-30 17:48:43 -03:00
alfrix
593d8c678b gtk: merge buttonimage and button 2022-11-22 14:55:42 -03:00
alfrix
874212e166 lang: fix widgets close #768 2022-10-28 13:22:47 -03:00
alfrix
38ceea5204 gtk: improve wrapping of labels 2022-09-02 19:58:35 -03:00
alfrix
6510b2ec6b Refactor
Use f-strings
Avoid unnecessary casts to str()bool()int()
Ensure file closure
Merge nested ifs
Simplify for-assigns-appends with comprehensions and internal functions
Avoid shadowing internal function names
Initialize variables
Return value directly instead of assign then return
Make some methods static
2022-08-01 12:23:40 -03:00
alfrix
faf997c7ae keyboard: improve layout and interactions on panels with entry 2022-07-03 12:03:50 -03:00
alfrix
c33659c6f7 gtk: cleanup andoptimize image handling, incomplete themes should now work 2022-04-02 09:59:12 -03:00
alfrix
e186fa6a3d bed_mesh and keypad: support writing with keyboard 2022-03-26 22:25:06 -03:00
alfrix
ee0cc9ca10 Remove unused variables 2022-03-15 12:41:21 -03:00
alfrix
5899c8feab Optimize imports 2022-03-15 12:41:21 -03:00
Jordan
dd56d192cc Create keypad widget and include set temp on the main menu 2021-12-07 21:05:17 -05:00