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
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
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
5fa1e44f16
main_menu: allow closing the keypad with the back button
2023-08-18 11:48:37 -03:00
alfrix
fb0d0bb909
css: simplify graph_labels
2023-08-18 11:39:20 -03:00
alfrix
34f9b958a7
remove unnecessary params from labels
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
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
alfrix
3ba6bd657f
main_menu: add scrollbar fixes #1034
2023-07-04 11:46:44 -03:00
alfrix
9da9f4d11e
main_menu: retry to create the left panel
2023-07-01 01:04:03 -03:00
Alfredo Monclus
294623c13f
temp: add pid calibrate to the keypad ( #1026 )
2023-06-30 17:48:43 -03:00
alfrix
5a0df3a628
fix colors not applying correctly fix #944
2023-06-22 12:44:16 -03:00
alfrix
4920720c99
return False on Glib functions
2023-06-16 10:05:43 -03:00
alfrix
dbe3f03019
refactor graph update timer
2023-06-16 10:04:16 -03:00
alfrix
c1d8a4f033
menu: get rid of initalize
2023-06-13 13:39:23 -03:00
alfrix
72c1b1d5f2
main_panel: retry to show graph if moonrkaesr tempstore was not initialized yet
2023-06-13 11:54:42 -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
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
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
d0d79a64df
base_panel: simplify action bar buttons enable-disable
2022-11-21 09:20:05 -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
e4ff009ef6
main_menu: init left_panel
2022-11-18 00:53:53 -03:00
alfrix
df401d4924
main_menu: remove unused argument
2022-11-18 00:53:53 -03:00
alfrix
2fef5660cb
base_panel: change how it shows controls and heaters to avoid issues
2022-11-04 10:30:14 -03:00
Ben Konsemüller
74dee10d39
Fix: Heaters not showing their respective power percentages ( #747 )
2022-10-08 09:52:46 -03:00
Laurenz
2cce477e5b
Add current heater power % to job status ( #708 )
...
* Add current heater power % to job status
* Add show_heater_power config option and move update_temp()s to ScreenPanel
* Add the option to the UI config instead of the docs
* Prefer extra items on job_status over the power
There is not a lot of space, it's a trade off, and people will likely prefer extra_items
* Remove the comma, none of the other buttons have it
* job_status: inherit the parent config
* screen: create reload_panels to avoid some service restarts
* extrude: fix power breaking multi-extruder setups
* main and temp: remove degrees char from the table
* main and temp: revert removal of the header
Co-authored-by: alfrix <alfredomonclus@gmail.com>
2022-09-09 11:34:50 -03:00
alfrix
4cb17c18a9
main temp: add the ability to hide the graph
2022-09-02 19:58:35 -03:00
alfrix
e140120b44
main temp: load the visibility of items
2022-09-02 19:58:35 -03:00
alfrix
f60a878e7b
main and temp: save visibility of items
2022-09-02 19:58:35 -03:00
alfrix
38ceea5204
gtk: improve wrapping of labels
2022-09-02 19:58:35 -03:00
alfrix
737447939f
main_menu: more direct temp input fix #626
2022-08-08 11:20:26 -03:00
alfrix
a0cff7ec56
simplify name spliting
2022-08-01 12:23:40 -03:00
alfrix
5234a5dc15
main_menu: don't show the graph if there are no available devices
2022-08-01 12:23:40 -03:00
alfrix
f9e6ac62b7
main menu and temp cleanups and tweaks
2022-08-01 12:23:40 -03:00