mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-01 23:01:10 -07:00
Account sync: create additional sync states
CURA-7290
This commit is contained in:
parent
4b88247af8
commit
4e7f446fe1
6 changed files with 184 additions and 72 deletions
38
resources/qml/Account/SyncStateError.qml
Normal file
38
resources/qml/Account/SyncStateError.qml
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
|
||||
import UM 1.4 as UM
|
||||
import Cura 1.1 as Cura
|
||||
|
||||
Row // sync state icon + message
|
||||
{
|
||||
width: childrenRect.width
|
||||
height: childrenRect.height
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
spacing: UM.Theme.getSize("narrow_margin").height
|
||||
|
||||
|
||||
|
||||
UM.RecolorImage
|
||||
{
|
||||
id: updateImage
|
||||
width: 20 * screenScaleFactor
|
||||
height: width
|
||||
|
||||
source: UM.Theme.getIcon("warning_light")
|
||||
color: palette.text
|
||||
|
||||
signal syncingChanged(bool newSyncing)
|
||||
property double animationDuration: 1500
|
||||
|
||||
}
|
||||
|
||||
Label
|
||||
{
|
||||
id: syncStateSuccessLabel
|
||||
text: catalog.i18nc("@info", "Something went wrong...\nPlease try again later.")
|
||||
color: UM.Theme.getColor("text")
|
||||
font: UM.Theme.getFont("medium")
|
||||
renderType: Text.NativeRendering
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue