115 Commits

Author SHA1 Message Date
Ghostkeeper
a1068a3ef2
Rename action_panel_button theme entry to action_button
Because it's not just used in the save panel.

Contributes to issue CURA-5876.
2018-11-20 14:24:09 +01:00
Ghostkeeper
42d73836f4
Move default margin by default to Cura's action buttons
So we don't have to repeat that every time you create a new button.

Contributes to issue CURA-5876.
2018-11-20 14:19:55 +01:00
Diego Prado Gesto
9bf18031ce Apply restyle of the toolbar according to the new designs. 2018-11-11 19:15:02 +01:00
Diego Prado Gesto
8a63a79896 Add soft animation to the entire popup and not only in the background.
This prevents the content to show before the background.

Contributes to CURA-5786.
2018-11-11 13:17:59 +01:00
Diego Prado Gesto
3669a3791d Hide the Preview shortcut in the action panel when the active stage is the PreviewStage.
Also adjust the size of the output button when the Preview button is not visible.

Contributes to CURA-5786.
2018-11-11 12:56:30 +01:00
Remco Burema
e66dd2be0b Action-Panel (CURA-5786) can now know about Preview-Stage (CURA-5829). 2018-11-08 15:03:24 +01:00
Diego Prado Gesto
5dddcbd666 Add a new property to the ActionButton to indicate whether the button
has a fixed width or the width will be dependant on the content.

Contributes to CURA-5786.
2018-11-06 15:14:27 +01:00
Diego Prado Gesto
b6b60702c0 Make the action panel to have a fixed width. Remove the animations when
switching states.

Contributes to CURA-5786.
2018-11-06 14:32:48 +01:00
Diego Prado Gesto
6f2e8d726d Remove functions that are only used once.
Contributes to CURA-5786.
2018-11-02 16:52:17 +01:00
Diego Prado Gesto
2dfd354b25 Remove function and property that are only used once.
Contributes to CURA-5786.
2018-11-02 16:49:31 +01:00
Diego Prado Gesto
059e681de5 Remove unused code.
Contributes to CURA-5786.
2018-11-02 16:44:50 +01:00
Diego Prado Gesto
dba31c3af4 Add documentation.
Contributes to CURA-5786.
2018-11-02 16:20:04 +01:00
Diego Prado Gesto
ef7ac3b089 Create the new component that gathers all the printjob information
(times and material usage) in a popup that is shown when the "i" icon is
pressed.

Contributes to CURA-5786.
2018-11-02 13:29:55 +01:00
Diego Prado Gesto
c862e72514 Add the print panel information as a popup that shows when the "i" icon
is clicked.

Contributes to CURA-5786.
2018-11-02 11:10:23 +01:00
Diego Prado Gesto
310539cb6d In the main action panel, only show the total amount of material weight
and length (addition of all extruders). The information panel will show
each cost separately.

Contributes to CURA-5786.
2018-11-02 09:58:35 +01:00