40 Commits

Author SHA1 Message Date
Jaime van Kessel
4151050127 Setting the height of an action button now actually changes it's size
CURA-6115
2019-01-29 12:57:05 +01:00
Diego Prado Gesto
c11e0cecc8 Remove loading gif
Instead of an external gif, use the BusyIndicator that exists in the ActionButton.
2019-01-13 16:58:38 +01:00
Lipu Fei
f7fb04d4ae Fix merge conflicts with 4.0 2019-01-03 15:25:40 +01:00
Lipu Fei
136317c3c7 Fix code styles
CURA-6005
2019-01-03 11:26:14 +01:00
Jaime van Kessel
0965d909c0 Remove the show property from the tooltip
This was a bit of a weird setup, so i removed it. This way the tooltip can be used
in the same way as the regular tooltip (by simply setting the visibility)

CURA-6004
2018-12-20 16:41:26 +01:00
Aleksei S
3953c7bb3a Added Tooltip alignment
CURA-6004
2018-12-19 14:24:02 +01:00
Diego Prado Gesto
17cddac024 Merge branch '4.0' into CURA-6004_missing_tooltips 2018-12-19 09:03:31 +01:00
Diego Prado Gesto
02825a062f Change the remove and the info buttons
Contributes to CURA-6005.
2018-12-17 13:38:41 +01:00
Diego Prado Gesto
b7904d6e05 Unify the CuraDrive plugin with the rest of the items in Cura
For instance, the buttons were converted to either primary buttons or secondary buttons. A new CheckBox component was created in Cura in order to reuse it in the future.

Contributes to CURA-6005.
2018-12-17 13:04:23 +01:00
Diego Prado Gesto
ed8292c472 Adjust size and margins of the icon in the action button
Contributes to CURA-5876.
2018-12-11 17:00:02 +01:00
Diego Prado Gesto
f99c788eb6 Change some colors for the arrows in some setting selectors
Contributes to CURA-5876.
2018-12-11 16:35:59 +01:00
Diego Prado Gesto
2bf641efcf Add a Cura Tooltip to show in some buttons
Contributes to CURA-6004.
2018-12-10 09:09:58 +01:00
Diego Prado Gesto
3b8b70bddf Merge branch 'ui_rework_4_0' into CURA-5941_restyle_setting_dropdown 2018-12-06 16:35:07 +01:00
Diego Prado Gesto
4b79770d58 Align the buttons in the output process widget
The menu in the output device selector has now a rounded corner.
2018-12-06 13:42:29 +01:00
Diego Prado Gesto
07d58c3aef Merge branch 'ui_rework_4_0' into CURA-5941_restyle_setting_dropdown 2018-12-05 13:56:21 +01:00
Ghostkeeper
4d87c46423
Remove sourceSize.width: width from all RecolorImages
It is now the default in Uranium.

Contributes to issue CURA-5876.
2018-12-04 15:04:51 +01:00
Ghostkeeper
2fdfdaa00b
Rename iconOnRightSide to isIconOnRightSide
More accurately represents the type of value that's in this property.

Contributes to issue CURA-5876.
2018-12-04 14:47:34 +01:00
Ghostkeeper
a1f579a528
Improve wording of iconOnRightSide documentation
Contributes to issue CURA-5876.
2018-12-04 14:01:49 +01:00
Diego Prado Gesto
f67c725b2a Merge branch 'CURA-5941_restyle_setting_dropdown' of github.com:Ultimaker/Cura into CURA-5941_restyle_setting_dropdown 2018-11-29 14:03:39 +01:00
Diego Prado Gesto
990c653af4 Refactor the code a bit more to better align the components in the
recommended mode.

Contributes to CURA-5941.
2018-11-28 17:29:25 +01:00
Aleksei S
0fdaebaaf8 Updated action button
CURA-5941
2018-11-28 13:51:54 +01:00
Diego Prado Gesto
56f20648f5 Merge branch 'ui_rework_4_0' into CURA-5941_restyle_setting_dropdown 2018-11-28 11:58:55 +01:00
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
b63c4f7a74 Add header in new files. Remove unused imports.
Contributes to CURA-5959.
2018-11-26 14:06:34 +01:00
Jaime van Kessel
af1ee53578 Fix the hover effect of action button
CURA-5959
2018-11-23 17:41:58 +01:00
Jaime van Kessel
3f4d379908 Added shadow to slice button
CURA-5959
2018-11-22 15:35:40 +01:00
Jaime van Kessel
a1613c7f81 Set the variable types of the Action button to the right kind.
Because of boyscouting; these must be colors (and not generic vars)
2018-11-22 13:53:27 +01:00
Aleksei S
4bccd2b7b5 Restyle printer settings dropdown
CURA-5941
2018-11-20 23:46:03 +01:00
Ghostkeeper
6de24250ed
Make icon height equal to text height
This seems to be about the same actually as what it was. But now the relation is in there.
I also made the right icon inherit as much as possible from the left icon so that if we change something, we only have to change it in the left icon.

Contributes to issue CURA-5876.
2018-11-20 14:50:12 +01:00
Ghostkeeper
d42ddad606
Add icons on left and right side of text
For this I had to implement functionality in ActionButton to be able to display the icon on either side.

Contributes to issue CURA-5876.
2018-11-20 14:47:41 +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
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
Remco Burema
aef5c67652 Merge branch 'cura4.0_action_panel' into cura4.0_header 2018-11-08 11:50:14 +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
Jaime van Kessel
11a3da3068 Removed color animation from stage buttons
This caused laggy updates and it didn't add that much anyway

CURA-5772
2018-11-06 11:06:20 +01:00
Diego Prado Gesto
ec0d9f09b7 Create a component for selecting the output device before output the
file.

Contributes to CURA-5786.
2018-10-31 17:03:09 +01:00
Diego Prado Gesto
a277bd9f3b Don't use the hand cursor in the action buttons by default.
Contributes to CURA-5784.
2018-10-26 11:29:05 +02:00
Diego Prado Gesto
bf1c23243e Modify the styles to match the requirements.
Contributes to CURA-5784.
2018-10-24 09:55:51 +02:00
Diego Prado Gesto
fdfa81b2b8 Make some items' size dependent on parent's. Also make the ActionButton
more themable.

Contributes to CURA-5784.
2018-10-18 16:06:21 +02:00
Jaime van Kessel
8cac5e1de2 Removed the components qml dir
We can consider putting components into their own folder, but we first should have a clear definition of what they are / should be.

CURA-5772
2018-10-15 10:34:19 +02:00