63 Commits

Author SHA1 Message Date
alfrix
45ab86204b panels: remove initialize from the panels that do not have a menu 2022-11-18 00:53:53 -03:00
alfrix
022954918c create ks_printer_cfg 2022-11-18 00:53:53 -03:00
alfrix
ca7143f776 base_panel: estop set not sensitive instead of hiding 2022-11-06 13:21:52 -03:00
alfrix
2fef5660cb base_panel: change how it shows controls and heaters to avoid issues 2022-11-04 10:30:14 -03:00
alfrix
64745c8578 fix codestyle issues 2022-11-03 22:40:36 -03:00
alfrix
7ee162092c fix #775 2022-11-03 22:20:03 -03:00
alfrix
2fc01c07b6 base_panel: allow to have no title 2022-11-03 22:07:45 -03:00
alfrix
371968b458 base_panel: hide estop 2022-11-01 15:36:52 -03:00
alfrix
51ddee28c3 printer_select: hide action_bar on startup and translate name 2022-10-27 21:24:23 -03:00
alfrix
d3d7104ec4 languages: refactor
- No full restart requirement just reload
- Fix some systems not loading the language
- Fix RTL not applied if the lang was not set by the system
2022-10-26 22:36:52 -03:00
alfrix
b36e75ec1a temperature: fix #763 2022-10-26 22:36:52 -03:00
alfrix
d6e4ad0a35 base_panel: fix macro shorcut not hiding at startup if configured to off 2022-10-26 22:36:52 -03:00
alfrix
0de49ee0cd base_panel: calculate the amount of titlebar items to be shown 2022-10-26 22:36:52 -03:00
alfrix
da9051a9b2 base_panel: create get_icon for show_heaters 2022-10-26 22:36:52 -03:00
alfrix
b346d765a2 base_panel: clock simplify also increase margin 2022-10-26 22:36:52 -03:00
alfrix
d3281379ee gtk: change scaling of images
This reduces the amount of magic numbers used, some images will scale to bigger sizes, most of the icons and images in vertical mode will be bigger, thumbnails should be bigger in both modes.
2022-10-26 22:36:52 -03:00
alfrix
38ceea5204 gtk: improve wrapping of labels 2022-09-02 19:58:35 -03:00
alfrix
2c8436500c base_panel: fix possible causes of error in show heaters fixes #706 2022-08-21 15:15:24 -03:00
alfrix
200dca9dd3 dump more info during exceptions 2022-08-10 10:49:23 -03:00
alfrix
eb17bb58ad screen_panel: remove unused parameters 2022-08-01 12:23:40 -03:00
alfrix
a0cff7ec56 simplify name spliting 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
6b88ac0558 base_panel: fix #666 2022-07-03 18:04:57 -03:00
alfrix
d3cd4008a8 job_status and base_panel: safeguard against possible issues with temps 2022-07-03 12:03:50 -03:00
alfrix
5e73fb03b5 base_panel: all action bar buttons should close the keyboard 2022-07-03 12:03:50 -03:00
alfrix
5c17656567 Remove some unneeded complexity in the macro shortcut 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
a445b89f13 config: deprecate get_main_config_option 2022-07-03 12:03:50 -03:00
alfrix
c6df1b667c base_panel: fix keyboard not closing when clicking on macro shortcut 2022-07-03 12:03:50 -03:00
alfrix
da26bf3143 base_panel: layout simplification 2022-07-03 12:03:50 -03:00
alfrix
5a36729b76 PEP8, typos and warnings fixes 2022-05-31 11:14:42 -03:00
alfrix
b3268223bb base_panel: fix titlebar items not showing if ks is started while printing 2022-04-12 16:21:35 -03:00
alfrix
dd72e7d46a base_panel: fix #572 2022-04-05 19:57:38 -03:00
alfrix
ab38dab291 style: add heater_generic icon 2022-04-02 14:29:31 -03:00
alfrix
c33659c6f7 gtk: cleanup andoptimize image handling, incomplete themes should now work 2022-04-02 09:59:12 -03:00
alfrix
53c7afd7a5 Use extruder icon without number if there is only 1 2022-03-30 22:58:37 -03:00
alfrix
d158090bea base_panel: cleanup logging 2022-03-21 13:20:52 -03:00
alfrix
50d3671d0f base_panel: simplify sidebar scaling 2022-03-21 07:14:58 -03:00
alfrix
50e72b0308 base_panel: fix error from trying to update temps before the printer initializes 2022-03-21 06:32:53 -03:00
alfrix
48b2ef513f Fix files and printer memory leaks fixes #479 2022-03-20 12:11:41 -03:00
alfrix
5899c8feab Optimize imports 2022-03-15 12:41:21 -03:00
alfrix
0458a19b63 base_panel: fix titlebar_items not configured 2 2022-03-05 18:15:20 -03:00
alfrix
3d009ad72b base_panel: fix titlebar_items not configured 2022-03-05 17:24:37 -03:00
alfrix
3c3db7fa21 base_panel: allow titlebar items to be configured 2022-03-05 11:50:26 -03:00
alfrix
77aef7cf67 base_panel: Refactor titlebar, add heaters if there is space
close #239
2022-02-28 19:57:56 -03:00
Alfredo Monclus
dd027c0583
Vertical mode (#480) 2022-02-24 16:00:51 -03:00
alfrix
3c1110d730 Base_panel: fix #413 2022-02-24 15:57:47 -03:00
alfrix
45d195bcd2 base_panel: Increase horizontal margin
The sidebar was too close to the content, this was better shown by adding a border to the sidebar wich showed that the content was clipping over it
2022-02-11 09:36:42 -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
Jordan
b0b56a026c screen: Fixes for printer select button 2021-09-19 00:09:00 -04:00