Commit Graph

150 Commits

Author SHA1 Message Date
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 Monclus
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
a262247a2a feat: make the osk keypad smaller while landscape 2024-09-20 19:16:21 -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
243e67609b refactor: remove min width of heater-list temp
it's not needed since the rewrite of update_temp
2024-07-07 14:41:41 -03:00
Alfredo Monclus
fc2a44d833 style: dropdown better fit for default command on zcalibrate 2024-07-07 12:04:11 -03:00
Alfredo Monclus
1f2bd4cf72 refactor(dialogs): make button padding smaller and hexpand prompt buttons 2024-07-06 16:14:35 -03:00
Alfredo Monclus
599753859c fix(colorized): dialog-warning wrong color 2024-07-06 15:07:24 -03:00
Alfredo Monclus
b952130fb6 refactor(layout): reduce some elements to better fit vertical layout 2024-07-06 14:57:56 -03:00
Alfredo Monclus
c53b0e27a4 feat(extrude): show more filament sensors (up to 9)
removes the enable switch if there are too many sensors, to at least show them
2024-07-06 14:57:40 -03:00
Alfredo Monclus
af6e798be6 style(gcodes): tweak margin and paddings of the thumbnail view, use up to 3 lines 2024-07-06 11:08:17 -03:00
Alfredo Monclus
733cda93ea style(job_status): if there is no lcd_message center the filename 2024-06-24 21:47:35 -03:00
Alfredo Monclus
ff61242856 style: slightly increase padding left on heater list 2024-06-24 19:31:05 -03:00
Alfredo Monclus
c9f4f3b066 gcodes: add extra info to confirm print 2024-06-23 16:01:40 -03:00
Alfredo Monclus
464ef04186 style: reduce the padding of the comboboxes add border radius 2024-06-20 23:02:08 -03:00
Alfredo Monclus
f3588bb3b9 layout: reduce heater list button left padding
this should maintain alignment when disbling the graph view
2024-06-12 11:22:18 -03:00
Alfredo Monclus
861b617ddb styles: base: tweak paddings to better center labels 2024-06-10 16:08:35 -03:00
Alfredo Monclus
d262dfe0b2 style: material darker more centered labels 2024-06-10 16:07:45 -03:00
Alfredo Monclus
c898c8afea styles: material updates 2024-06-10 14:12:41 -03:00
Alfredo Monclus
bc822eebef layout: reduce some paddings
dropdowns
print items of thumbnail view
2024-05-24 23:17:13 -03:00
alfrix
3d241cecb4 printer_select: support custom icons #1240 2024-04-26 07:36:52 -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
c774d2ed06 style: change z icons to arrows only, to avoid misinterpretations 2024-04-09 15:13:02 -03:00
alfrix
cdf8d12710 action bar buttons visibility tweak 2024-03-09 09:09:41 -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
alfrix
c35b52805d layout: make popover buttons larger and add a border 2024-02-25 12:09:48 -03:00
Alfredo Monclus
d9a361cacc ws: fix issue that made buttons busy forever fixes #1087 (#1266)
* ws: fix issue that made buttons busy forever fixes #1087

* ws: reduce to high_idle due to touch not as responsive

* ws: make string translatable

* less animation steps for the spinner

the slower spinning gear icon is actually more pleasant to look
2024-02-18 17:26:08 -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
db0bff8ab2 style: less transparent disabled buttons 2024-01-17 09:30:13 -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
906831a151 fix ui overflow #1220
this make the scrollbar buttons a lot smaller, there is no alternative, they simply don't fit they never did
2023-12-30 11:08:35 -03:00
alfrix
02ba0f9594 heater grid: smaller temp column if power is not displaying close #1200 2023-12-22 21:04:21 -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
957aeb835d layout: remove the margin as it's very useful on small screens
con: user may have to touch away from the handle if it interferes with the button
2023-11-03 23:34:02 -03:00
alfrix
882037ae7b style: fix issue with material-darker 2023-10-22 16:01:41 -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
alfrix
adc59f7df1 change solarized warning to orange 2023-09-25 08:31:47 -03:00
alfrix
0f8fe9abe1 main: temp: heater list smaller slider 2023-08-28 17:15:10 -03:00
Blonďák
8b93ba07d9 Spoolman: Added extra padding to expanders (#1090) 2023-08-21 15:14:02 -03:00
Blonďák
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
Vasilyev81
65c4b172e8 Add butttons for vertical scrollbars fixes
Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-08-18 11:57:07 -03:00