refactor(BackupCommunityBanner): use StatusQ components in banner
This commit is contained in:
parent
572c039a7d
commit
d2232cd5c2
|
@ -1,8 +1,10 @@
|
|||
import QtQuick 2.13
|
||||
import QtGraphicalEffects 1.13
|
||||
import "../../../../../shared"
|
||||
import "../../../../../shared/panels"
|
||||
import "../../../../../shared/status"
|
||||
|
||||
import StatusQ.Core 0.1
|
||||
import StatusQ.Core.Theme 0.1
|
||||
import StatusQ.Controls 0.1
|
||||
import StatusQ.Components 0.1
|
||||
|
||||
import utils 1.0
|
||||
import "../../popups/community"
|
||||
|
@ -27,21 +29,16 @@ Rectangle {
|
|||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
|
||||
SVGImage {
|
||||
StatusRoundIcon {
|
||||
anchors.top: parent.top
|
||||
anchors.topMargin: -6
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
source: Style.svg("key")
|
||||
width: 40
|
||||
height: 40
|
||||
ColorOverlay {
|
||||
anchors.fill: parent
|
||||
source: parent
|
||||
color: Style.current.blue
|
||||
}
|
||||
icon.name: "objects"
|
||||
}
|
||||
|
||||
StyledText {
|
||||
StatusBaseText {
|
||||
id: backUpText
|
||||
//% "Back up community key"
|
||||
text: qsTrId("back-up-community-key")
|
||||
|
@ -54,6 +51,7 @@ Rectangle {
|
|||
anchors.rightMargin: Style.current.xlPadding
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: Style.current.xlPadding
|
||||
color: Theme.palette.directColor1
|
||||
}
|
||||
|
||||
StatusButton {
|
||||
|
|
Loading…
Reference in New Issue