79 Commits

Author SHA1 Message Date
Ghostkeeper
289399825b
Merge branch 'ui_rework_4_0' into CURA-5876-Configuration_dropdown
Conflicts:
	plugins/PrepareStage/PrepareMenu.qml: Git was wrong, this was not really a conflict.
	resources/qml/ActionButton.qml: With iconSource being modified on ui_rework_4_0 and me modifying the icon to be able to display it on the left hand side.
	resources/qml/ActionPanel/OutputProcessWidget.qml: Git was wrong, not really a conflict.
	resources/qml/ActionPanel/SliceProcessWidget.qml: Git was wrong, not really a conflict.
	resources/qml/ExpandableComponent.qml: Both ui_rework_4_0 and me implemented a border around popups.
	resources/qml/MainWindow/MainWindowHeader.qml: Git was wrong, not really a conflict.
	resources/themes/cura-light/theme.json: Theme item was added in a place where I added whitespace.
2018-11-27 15:01:48 +01:00
Diego Prado Gesto
92d0717096 Hide the toolbar and don't show time and material information when loading a gcode
Contributes to CURA-5979.
2018-11-27 15:00:50 +01:00
Ghostkeeper
a3fe9839ba
Change all uses of 'small' and 'very small' fonts to default
These two fonts are exactly the same, but I want to use the 'small' font to be something a bit smaller. I'm 'removing' the superfluous font but will be re-using it immediately to look a bit smaller.

Contributes to issue CURA-5876.
2018-11-26 17:33:37 +01:00
Diego Prado Gesto
12f78fa21a Remove border of the popup selector for the output devices.
Contributes to CURA-5959.
2018-11-26 14:29:42 +01:00
Ghostkeeper
826044da7e
Merge branch 'ui_rework_4_0' into CURA-5876-Configuration_dropdown
Conflicts:
	plugins/PrepareStage/PrepareMenu.qml: Some indentation change caused it to misalign the diffs, thinking it couldn't merge two of the same lines which actually weren't the same lines.
	resources/qml/Menus/ConfigurationMenu/QuickConfigurationSelector.qml: This file was deleted in my branch. I'm holding for the new version.
2018-11-26 13:43:20 +01:00
Jaime van Kessel
eea6490e75 Hover of output device now spans the popup
CURA-5959
2018-11-26 13:27:26 +01:00
Diego Prado Gesto
5397cda2b4 Add a label to the action panel when auto slice is ON, indicating that the process runs automatically.
Contributes to CURA-5942.
2018-11-26 12:00:06 +01:00
Jaime van Kessel
09af7a9435 Slice button will now be disabled on error
CURA-5959
2018-11-26 09:34:27 +01:00
Jaime van Kessel
b82ea58bc8 Changed all the action buttons to either use primary or secondary button
CURA-5959
2018-11-23 18:07:50 +01:00
Jaime van Kessel
1a8df9e10e Removed blue border if slicing is not possible
CURA-5959
2018-11-23 11:46:38 +01:00
Jaime van Kessel
3ba4b9fd81 Add shadows to various used actionbuttons
CURA-5959
2018-11-23 11:20:53 +01:00
Jaime van Kessel
3f4d379908 Added shadow to slice button
CURA-5959
2018-11-22 15:35:40 +01:00
Diego Prado Gesto
f866390c7b Fix an issue in the action panel.
When the panel is created while the user is in the preview stage, the
row has no width.

Contributes to CURA-5786.
2018-11-21 16:56:25 +01:00
Ghostkeeper
dca286cea5
Give action button a sane default height
We don't want to give it a default width since that should just adjust to its contents by default, which is fine.

Contributes to issue CURA-5876.
2018-11-20 14:34:06 +01:00
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