62 Commits

Author SHA1 Message Date
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
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
f5a5efabda styles: use gtk vars for colors and other cleanup and improvements close #594 2023-10-20 00:06:34 -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
alfrix
fb0d0bb909 css: simplify graph_labels 2023-08-18 11:39:20 -03:00
alfrix
0a3dfbeb10 style: reduce the opacity of disabled buttons (better feedback) 2023-08-03 22:50:23 -03:00
Alfredo Monclus
6190581101
Reorganization (#1029) 2023-07-02 15:16:36 -03:00
alfrix
f7c12867d5 slimmer topbar buttons fixes #1006 2023-06-13 13:39:23 -03:00
alfrix
f0a33bd360 keyboard: improvements and fixes
modify layout to make keyboard bigger in the same space
create shift for a more traditional aproach
fix highlighting fixes #1004
2023-06-13 11:54:42 -03:00
alfrix
7120c424d4 gtk: resizability
doesn't rescale the fonts or images
2022-12-11 09:17:18 -03:00
alfrix
45e1f652db theme override style of disabled_un-sensitive buttons 2022-12-05 12:31:44 -03:00
alfrix
4804f5a5e0 print: use am-pm if not 24h 2022-12-01 14:20:49 -03:00
alfrix
415535eeb8 tweak sizes #828 2022-11-30 23:57:34 -03:00
alfrix
75c8681781 fix switch sizes after frames removal 2022-11-30 19:45:49 -03:00
alfrix
2bacac7efb job_status: info refactor
switching info is much faster, buttons keep their label
2022-11-30 11:00:10 -03:00
alfrix
25797b5ed3 remove frames from lists 2022-11-28 00:15:28 -03:00
alfrix
56149e4148 print_list: refactor 2022-11-27 23:44:25 -03:00
alfrix
2e39de56bd cleanup stylesheets 2022-11-26 15:57:50 -03:00
alfrix
054523d937 settings: add extra large font close #798 2022-11-20 20:58:06 -03:00
alfrix
260d4b16e5 --amend 2022-11-11 10:46:45 -03:00
alfrix
67dc2c9fdf --amend 2022-11-11 10:38:59 -03:00
alfrix
de540402ec screensaver: fix #725
this was caused by focus and hover states introducing extra styling
also remove the active semi-translucent that made the fade-in because,
it sometimes missbehaved not showing some elements of the ui, it's also faster not having animation.
2022-09-08 10:20:57 -03:00
alfrix
43c3a4b20d screensaver fix color 2022-09-05 19:44:26 -03:00
alfrix
4f959696bd gtk: remove newlines to properly wrap lines if needed
this fixes the issue caused by labels with a newlines detected as 1 line even if it has more than one
2022-09-02 19:58:35 -03:00
alfrix
38ceea5204 gtk: improve wrapping of labels 2022-09-02 19:58:35 -03:00
alfrix
3e5855d207 config: add validator 2022-09-02 19:58:35 -03:00
alfrix
9c2b52009a built-in keyboard 2022-08-01 12:23:40 -03:00
alfrix
88ca902a4b popups: wrap long messages, increase margins, touch anywhere to close 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
f97bed826b style: deprecate active_device class 2022-07-04 13:46:04 -03:00
alfrix
c18e2d148e layout: content margins in css
close #558 (use .action_bar{} and .content{} in a custom theme)
2022-07-03 12:03:50 -03:00
alfrix
faf997c7ae keyboard: improve layout and interactions on panels with entry 2022-07-03 12:03:50 -03:00
alfrix
431eb0058c system: remove unused function 2022-07-03 12:03:50 -03:00
alfrix
cc755edeb2 wider scrollbar because it's hard to use on small screens 2022-05-31 11:14:42 -03:00
alfrix
4ff63798c8 job_status: ask for confirmation, and show saved offset 2022-05-31 11:14:42 -03:00
alfrix
7c8d4ea4d7 extrude: add filament sensor support 2022-05-31 11:14:42 -03:00
alfrix
ade8911ba6 limits: add reset, allow to set above the configured maximum but turn the slider red 2022-05-31 11:14:42 -03:00
Alfredo Monclus
31546f0020
Improve Job status (#592)
Adds heater_generic and/or temp_sensors besides extruder/bed (because of the limited space maybe only 1)
Temps are now buttons and act as a shortcut to the temp panel
Adds fan_generic to the fan label and it's now a shortcut to the fan panel
The colors and size of the progress circle were changed to be more subtle.
Margins between items were augmented, because they are buttons now
Adds 3 information pages: move, extrusion and time:

    move can be opened with speed or z buttons
    time with elapsed/remaining buttons
    extrusion with the extrude_factor / flowrate button
2022-05-01 12:22:58 -03:00
alfrix
3a91ba4604 style: set minimum height for distbuttons and simplify border removal 2022-03-25 09:57:11 -03:00
Alfredo Monclus
708fec4c45
Fix issues waking up screen from a remote connection (#535)
When connected from vnc the screen did not unlock from the remote session click
This also implements an optional disable DPMS for people with issues where DPMS doesn't work as it should (hw issues, driver issues, etc)
Changes #340 almost entirely
2022-03-07 14:55:24 -03:00
alfrix
bf67129528 main_menu and temp: Fix extruder colors when there are multiple extruders 2022-02-12 21:26:55 -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
5d3bae8ff9
Temp_panel: put devices in a scroll (#436)
* Temp_panel: put devices in a scroll

* Tweak margins

* Tpanel: Fix whitespace in message

* Fix #429 temperature_fan not updating target
2022-01-17 01:13:46 -05:00
Alfredo Monclus
8a8c6c064c
Graph in temp panel, combine preheat and temp (#393)
* Graph in temp panel, combine preheat and temp

* Fix target not working properly

* Fix initial preselect

* Add the ability to change in delta temps

* Make the label translatable

* Add Unit to the label

* Add de/select button to popover

* Warn the user if nothing was selected

* Fix templabel

* Fix to comply with pep8

* Fix colors, thanks Jordan

* Fix popover selection

* Update docs image

* Gain horizontal space

* Gain even more horizontal space (remove target)

* Fix temperature_fan

* Add icon and style to temperature_fan

* List preheat deprecation in breaking changes

* Use the printer maximum temperature

* Cleanup target and fix popover select

* Fix codestyle

* Add extra preheat presets

* Change Class name

* Update docs image

* Improve Maximum temperature handling and Temperature fans
2022-01-11 00:39:42 -05:00