alfrix
4dd489575e
remove unused imports
2024-04-26 20:34:43 -03:00
alfrix
11631a2f58
move: also reinit bed_mesh when inverting
2024-04-18 12:13:04 -03:00
Alfredo Monclus
f22f7574b3
bed_level: support inversion and fix screws_rotation of 3/6 screws ( #1335 )
...
* bed_level: major rework
deprecate screw positions, we will be auto-detecting from now on
support rotating the layout (previously only rotated the button actions)
invert support, inverting axis in KS will invert the layout
* move: mark bed_level to reinit after invert
* bed_level: rotate with a shift function
* bed_level: rotation show popup if misconfigured
* bed_level: message for screw configurations not supportted in a more informative way
* docs: update bed_level docs
2024-04-18 12:10:58 -03:00
alfrix
6117b6e10d
screen_panel: integrate add_option to deduplicate code
2024-04-16 09:16:38 -03:00
alfrix
a011556b88
move: support rescaling the slider if machine limits are changed
2024-04-13 12:28:55 -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
05cd9a6d34
remove fallback values
...
with an empty string re will not match
2024-01-07 17:27:59 -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
37c0bde153
move: minor correction to #1211
2023-12-23 11:35:51 -03:00
Thijs Triemstra
727a6657ee
add move_distances config option ( #1211 )
...
* add move_distances option
* address review comments
* adjust check
* comment out example
* doc update
* address review comments
2023-12-23 11:30:48 -03:00
alfrix
b25e17e9cd
move: fix for max_z velocity too low for the gtk adjustment
2023-09-18 23:11:43 -03:00
alfrix
1c06e55442
move: settings button relocation for vertical mode
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
e7b58edfbf
klippygcodes: simplify and remove some alias that are irrelevant
2023-08-18 11:48:37 -03:00
alfrix
3a7818bd35
screen: remove pop parameter from show_panel and remove_panel, simpler
2023-07-30 12:22:58 -03:00
alfrix
3f11897491
screen: make show_panel parameters more clear
2023-07-30 12:22:58 -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
432305bec9
move: add a failsafe for velocity fixes #1043
2023-07-30 12:22:58 -03:00
Alfredo Monclus
6190581101
Reorganization ( #1029 )
2023-07-02 15:16:36 -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
ea4efa1f61
move improve vertical look
2022-11-30 19:30:09 -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
25797b5ed3
remove frames from lists
2022-11-28 00:15:28 -03:00
alfrix
26030526a9
fix move panel not opening after a61a74d7bf5db fixes #818
2022-11-26 23:14:31 -03:00
alfrix
a61a74d7bf
initialize with values some panels
2022-11-26 16:46:33 -03:00
alfrix
f8cde7bfe1
Add busy state, and disable buttons that usually take time during the state
2022-11-26 00:17:30 -03:00
alfrix
593d8c678b
gtk: merge buttonimage and button
2022-11-22 14:55:42 -03:00
alfrix
8d2f90f800
set title for internal options subpanels
...
the menu/subpanel system is a bit complex and hard to use
consider removing it and use individual panels of options
2022-11-22 14:55:42 -03:00
alfrix
717575256c
update translations remove some unnecesary strings use 2 letter designation unless needed
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
dbd1474d63
screen_panel: share ks_printer_cfg between panels
2022-11-20 14:17:48 -03:00
alfrix
fc0f153023
reorder imports
2022-11-20 07:28:05 -03:00
alfrix
45ab86204b
panels: remove initialize from the panels that do not have a menu
2022-11-18 00:53:53 -03:00
alfrix
4d0edf3c0b
move: cleanup and move stuff out of screen_panel
2022-11-12 09:56:09 -03:00
alfrix
1305b40c41
refactors and cleanup
2022-10-14 13:27:01 -03:00
alfrix
723662074e
Change togglebuttons to regular buttons to simplify code
2022-10-14 10:19:44 -03:00
alfrix
38ceea5204
gtk: improve wrapping of labels
2022-09-02 19:58:35 -03:00
alfrix
c1b34839bc
move: fix cannot move if the printer was not named
2022-08-02 12:18:08 -03:00
alfrix
eb17bb58ad
screen_panel: remove unused parameters
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
5ad82a64d4
Translations: install _()
2022-07-03 12:03:50 -03:00
alfrix
b611491997
Optimize imports
2022-07-03 12:03:50 -03:00
alfrix
06fceec84a
Change the deprecated VBox and HBox to oriented Boxes
2022-07-03 12:03:50 -03:00
alfrix
da26bf3143
base_panel: layout simplification
2022-07-03 12:03:50 -03:00
alfrix
33195f203f
Simplify code
2022-05-31 11:14:42 -03:00
alfrix
5a36729b76
PEP8, typos and warnings fixes
2022-05-31 11:14:42 -03:00
alfrix
48860159e9
move: add options to the panel
2022-05-31 11:14:42 -03:00
alfrix
2dc7a716ee
move: show ? if not homed and remove home-xy on delta kinematics
2022-03-25 09:51:22 -03:00
alfrix
5899c8feab
Optimize imports
2022-03-15 12:41:21 -03:00