143 Commits

Author SHA1 Message Date
zkk
99833457be 修复通用加热器校准PID报错问题 2024-10-14 17:47:49 +08:00
zkk
bb03bfc90c 修复打印中点击耗材页面预热按钮报错问题 2024-07-20 18:10:30 +08:00
zkk
4ca43b2049 优化竖屏的布局 2024-07-16 17:31:11 +08:00
zkk
2f92e33d5b 修改侧边栏和首页图标以及首页和预热界面布局 2024-07-10 15:03:47 +08:00
Alfredo Monclus
81333830fb screen_panel: cleanup the update temp func 2024-06-12 11:22:18 -03:00
Alfredo Monclus
ef81bb4769 layout: various tweaks
increase font-size

job_status improved auto-sized thumb

prioritize data over names in main and temp
2024-06-11 00:51:47 -03:00
Alfredo Monclus
2d2e80c3fd panels: allow to call them without name 2024-06-04 11:16:50 -03:00
Alfredo Monclus
f07f77eaa6 temperature: fix inverted preheat/delta #1377 2024-05-26 09:22:25 -03:00
Alfredo Monclus
954042691d temperature: fix pre-selection close #1377 2024-05-26 08:21:23 -03:00
Alfredo Monclus
5eb268b220 main and temp: fix keypad with the new vertical layout 2024-05-24 15:42:14 -03:00
Alfredo Monclus
3fee9cbb70 main_menu and temp: change layout to accomodate a bigger graph and list in vertical mode
close #1372
2024-05-23 23:22:15 -03:00
alfrix
7d97f003c4 temperature: use long-press gesture for the popup, allow right-click
allow clicking the name to switch device when showing numpad
deprecates timeout
remove select/deselect from popup, it's redundant and conflicts with the numpad
reformat
2024-05-12 14:13:47 -03:00
alfrix
616574ed3b drop set_dev_stat and get_dev_stat
this creates a parallel set of data that could become desynced
2024-05-02 19:01:39 -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
alfrix
3ea10b5404 heatergraph: fix sometimes not reinitializing correctly 2024-03-20 22:01:30 -03:00
alfrix
97b4b544cb printer: tempstore fixup 2024-03-09 12:21:23 -03:00
alfrix
3c911ba7c7 printer: change how the tempstore is initialized and updated, to avoid unnecesary retries 2024-01-26 22:43:29 -03:00
alfrix
2956658104 change lists to tuples 2024-01-15 14:44:50 -03:00
alfrix
d1168b5405 themes: get rid of the unused vertical selector buttons, simplify and rename the horizontal toggle strip 2024-01-10 23:30:39 -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
0f8fe9abe1 main: temp: heater list smaller slider 2023-08-28 17:15:10 -03:00
alfrix
f3c2736f9f refactor temp updates for devices fix extruder_stepper icon error 2023-08-26 13:05:44 -03:00
Vasilyev81
65c4b172e8 Add butttons for vertical scrollbars fixes
Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-08-18 11:57:07 -03:00
alfrix
4800b56492 refactor tempstore initialization
fixes #1074
2023-08-18 11:48:37 -03:00
alfrix
90fc3288d7 Use callbacks to disable and enable buttons to improve user feedback
buttons now show a spinner if watiting for callback
2023-08-18 11:48:37 -03:00
alfrix
fb0d0bb909 css: simplify graph_labels 2023-08-18 11:39:20 -03:00
alfrix
8d9236a2df screen: simplify panel loading
this removes create_panel function from panels and mandates a class name Panel

remove panel_type param and only use a panel_name that is it's filename

remove load_panel dict

always reinit panel, (simpler and safer but slower)
2023-07-30 12:22:58 -03:00
alfrix
3c69bcb4c4 add parameter to labels to silence IDE warnings 2023-07-30 12:22:58 -03:00
alfrix
a149796b19 reduce the use of contextlib 2023-07-30 12:22:58 -03:00
Chad Condon
e8a2d3443e
Improve name presentation (#1055)
* Preserve manual capitalization

Avoid re-capitalizing names that already include uppercase letters.
This improves the presentation of names like "TMC2209", etc. when the
user has manually capitalized the name.

* Use title case

Use title case instead of only capitalizing the first character.
Ex. `heater_bed` now becomes "Heater Bed" instead of "Heater bed".
2023-07-24 17:00:12 -03:00
Alfredo Monclus
294623c13f
temp: add pid calibrate to the keypad (#1026) 2023-06-30 17:48:43 -03:00
Alfredo Monclus
b5abd3d7b9
temperature: select the device that was selected in job_status (#1025) 2023-06-30 17:43:00 -03:00
alfrix
5a0df3a628 fix colors not applying correctly fix #944 2023-06-22 12:44:16 -03:00
alfrix
dbe3f03019 refactor graph update timer 2023-06-16 10:04:16 -03:00
alfrix
778cd84ba8 panels do not call screen.show_all 2022-12-11 09:17:18 -03:00
alfrix
a83f499c0c rename graph to heatergraph 2022-12-11 09:17:18 -03:00
alfrix
70d7564a78 shorten _screen.printer to _printer 2022-12-11 09:17:18 -03:00
alfrix
7120c424d4 gtk: resizability
doesn't rescale the fonts or images
2022-12-11 09:17:18 -03:00
alfrix
f49e1ef6c4 main and temp simplify get temps 2022-12-04 22:33:43 -03:00
alfrix
f52b52f76a main and temp: less tempstore dependency 2022-12-04 12:59:59 -03:00
alfrix
ab4d4af7f8 tweak image size of buttons with side labes or no label 2022-12-02 20:59:01 -03:00
alfrix
415535eeb8 tweak sizes #828 2022-11-30 23:57:34 -03:00
alfrix
e1f02fd870 main and temp: fix gtk warning 2022-11-24 14:57:36 -03:00
alfrix
00bd6ac4db gtk: adjust icon sizes so they are more consistent across font sizes 2022-11-22 16:18:06 -03:00
alfrix
593d8c678b gtk: merge buttonimage and button 2022-11-22 14:55:42 -03:00
alfrix
34fde780fc fix temp panel in vertical mode with big font getting out of screen fixes #805 2022-11-22 14:55:42 -03:00
alfrix
d0d79a64df base_panel: simplify action bar buttons enable-disable 2022-11-21 09:20:05 -03:00
alfrix
054523d937 settings: add extra large font close #798 2022-11-20 20:58:06 -03:00
alfrix
fc0f153023 reorder imports 2022-11-20 07:28:05 -03:00
alfrix
2c30bdeddf printer: cleanup 2022-11-18 01:17:57 -03:00