fieldOfView
a291131aca
Fix qml warning when no printer is connected
2016-10-13 21:18:17 +02:00
Ghostkeeper
8644fb7113
Never animate progress bars if they are invisible
...
This is now the responsibility of the theme rather than the interface element, since the theme defines the animation itself. This makes it that the interface element doesn't need to worry about things like its style or animation.
Contributes to issue CURA-2497.
2016-10-06 11:54:21 +02:00
Ghostkeeper
06a0a0b95e
Progress bar never indeterminate if invisible
...
Because if the progress bar is indeterminate, it triggers redraws for every frame to create the animation of the progress bar bouncing, regardless of whether it is visible or not. So now we make it indeterminate regardless of what state it is in.
Contributes to issue CURA-2497.
2016-10-05 13:35:12 +02:00
Ghostkeeper
8a5026bdb1
Revert "Early cop-out if there is no printer connected"
...
This reverts commit 99f53cb8322e07f1ff94195e44ecbcde0b82e841. That commit caused the progress bar to be indeterminate if the progress bar was not visible, which is semantically correct but in reality causes QML to redraw the screen constantly for the animation of the indeterminate progress bar. This was taking up CPU. Now the CPU is only taken up during the pausing and resuming states when the progress bar is visible and indeterminate, but then it is actually required.
Contributes to issue CURA-2497.
2016-10-05 13:28:53 +02:00
Ghostkeeper
99f53cb832
Early cop-out if there is no printer connected
...
This indeterminate state is never visible, since showProgress is false then, but it might prevent some error message behind the scenes.
Contributes to issue CURA-2060.
2016-09-28 09:36:06 +02:00
Ghostkeeper
f4d13713a2
Replace progress bar with actual ProgressBar element
...
QML has this progress bar that has more functionality than the progress bar we're using. We need an indeterminate state for the pausing and resuming states, so instead of implementing that myself, I'm using the QML ProgressBar element.
Contributes to issue CURA-2060.
2016-09-27 14:03:49 +02:00
Ghostkeeper
3b2c173cd6
Keep showing progress while pausing/resuming
...
I've chosen the blue 'progress' colour to be displayed while pausing and resuming.
Contributes to issue CURA-2060.
2016-09-27 14:03:49 +02:00
Ghostkeeper
22f0a2dabf
Add TODOs for text to be added after string freeze
...
We currently have a string freeze, so we can't add these cases here.
Contributes to issue CURA-2060.
2016-09-27 14:03:49 +02:00
fieldOfView
e43dbcd0b7
Code style
...
CURA-2235
2016-09-14 09:37:53 +02:00
fieldOfView
b14bc477bf
Update status text for consistency
2016-09-12 18:46:09 +02:00
fieldOfView
4bfa0f3bb1
Move sidebar action button style into styles.qml
2016-09-12 16:53:59 +02:00
Jaime van Kessel
31bc3d2575
Added maintenance state to display qml
...
CURA-2235
2016-09-12 13:38:30 +02:00
fieldOfView
8930eae9cd
Allow plugins to add additional components to print monitor buttons
...
CURA-2277
2016-09-12 10:38:09 +02:00
Jaime van Kessel
c254737e25
Simplified the pause code
...
Now always follow the states of the remote (instead of using states that can get out of sync)
CURA-2060
2016-09-09 14:41:30 +02:00
fieldOfView
938a2fc691
Update wording
...
CURA-2157
2016-09-05 15:38:56 +02:00
Thomas Karl Pietrowski
df519ed00a
CURA-2157: Adding an confirmation dialog
...
Tested while starting two prints and aborting them. The buttons for
"Yes" and "No" are translated by Qt5.
2016-09-05 15:36:28 +02:00
fieldOfView
7efde6b164
Prevent qml warning when no printer is connected
2016-08-20 23:42:51 +02:00
fieldOfView
105541ed07
Hide "0%" progress while in pre_print state
...
CURA-1963
2016-08-16 11:19:50 +02:00
Jack Ha
decf998d68
Code style, semicolons
2016-08-10 09:17:10 +02:00
Jack Ha
223b8f28bb
Update print monitor button labels and enabled. CURA-2060
2016-08-09 16:20:40 +02:00
Jack Ha
2d723cbb57
Comments CURA-2064
2016-08-09 14:54:09 +02:00
Jack Ha
f60ba6ddf0
Enable Abort Print button while in pre_print.
2016-08-09 10:57:28 +02:00
Jack Ha
6d52319ee4
Adjusted visibility of printer monitor progress bar + percentage.
...
CURA-2064
2016-08-08 17:08:01 +02:00
Jack Ha
1bd0d65e0a
Added user feedback after pressing Pause / Resume in network printer.
...
The button displays Pausing... or Resuming... until a new status update.
CURA-2060
2016-08-08 16:25:01 +02:00
fieldOfView
6cf8536404
Rename pause button to pause/resume button for clarity
...
CURA-1851
2016-08-04 18:22:35 +02:00
fieldOfView
cf06df8b07
Add a sidebar state for when a printer is not accepting commands
...
CURA-1851
2016-08-04 16:39:46 +02:00
fieldOfView
5f3c051ec6
Code cleanup
...
CURA-1990
2016-08-04 16:02:05 +02:00
fieldOfView
ed669925ad
Disable print monitor if the printer is not (yet) ready to receive commands
...
CURA-1851
2016-08-04 15:06:22 +02:00
fieldOfView
a74d5dd8cb
Show error text in print monitor
...
CURA-1990
2016-08-04 13:25:28 +02:00
fieldOfView
8fb6c9939a
Add "offline" styling to sidebar/monitor
...
CURA-1851
2016-07-28 18:14:38 +02:00
Jaime van Kessel
afed6eed93
Print montior also handles wait_for_cleanup correctly now
2016-07-27 14:14:13 +02:00
fieldOfView
35efea3d11
Show "ready" state when a printer is connected but jobstate is not yet set
...
CURA-1036
2016-07-07 09:52:53 +02:00
fieldOfView
7b4137ce20
Tweak color and icon logic (add "pre_print" state)
...
CURA-1036
2016-07-04 18:35:47 +02:00
fieldOfView
b7906c9ce7
Fix warning about missing color in theme
...
CURA-1036
2016-07-01 15:26:24 +02:00
fieldOfView
c9b2a1d938
Properly prevent warning when no printer is connected.
...
CURA-1036
2016-07-01 11:51:46 +02:00
fieldOfView
58ae1e923c
Prevent warning when no printer is connected.
...
CURA-1036
2016-06-30 19:13:46 +02:00
fieldOfView
dc2384c92d
Disable monitor buttons when there is no job running
...
CURA-1036
2016-06-30 11:15:32 +02:00
fieldOfView
7ec605579e
Introduce printing/busy status and make monitor i18n-aware
...
CURA-1036
2016-06-30 10:20:19 +02:00
fieldOfView
7d962e97c4
Change monitor progress to percentages
...
CURA-1036
2016-06-30 10:18:10 +02:00
fieldOfView
00ad7b23ff
Prevent QML warnings when there is no connected printer
...
CURA-1036
2016-06-24 13:39:24 +02:00
fieldOfView
d613863d83
Tweak colors and icons for print monitor
...
CURA-1036
2016-06-23 21:50:51 +02:00
Jaime van Kessel
1f9acf0b54
Color of progress bar now changes based on jobstate
...
CURA-1036
2016-06-17 12:01:48 +02:00
Jaime van Kessel
168246d594
Added progress percentage label
...
CURA-1036
2016-06-17 11:02:22 +02:00
Jaime van Kessel
ec34d92500
Resume, pause & abort are handled correctly
...
CURA-1036
2016-06-16 17:47:05 +02:00
Jaime van Kessel
74c4774092
Fixed print /resume button
...
CURA-1036
2016-06-16 17:21:16 +02:00
Jaime van Kessel
8d8b479216
Adding pause / resume buttons for print monitoring
...
CURA-1036
2016-06-16 15:36:51 +02:00