32 Commits

Author SHA1 Message Date
j.delarago
94e5a4e1db Masking is not avaliable after the QT6 upgrade, this does a kind of primitive masking by placing a rectangle with a circular hole in it over the image.
CURA-9104
2022-04-11 14:10:27 +02:00
Jaime van Kessel
124602d2ad Return account widget to it's former glory 2022-03-31 14:19:41 +02:00
Jaime van Kessel
83be495414 Replace usage of controls label with our custom label
This prevents copy pasting a bunch of parameters that we set by default
2021-11-10 16:37:26 +01: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
ee564782b5 Remove comment
CURA-8421
2021-09-21 11:06:45 +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
9d70ea8a8a Size the avatar icon with the same height as the marketplace button
CURA-8202
2021-06-30 15:18:12 +02:00
Konstantinos Karmas
504f6dbe70
Revert "Cura 7813 qml modules version bump" 2021-03-30 09:48:28 +02:00
jelle Spijker
2986d50745
Update QtQuick and QtQuick.Controls
CURA-7813
2021-03-29 17:55:19 +02:00
Jaime van Kessel
0edb93176a
Fix some layout issues
CURA-7418
2020-06-15 14:09:01 +02:00
Jaime van Kessel
6d86cbf03c
Convert the account details into an item
No idea why it was a column.

CURA-7454
2020-06-11 16:58:28 +02:00
Jaime van Kessel
1f402569ad
Move properties into account details itself
There isn't really a point to setting them from when the object is created...

CURA-7418
2020-06-11 16:51:42 +02:00
Kostas Karmas
fad02193ab Fix sync button not appearing when opening popup after clicking away
This was achieved by adding an IDLE state, which is the default state
when opening the account management popup. The state is now reseted
when the popup opens instead of when it closes. In addition, now either
the "You are in sync with your account" label or the "Check account for
updates" button will appear in the popup based on the state, not both.

Finally, with theses changes, if the popup is open and an autosync
occurs, the user will be informed that the account is synced and he/she
will have to close and reopen the popup in order to trigger a manual
update.

CURA-7290
2020-05-26 09:49:58 +02:00
Nino van Hooff
f78fa884c1 Only show the manual sync button after the account popup was closed
CURA-7290
2020-05-13 17:19:20 +02:00
Lipu Fei
8dd0f8d329 Remake: show initial if no avatar
CURA-6132
2019-01-30 15:37:41 +01:00
Lipu Fei
6aebdade73 Remake: Change to "sign in" button
CURA-6132
2019-01-30 15:37:20 +01:00
Diego Prado Gesto
f65b1f8fbc 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-5784.
2018-11-11 13:16:38 +01:00
Jaime van Kessel
99bac25ab2 Show default avatar if user has no avatar picture set
CURA-5784
2018-11-05 14:55:22 +01:00
Diego Prado Gesto
aa75b64b5b Use the lining color to the default ouline color for the account widget.
Contributes to CURA-5784.
2018-10-30 09:48:56 +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
e85b5febe1 Add pointing hand cursor shape when hovering the AccountWidget.
Contributes to CURA-5784.
2018-10-24 11:28:52 +02:00
Diego Prado Gesto
dbb62f2490 Add default icons for the avatar.
Contributes to CURA-5784.
2018-10-22 11:31:19 +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
Diego Prado Gesto
8df3eb33d4 Minor changes: remove empty lines, small changes in the anchors, ...
Contributes to CURA-5772.
2018-10-18 16:51:32 +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
Diego Prado Gesto
0a07f48375 Fix typo in a theme's key.
Contributes to CURA-5784.
2018-10-18 15:38:24 +02:00
Ghostkeeper
1bcd134f85
Fix code style
Most stuff here was recently changed. Some of it was where I found a pattern in something that was likely copy-pasted from somewhere else, so I did a global search and replace on that.

Contributes to issue CURA-5784.
2018-10-18 14:30:33 +02:00
Diego Prado Gesto
11693aad36 Change the behaviour of the Popup, that now closes when clicking the
widget if it is open.

Contributes to CURA-5784.
2018-10-18 09:51:42 +02:00
Jaime van Kessel
f6ae19003b The AccountDetails Panel is now an actual popup
This ensures that it's always visible (previously it was ocluded by the StageMenu)

CURA-5772
2018-10-15 14:07:30 +02:00
Diego Prado Gesto
5befc0b256 Restyle the dropdown of the accounts, with information about the user
and available operations that can be done when the user is logged in or
not.

Contributes to CURA-5784.
2018-10-10 16:34:55 +02:00
Diego Prado Gesto
49e96980f1 Store the dialogs in a folder called Dialogs.
Contributes to CURA-5784.
2018-10-09 17:11:01 +02:00