58 Commits

Author SHA1 Message Date
alfrix
b091eeff37 bed_mesh: add support for rotation and inversion to the meshMap 2024-04-13 10:27:07 -03:00
alfrix
a18b198bf2 dialogs: add the ability to show dialogs without buttons for fullscreen view (click to close) 2024-04-07 12:26:59 -03:00
alfrix
b1e71283a6 heatergraph: add the ability to go fullscreen when clicked close #740 2024-04-07 11:43:45 -03:00
alfrix
1c9d82adfa heatergraph: add power representation (if set to show power in settings)
power will use a dashed line

target will be represetnted with fill
2024-03-22 09:24:23 -03:00
Alfredo Monclus
14a02e5bcf
widgets: create autogrid: a custom grid that arranges itself (#1307) 2024-03-20 23:14:43 -03:00
alfrix
4d168c2319 heatergraph: revert add_object changes 2024-03-20 23:08:16 -03:00
alfrix
3ea10b5404 heatergraph: fix sometimes not reinitializing correctly 2024-03-20 22:01:30 -03:00
alfrix
b98bcf857c prompts: fix a potential issue if the user sends multiple show commands in succession 2024-03-20 22:01:30 -03:00
alfrix
292dda7416 heatergraph: catch tempstore not valid 2024-03-08 21:22:51 -03:00
Alfredo Monclus
ce884154d6
print panel refactor and new features (#1270)
Adds a grid/thumbnail mode (switchable to the list mode)
last mode used is saved
faster load and less memory usage
add sort by size
2024-02-29 15:07:50 -03:00
alfrix
6a91e04532 heatergraph: optimzations 2024-02-25 17:51:53 -03:00
alfrix
f3c0daef1b minor refactors 2024-01-10 23:30:39 -03:00
alfrix
5ad03b5dd1 prompts: add escape and backspace to close, prevent concurrent prompts, send prompt_end at close 2024-01-03 19:00:40 -03:00
alfrix
c0741f5c81 prompts: avoid size request as it can cause issues 2024-01-03 17:56:49 -03:00
alfrix
5104f3247b prompts: do not close on actions
to me closing was the intended behaviour a prompt ask and continue, but apparently other interfaces do not close on actions, so for consistency sake it will not. close #1224
2024-01-03 09:52:52 -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
Alfredo Monclus
1794d8aa24
feat: macro prompts close #1216 (#1219)
* feat: macro prompts close #1216

now the user can have confirmation on macros using this feature close #835

* prompt: remove separator and remove the header and close button if windowed

* prompt: wakeup screen

* prompt: slightly larger close icon
2024-01-02 08:04:02 -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
baae949beb fix main_menu left_panel graph crashing/hiding after a config change of heaters 2023-06-22 12:44:16 -03:00
alfrix
f0a33bd360 keyboard: improvements and fixes
modify layout to make keyboard bigger in the same space
create shift for a more traditional aproach
fix highlighting fixes #1004
2023-06-13 11:54:42 -03:00
alfrix
65588424bf make keyboard highlight keys fixes #1000 2023-06-04 14:26:12 -03:00
alfrix
69571c88b8 fix german keyboard issue caused by #886 2023-02-05 22:32:07 -06:00
Cyril Guislain
c33b5d6311
Fix German Keyboard and Add French Keyboard (#886) 2023-02-05 21:47:11 -06:00
camerony
5de5e1e3eb
Update on-screen keyboard.py (#874) 2023-01-29 09:54:53 -06:00
alfrix
a83f499c0c rename graph to heatergraph 2022-12-11 09:17:18 -03:00
alfrix
250574bc41 bedmap: limit probed position display to 16x8 2022-12-05 09:07:28 -03:00
alfrix
f52b52f76a main and temp: less tempstore dependency 2022-12-04 12:59:59 -03:00
alfrix
dc5741d605 graph: autoscale time 2022-12-04 12:02:34 -03:00
alfrix
593d8c678b gtk: merge buttonimage and button 2022-11-22 14:55:42 -03:00
alfrix
fc0f153023 reorder imports 2022-11-20 07:28:05 -03:00
alfrix
f7cbff3ed8 heater_graph: better max value selection 2022-11-18 00:53:53 -03:00
alfrix
ce6158ad91 bed_mesh: improvements an changes:
use current profiles instead of the ones saved in the config file
remove matplotlib and numpy, caused many intall issues, graph was slow and not great for small screens
create a custom 2D graph to show the probed matrix
2022-11-09 10:25:52 -03:00
alfrix
8d1ca4eba1 fix E741 2022-11-03 23:29:11 -03:00
alfrix
01fde5a1e9 keyboard: fix sometimes not changing language 2022-11-03 22:50:01 -03:00
alfrix
64745c8578 fix codestyle issues 2022-11-03 22:40:36 -03:00
alfrix
09ccd46528 keyboard: add spanish and german, change backscpace, clear and accept to icons 2022-11-01 07:36:07 -03:00
alfrix
874212e166 lang: fix widgets close #768 2022-10-28 13:22:47 -03:00
Alfredo Monclus
a83bbed85a
exclude: graph (#743)
Also support name wrapping and remove the object from the list if it was excluded (easier to see)
2022-10-04 10:52:44 -03:00
alfrix
4656be8c16 graph: limit the graph to 0-999
It's not over 9000.
2022-09-12 23:32:41 -03:00
alfrix
0d2c1b013b graph: fix error on touch 2022-09-02 19:58:35 -03:00
alfrix
38ceea5204 gtk: improve wrapping of labels 2022-09-02 19:58:35 -03:00
alfrix
9c2b52009a built-in keyboard 2022-08-01 12:23:40 -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
5a36729b76 PEP8, typos and warnings fixes 2022-05-31 11:14:42 -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