35 Commits

Author SHA1 Message Date
alfrix
1305b40c41 refactors and cleanup 2022-10-14 13:27:01 -03:00
alfrix
38ceea5204 gtk: improve wrapping of labels 2022-09-02 19:58:35 -03:00
alfrix
200dca9dd3 dump more info during exceptions 2022-08-10 10:49:23 -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
0f4f56bb9f Fix paused state
close #607
fix #611
2022-05-31 11:14:42 -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
ea3e7ad3d1 splash_screen: use moonraker for actions if connected, hide system panel if it isn't connected
use systemctl if moonraker isn't available close #615
2022-05-31 11:14:42 -03:00
alfrix
2e16193292 menu: fix portrait issues 2022-03-25 13:41:22 -03:00
alfrix
bc366b708d menu and printer_select: support more than 8 items 2022-03-25 12:02:19 -03:00
alfrix
5899c8feab Optimize imports 2022-03-15 12:41:21 -03:00
Alfredo Monclus
dd027c0583
Vertical mode (#480) 2022-02-24 16:00:51 -03:00
Alfredo Monclus
c1372c1839
Start in configurations without fans or extruders or temp devices
A bunch of conditionals that makes KS start and not stay in the splash screen
2022-01-30 10:55:05 -03:00
Alfredo Monclus
86fc0f9988
Menu: Arrange 3 x 2 and 2 x 2 (#442)
* Arrange 3 x 3 and 2 x 2

* typo
2022-01-17 01:12:54 -05:00
Jordan
70d8315539 Update code style 2021-09-11 17:25:38 -04:00
Jordan Ruthe
c0b4b464bd Changes to logging implementation 2021-02-21 12:19:30 -05:00
Jordan Ruthe
90c84d5f17 menu: Fix issue in updating j2_data for moonraker connection 2021-01-20 16:27:02 -05:00
Jordan Ruthe
a087ecfa30 menu/main_menu: Better RTL support 2021-01-08 19:02:49 -05:00
Jordan Ruthe
b57cbc8352 Language support for RTL and he_IL 2021-01-03 16:04:26 -05:00
Jordan Ruthe
3c2bdee22a Update to allow translations from config file. Updates to use translations from config file. 2021-01-03 12:43:53 -05:00
jordanruthe
238badb110
UI scaling (#28)
* Initial UI scaling commit

* temperature: updates to styling

* screen: fix dialog creation

* bed_level: scale images

* job_status: updates to scaling
2020-12-07 15:44:03 -05:00
Jordan Ruthe
25b89cb7e9 menu: refactor adding items to menu so they can be dynamically added/rmeoved. 2020-12-04 14:03:14 -05:00
Jordan Ruthe
08a7057668 Change panel layout. Add title and move back button 2020-12-02 14:35:28 -05:00
Jordan Ruthe
48c276d22f menu: add ability for enable to hide certain menus 2020-11-28 13:57:51 -05:00
Jordan Ruthe
1c0e4fbf86 menu: remove unnecessary logging 2020-11-28 10:33:12 -05:00
Jordan Ruthe
8204e3ab17 Dynamically load panels 2020-11-23 21:00:04 -05:00
jordanruthe
3b62439939 Move files to ks_includes and update references 2020-11-18 17:15:05 -05:00
Jordan Ruthe
557dd86364 Fix CR line end problem 2020-11-18 10:46:57 -05:00
Jordan Ruthe
7db6a541f2 all: Update to enable language files 2020-11-18 07:49:12 -05:00
Jordan Ruthe
6e8f904983 Update configuration for Save Config button 2020-11-18 05:55:45 -05:00
Jordan Ruthe
891539c5ff Change configuration to configparser for more flexibility. 2020-11-16 23:51:15 -05:00
Jordan Ruthe
0da4922fd0 Setup logger in panels 2020-11-13 23:27:00 -05:00
Jordan Ruthe
d2036c13af Moving development into master 2020-08-01 14:38:09 -04:00
jruthe
a2e979f847 Updated menu system. Move panel working 2020-07-14 08:13:35 -04:00