41 Commits

Author SHA1 Message Date
Ghostkeeper
797ff9c573
Turn new Marketplace button into button with text instead of icon
The Marketplace icon is apparently confusing to use for the Marketplace in Cura and should only be used for the website version.

Contributes to issue CURA-8556.
2021-10-25 11:08:14 +02:00
Ghostkeeper
aed52cea74
Split functionality of the two marketplace buttons
One now opens the old one again. One still opens the new one (but with a new name).

Contributes to issue CURA-8556.
2021-10-25 01:11:26 +02:00
Ghostkeeper
7796abd55b
Revert "Revert "Add new button to open the Marketplace""
This reverts commit aa4b7ddb8bce12c4ff2ea8864c1dad63a7a0a7c4.
Apparently it is now in scope again for the button to be there. It's in the requirements and the requirements are holy. Whoopteedoo.

Contributes to issue CURA-8556.
2021-10-25 00:51:26 +02:00
Ghostkeeper
aa4b7ddb8b
Revert "Add new button to open the Marketplace"
This reverts commit 648aa3d84cd11439b6457aa81285ea9a5ac202f0.
Apparently we don't want to retain the old Toolbox alongside, not even during development.

Contributes to issue CURA-8556.
2021-10-19 13:09:22 +02:00
Ghostkeeper
648aa3d84c
Add new button to open the Marketplace
For now this button opens the same Marketplace. I must maintain both Marketplaces side-by-side for the moment though.

Contributes to issue CURA-8556.
2021-10-18 17:49:55 +02:00
Jaime van Kessel
aa905a80fe Add animations to hover effect
CURA-8421
2021-09-22 09:48:27 +02:00
Konstantinos Karmas
c91509418e Make all the top right buttons uniform
Instead of inverting the fill and the text color in those buttons when hovering on those buttons, they will now show a light background fill when hovered.

CURA-8421
2021-09-21 15:36:31 +02:00
Konstantinos Karmas
d844c5f70a Fix alignment of the ApplicationSwitcher button
The sign in button has a different size when you are logged in, where the account avatar was being drawn in the middle of the Sign In button. This was causing a weird alignment of the ApplicationSwitcher next to it, as it was adding an extra margin.

This is now fixed by making sure that the width of the button that has to do with account adjusts according to whether you are logged in or not. This makes the ApplicationSwitcher icon move when you log in but looks more natural relatively to the account button.

CURA-8421
2021-09-20 16:57:16 +02:00
Konstantinos Karmas
570fb3cf93 Introduce the ApplicationSwitcher widget
It includes only the hardcoded model with the Ultimaker links for now.

CURA-8421
2021-09-20 15:33:05 +02:00
luz paz
d68f375e38 Fix various typos
Found via `codespell -q 3 -S *.po,*.pot -L childs,initialy,lod,ned,te,slicable,sur,tutoriels,wont`
2021-09-07 11:33:54 -04:00
Konstantinos Karmas
eb2fe5b139 Change the size of the stage buttons to be same size as the marketplace button
CURA-8202
2021-06-30 12:30:04 +02:00
Jaime van Kessel
1cece590d7
Remove unneeded qml imports
Found these while looking at what would be needed to upgrade to qt 6.x
This module is dropped, hence me going over all of the cases where it's used.
2021-06-25 12:37:05 +02:00
Konstantinos Karmas
504f6dbe70
Revert "Cura 7813 qml modules version bump" 2021-03-30 09:48:28 +02:00
jelle Spijker
3baa71fd48
Update QtGraphicalEffects, Window and Dialogs
CURA-7813
2021-03-29 18:12:35 +02:00
jelle Spijker
9da321ffb9
Update Layouts, Control.Styles and Dialogs
CURA-7813
2021-03-29 18:04:47 +02:00
jelle Spijker
2986d50745
Update QtQuick and QtQuick.Controls
CURA-7813
2021-03-29 17:55:19 +02:00
Ghostkeeper
4b8274d7cb
Add ID to stage selection buttons
Necessary to switch stages in the Squish tests.

Contributes to issue CURA-6276.
2019-07-19 12:38:07 +02:00
Lipu Fei
9ae8d2f88c Use NotificationIcon and simplify code
CURA-6151
2019-04-01 11:52:35 +02:00
Lipu Fei
3f9b98bd0c Round size numbers
CURA-6151
2019-04-01 10:38:43 +02:00
Jaime van Kessel
56f3226ac1 Add the notification icon for the marketplace.
This adds an icon to the top right of the marketplace button to indicate that there
are plugins with pending updates.

CURA-6151
2019-03-27 13:21:56 +01:00
Satish
4a0bb43e39 CURA-6201 - Added an id to stage buttons for the integration tests 2019-02-15 12:08:42 +01:00
Lipu Fei
6aebdade73 Remake: Change to "sign in" button
CURA-6132
2019-01-30 15:37:20 +01:00
Jaime van Kessel
9ae08b4aec Moved the old logo back again
It looks way better, so lets hope it's here to stay!
2019-01-30 13:36:55 +01:00
Ghostkeeper
d020a49b75
Assign a font to Marketplace button
Otherwise the font face may be different, and the theme has no effect on the font.

Contributes to issue CURA-6025.
2018-12-31 13:26:55 +01:00
Jaime van Kessel
9ffc039254 Fix logo aliasing
CURA-6044
2018-12-20 14:01:12 +01:00
Aleksei S
d891d30ab8 The Cura logo in left top corner is not displayed properly.
CURA-6044
2018-12-19 15:51:32 +01:00
Ghostkeeper
a010823a4e
Fix warning when active stage is not yet instantiated
Edit: Originally this was more or less the same fix as what Diego just did at the same time, which caused a merge conflict, but I think my solution is more elegant than the ternary operator that was originally there so I'm keeping mine.
2018-12-14 13:22:32 +01:00
Diego Prado Gesto
473160a102 Add a check for null to avoid warnings in the logs. 2018-12-13 17:02:13 +01:00
Diego Prado Gesto
012ee0c02a Use the MouseArea trick to assure that the binding still works for the
checked property of the button.

Contributes to CURA-6028.
2018-12-13 16:44:49 +01:00
Jaime van Kessel
a1a9b058f5 Let header listen to activeStageId instead of the model
CURA-6028
2018-12-13 14:28:32 +01:00
Diego Prado Gesto
f655e6c43e Add a pattern in the background of the header.
Adjust some main colors to the ones in the designs.
2018-12-06 11:30:59 +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
Diego Prado Gesto
e863c34f68 Align the text to the center of the button
Contributes to CURA-5942.
2018-11-27 13:33:35 +01:00
Jaime van Kessel
fb84b344ec Add gradient to header bar 2018-11-27 12:58:06 +01:00
Jaime van Kessel
a654499752 Re-enable hover for marketplace button
CURA-5959
2018-11-26 13:47:22 +01:00
Jaime van Kessel
e1f3e07f04 Changed Marketplace button to no longer use the action button
The actionButton is weirdly named and overly used. That being said, the marketplace button is unique, so
there is little sense in re-using it
2018-11-23 17:11:20 +01:00
Diego Prado Gesto
dcad95aab9 Rename Toolbox button to Marketplace.
Contributes to CURA-5784.
2018-11-01 12:44:14 +01:00
Diego Prado Gesto
b6ea0e6385 Make the height of the stage buttons themable. Now the height has to be
28px as indicated by the UXers.

Contributes to CURA-5784.
2018-10-30 10:38:53 +01: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
69fc1e5bfb Reuse ActionButton component to create the toolbox shortcut.
Contributes to CURA-5784.
2018-10-22 10:30:06 +02:00
Diego Prado Gesto
15b35da612 Change the TopHeader name to MainWindowHeader, since there is nothing
more on the top than the header.

Contributes to CURA-5784.
2018-10-19 16:40:21 +02:00