41 Commits
Author SHA1 Message Date
Alfredo Monclus 4fb43ff6b8 fix: styles for keyboard navigaton 2026-02-28 14:06:22 -03:00
Alfredo Monclus d0faec9c93 Revert "feat: Menu active status (#1482)"
This reverts commit 4172d59dbe.

due to a bug that needs to be investigated

closes #1519
2024-12-06 18:16:45 -03:00
Alfredo Monclus 4172d59dbe feat: Menu active status (#1482)
* feat: menu active status, now used to show if homed and leveled

* style: menu_active class
2024-11-12 16:45:35 -03:00
Alfredo Monclus 9a6aeaa43e feat: lockscreen closes #1490 2024-11-12 11:33:07 -03:00
Alfredo MonclusandMrTylerjet 5ae4e475b6 feat: battery status (#1457)
* Initial commit, added psutil for getting tablet/laptop battery percentage, initial code for getting the values and displaying the icon

* add battery svgs for light theme

* added light styled battery svgs for dark themes

* update icon based on battery percentage and if device is charging

* indentation fix, and forgot to add battery plugged checks for 33% and 66% battery levels

* move battery polling to its own timer now that i understand how to add an additional timer, checks every 30 seconds. check for if show battery is on or off

* add toggle to config for settings

* show battery callback as screen.restart_ks instead of just reloading panels

* move self.battery_percentage() to end of reload_icons this ensures that when a theme is changed the icon is updated instead of waiting for the timeout to update the icon again

* remove left over commented out code

* only call self.battery_percentage when config is true

* adjust tooltip message

* split creatation of elements from updating elements

* change print to logging.debug, handle rouding for percentage in the f-string

* remove code that was moved to `attery_init()`, only destroy icon element when updating icons/percentage text, remove redundant calls to `.pack_start` (just call it once after setting the icon).

* only create battery_update timer if config setting is true

* new material icons remove old icons

* `self.battery_init() in `__init__` def

* fix: lint

* refactors

* style: update icons to follow themes

* refactor: remove config, make the show/hide automatic

* style: bigger battery icons for z-bolt and colorized

---------

Co-authored-by: MrTylerjet <MrTylerjet@gmail.com>
2024-10-09 17:34:33 -03:00
Alfredo Monclus 822f5400cf feat: add keyboard to keypad switchs to macro panel 2024-09-20 19:16:21 -03:00
alfrix 765ef1b3f6 style: change the treeview back to a check
it takes less space and the previous implementation looks bad on some systems where the sizes are not respected
2024-09-15 15:08:28 -03:00
Alfredo Monclus 98c6181d09 style: change the color of the junction to be equal to bg 2024-07-14 16:30:01 -03:00
Alfredo Monclus c898c8afea styles: material updates 2024-06-10 14:12:41 -03:00
alfrix 4588ed537a theme: change icon name from print to printer 2024-04-26 07:36:52 -03:00
alfrix 6886c17604 bed_level: add a specific center screw icon
make z-bolt theme middle screws more visible

make colorized specific icons for the bed
2024-04-13 10:24:57 -03:00
alfrix a023c01ae8 layout and style changes for comboboxes
make comboboxes arrows dissappear when not active

correct the color of the combo

make the items bigger for easier selection
2024-02-25 13:48:15 -03:00
Alfredo Monclus b5e87152f1 bed_level: improvements (#1248)
1. use the status reference instead of regex matching (this was coded before the status existed)
2. change icons to reflect the rotation direction
3. change icon to reflect that the adjustment is good enough (according to klipper docs below 6 minutes)
4. auto open the panel when screws_tilt_calculate finished

close #1231
2024-01-25 22:46:51 -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 78f1c691f6 popups improve contrast 2024-01-10 23:30:39 -03:00
Alfredo Monclus 1794d8aa24 feat: macro prompts close #1216 (#1219)
* feat: macro prompts close #1216

now the user can have confirmation on macros using this feature close #835

* prompt: remove separator and remove the header and close button if windowed

* prompt: wakeup screen

* prompt: slightly larger close icon
2024-01-02 08:04:02 -03:00
alfrix d4d27f809b wifi: add icons 2023-11-24 16:55:11 -03:00
alfrix f9ce5540ea initial notifications panel 2023-11-16 20:30:14 -03:00
alfrix f5a5efabda styles: use gtk vars for colors and other cleanup and improvements close #594 2023-10-20 00:06:34 -03:00
alfrix f3cacafd53 styles: extend extruder icons to 0-11
font used in colorized and z-bolt themes is liberation-sans bold 22pt (18pt for double numbers)
they are converted to paths to avoid renderers misbehaviours
2023-10-08 08:34:41 -03:00
Blonďákandalfrix af1de12f28 Spoolman support close #1060
Refactor post_requrest
Switching to TreeView
More spool info
redesign toggle buttons
Allow spoolman while printing
Styling checkbox as switch
render Toggle switch-like
Fixed wrong timezones
Filtering spools
Removed translations of Spoolman
Spool image can be overided in theme
Added switch-on/off symbols to toggle
rename iter to i to avoid shadowing built-in function
remove redundant parenthesis
convert spoolcompare to static
merge check and treeview shared props
reduce spacing of buttons very useful for vertical/portrait
fix issue with remainings
add spoolman shortcut to extrude
Using backports.zoneinfo for python < 3.9
use decorators for properties
extract format_date function
change top row
last used sort
rebase on upstream
Fix for never used spools


Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-08-19 18:43:45 -03:00
alfrix 49add980b3 theme: add light icon to material-dark fix:#884 2023-02-05 10:24:58 -06:00
alfrix 25797b5ed3 remove frames from lists 2022-11-28 00:15:28 -03:00
alfrix 2e39de56bd cleanup stylesheets 2022-11-26 15:57:50 -03:00
alfrix b1f149495d themes: update material-dark and material-darker 2022-08-01 17:25:13 -03:00
alfrix 16871f967e Add bed-mesh icon 2022-08-01 13:59:09 -03:00
alfrix 9c2b52009a built-in keyboard 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
alfrix 5f1d239211 performance: do not use transparency 2022-07-03 12:03:50 -03:00
alfrix c4780fa56e performance: remove the background on default themes it can cause severe performance degradation and scrolling issues 2022-07-03 12:03:50 -03:00
alfrix 431eb0058c system: remove unused function 2022-07-03 12:03:50 -03:00
alfrix ab38dab291 style: add heater_generic icon 2022-04-02 14:29:31 -03:00
alfrix f707ba8cf3 style: change load icon 2022-04-01 08:03:14 -03:00
alfrix 53c7afd7a5 Use extruder icon without number if there is only 1 2022-03-30 22:58:37 -03:00
Alfredo Monclus 84fc6e5757 Bed_level: Support 6 and 8 Screws and rotation (#484) 2022-02-23 14:04:54 -03:00
alfrix d05ac06ad3 Settings_panel: Prevent long translations from squashing the slider
and improve switch to be more consistent
2022-02-05 14:47:35 -03:00
Alfredo Monclus 70caf24c35 Add light icon (#370) 2021-12-17 12:37:43 -05:00
Alfredo Monclus 2a9e653505 Graph (#357)
* Add theme graph colors

* Fix graph not applying colors
2021-12-07 21:05:17 -05:00
Jordan c8420c260b screen: RESPOND echo will now show a message on the screen. 2021-11-21 20:19:45 -05:00
Alfredo Monclus d36364a807 Augment scrollbar contrast (#314)
Some screen have very little contrast and where making the scrollbar invisible
2021-11-01 22:51:55 -04:00
Alfredo Monclus e7e91aee27 Material (#297) 2021-10-06 12:02:27 -04:00