165 Commits

Author SHA1 Message Date
alfrix
f3c2736f9f refactor temp updates for devices fix extruder_stepper icon error 2023-08-26 13:05:44 -03:00
alfrix
d9a6d0caa6 job_status: fixup progress initialization if restarted during print 2023-08-18 11:48:37 -03:00
alfrix
bd98e758ec base_panel improvements
* generalize macro shortcut to allow changing it in the future
* action_bar functionality is now handled in one place for better maintainability
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
9ba8d04861 printer: save and use available commands 2023-08-18 11:48:37 -03:00
alfrix
365b9bde4f job_status: fixup remaining times 2023-08-03 02:08:46 -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
71dcb1f91d job_status: tweaks to the calc of time remaining 2023-07-30 12:22:58 -03:00
alfrix
7ba9e49374 job_status: show save to endstop to apply offset for deltas close #916
Z_OFFSET_APPLY_ENDSTOP works in deltas since f078a27905
2023-07-30 12:22:58 -03:00
alfrix
ae03e7d55d job_status: fix screen overflow on small screens 2023-07-30 12:22:58 -03:00
alfrix
72c6bdfe33 job_status: change progress percentage to time-based instead of file-based 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
alfrix
2a9044e4f4 job_status: refactor to improve efficiency
job_status: refactor lcd_message
2023-07-30 12:22:58 -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
eb0e6ad803 job_status: disable restart and pause after pressing and simplify enable 2023-06-21 17:42:32 -03:00
alfrix
35498d39c7 job_status: fix not fitting on 480 wide screens 2023-06-13 13:39:23 -03:00
alfrix
ff94b45c45 close dialogs when transitioning to printing
also simplify the transition
2023-06-13 11:08:18 -03:00
alfrix
7a0848fa9f deprecate user slicer compensation, in hindsight this is something that the ui shouldn't do 2023-06-04 11:00:47 -03:00
alfrix
d775e15fa0 add extra digit for z_offset close #943 2023-04-02 09:29:00 -06:00
alfrix
3417765223 job_status: fix panel not showing and not updating thumbnails
safeguard against thumbnail corruption or other errors fixes #893
better system to update name and thumbnails fixes #889
2023-03-19 05:55:30 -06:00
alfrix
b963c55140 job_status: fix save endstop not working fixes #929 2023-03-17 07:50:50 -06:00
alfrix
3c5449f0db job_status: cast float to zoffset 2022-12-12 19:53:34 -03:00
alfrix
1375c823c9 job_status: clear_file after error 2022-12-11 09:20:06 -03:00
alfrix
778cd84ba8 panels do not call screen.show_all 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
9de058b0d7 dialogs: set title 2022-11-30 11:51:24 -03:00
alfrix
2bacac7efb job_status: info refactor
switching info is much faster, buttons keep their label
2022-11-30 11:00:10 -03:00
alfrix
b1a6d5c182 improve panel initialization
just make a notify_status_update from printer data, it's much simpler
2022-11-30 11:00:10 -03:00
alfrix
68ccf5e803 job_status: hide speed unit on 480x320 2022-11-29 00:24:20 -03:00
alfrix
62ef4f1844 job_status: stabilize the grid, add object height to main, translate units 2022-11-29 00:04:05 -03:00
alfrix
da164b495e job_status: change slicer-filament-file times to totals 2022-11-26 23:21:07 -03:00
alfrix
26030526a9 fix move panel not opening after a61a74d7bf5db fixes #818 2022-11-26 23:14:31 -03:00
alfrix
e9df355b3b job_status: initialize some labels and use live position close #809 2022-11-26 15:57:50 -03:00
alfrix
d8b4d2d293 job_status: add eta 2022-11-26 15:57:50 -03:00
alfrix
b5cf73054a job_status: refactor 2022-11-25 15:50:31 -03:00
alfrix
12b9ee5344 job_status: filename tweak max chars
after the tweaks for bigger font sizes the maximum amount can be raised

TODO: investigate if a pango layout that can detect ellipzised labels is suitable to replace this method
2022-11-22 17:32:53 -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
0b1b2f0e19 dialog removal refactor 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
bdd3e0ba1b Cleanups 2022-11-20 22:41:22 -03:00
alfrix
054523d937 settings: add extra large font close #798 2022-11-20 20:58:06 -03:00
alfrix
fa10b00db7 job_status: fix fan speed sometimes not updating 2022-11-20 20:58:06 -03:00
alfrix
dbd1474d63 screen_panel: share ks_printer_cfg between panels 2022-11-20 14:17:48 -03:00
alfrix
1ca950c1fc job_status: alwasys get the value of homing_origin to set buttons fixes #795 2022-11-20 11:19:58 -03:00
alfrix
c4c7e50314 printer: create get_probe to support other probe types 2022-11-20 11:07:24 -03:00
alfrix
fc0f153023 reorder imports 2022-11-20 07:28:05 -03:00
alfrix
380df961e5 cleanup dead code 2022-11-18 01:17:57 -03:00