diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-05 13:00:21 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-05 13:00:21 +0200 |
commit | 5755ad47145d2985ba74354961b4127d82c516f6 (patch) | |
tree | aa6af562b7e587be895ff5a4355270f82f3ea180 /components/accounts/contents/ui/AccountWizardPage.qml | |
parent | e78224a7d9ccf70aadde8c0bff1cab72e8cb7438 (diff) | |
download | kube-5755ad47145d2985ba74354961b4127d82c516f6.tar.gz kube-5755ad47145d2985ba74354961b4127d82c516f6.zip |
A single framework plugin
Diffstat (limited to 'components/accounts/contents/ui/AccountWizardPage.qml')
-rw-r--r-- | components/accounts/contents/ui/AccountWizardPage.qml | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/components/accounts/contents/ui/AccountWizardPage.qml b/components/accounts/contents/ui/AccountWizardPage.qml index 034c8fd5..a4dc7e25 100644 --- a/components/accounts/contents/ui/AccountWizardPage.qml +++ b/components/accounts/contents/ui/AccountWizardPage.qml | |||
@@ -22,21 +22,20 @@ import QtQuick.Layouts 1.1 | |||
22 | import QtQuick.Controls 1.4 as Controls | 22 | import QtQuick.Controls 1.4 as Controls |
23 | import QtQuick.Controls 2.0 as Controls2 | 23 | import QtQuick.Controls 2.0 as Controls2 |
24 | import org.kde.kirigami 1.0 as Kirigami | 24 | import org.kde.kirigami 1.0 as Kirigami |
25 | import org.kube.framework 1.0 as Kube | ||
25 | 26 | ||
26 | import org.kube.framework.accounts 1.0 as KubeAccounts | ||
27 | import org.kube.components.theme 1.0 as KubeTheme | ||
28 | 27 | ||
29 | Item { | 28 | Item { |
30 | id: root | 29 | id: root |
31 | property string accountType | 30 | property string accountType |
32 | 31 | ||
33 | KubeAccounts.AccountFactory { | 32 | Kube.AccountFactory { |
34 | id: accountFactory | 33 | id: accountFactory |
35 | accountType: root.accountType | 34 | accountType: root.accountType |
36 | } | 35 | } |
37 | 36 | ||
38 | Controls.ToolButton { | 37 | Controls.ToolButton { |
39 | iconName: KubeTheme.Icons.goBack | 38 | iconName: Kube.Icons.goBack |
40 | tooltip: "go back" | 39 | tooltip: "go back" |
41 | onClicked: { | 40 | onClicked: { |
42 | stack.pop() | 41 | stack.pop() |
@@ -48,13 +47,13 @@ Item { | |||
48 | 47 | ||
49 | anchors { | 48 | anchors { |
50 | fill: parent | 49 | fill: parent |
51 | margins: KubeTheme.Units.largeSpacing * 2 | 50 | margins: Kube.Units.largeSpacing * 2 |
52 | } | 51 | } |
53 | 52 | ||
54 | Kirigami.Heading { | 53 | Kirigami.Heading { |
55 | id: heading | 54 | id: heading |
56 | text: loader.item.heading | 55 | text: loader.item.heading |
57 | color: KubeTheme.Colors.highlightColor | 56 | color: Kube.Colors.highlightColor |
58 | } | 57 | } |
59 | 58 | ||
60 | Kirigami.Label { | 59 | Kirigami.Label { |
@@ -67,7 +66,7 @@ Item { | |||
67 | 66 | ||
68 | width: parent.width | 67 | width: parent.width |
69 | text: loader.item.subheadline | 68 | text: loader.item.subheadline |
70 | color: KubeTheme.Colors.disabledTextColor | 69 | color: Kube.Colors.disabledTextColor |
71 | wrapMode: Text.Wrap | 70 | wrapMode: Text.Wrap |
72 | } | 71 | } |
73 | 72 | ||
@@ -77,7 +76,7 @@ Item { | |||
77 | top:subHeadline.bottom | 76 | top:subHeadline.bottom |
78 | left: parent.left | 77 | left: parent.left |
79 | right: parent.right | 78 | right: parent.right |
80 | topMargin: KubeTheme.Units.largeSpacing * 2 | 79 | topMargin: Kube.Units.largeSpacing * 2 |
81 | } | 80 | } |
82 | 81 | ||
83 | Loader { | 82 | Loader { |
@@ -105,12 +104,12 @@ Item { | |||
105 | bottom: parent.bottom | 104 | bottom: parent.bottom |
106 | left: parent.left | 105 | left: parent.left |
107 | right: parent.right | 106 | right: parent.right |
108 | topMargin: KubeTheme.Units.largeSpacing * 2 | 107 | topMargin: Kube.Units.largeSpacing * 2 |
109 | } | 108 | } |
110 | 109 | ||
111 | columns: 2 | 110 | columns: 2 |
112 | columnSpacing: KubeTheme.Units.largeSpacing | 111 | columnSpacing: Kube.Units.largeSpacing |
113 | rowSpacing: KubeTheme.Units.largeSpacing | 112 | rowSpacing: Kube.Units.largeSpacing |
114 | 113 | ||
115 | Item { | 114 | Item { |
116 | Layout.fillHeight: true | 115 | Layout.fillHeight: true |