summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--framework/qml/ConversationView.qml1
-rw-r--r--framework/qml/EditAccountDialog.qml1
-rw-r--r--framework/qml/NotificationPopup.qml9
-rw-r--r--framework/qml/Outbox.qml17
-rw-r--r--framework/qml/OverlayDialog.qml1
5 files changed, 12 insertions, 17 deletions
diff --git a/framework/qml/ConversationView.qml b/framework/qml/ConversationView.qml
index 5fed1810..453ee3a0 100644
--- a/framework/qml/ConversationView.qml
+++ b/framework/qml/ConversationView.qml
@@ -20,7 +20,6 @@ import QtQuick 2.7
20import QtQuick.Controls 1.3 as Controls1 20import QtQuick.Controls 1.3 as Controls1
21import QtQuick.Controls 2 21import QtQuick.Controls 2
22import QtQuick.Layouts 1.1 22import QtQuick.Layouts 1.1
23import org.kde.kirigami 1.0 as Kirigami
24import org.kube.framework 1.0 as Kube 23import org.kube.framework 1.0 as Kube
25 24
26import QtQml 2.2 as QtQml 25import QtQml 2.2 as QtQml
diff --git a/framework/qml/EditAccountDialog.qml b/framework/qml/EditAccountDialog.qml
index ab256839..70b999c0 100644
--- a/framework/qml/EditAccountDialog.qml
+++ b/framework/qml/EditAccountDialog.qml
@@ -19,7 +19,6 @@
19import QtQuick 2.4 19import QtQuick 2.4
20import QtQuick.Layouts 1.1 20import QtQuick.Layouts 1.1
21 21
22import org.kde.kirigami 1.0 as Kirigami
23import org.kube.framework 1.0 as Kube 22import org.kube.framework 1.0 as Kube
24 23
25 24
diff --git a/framework/qml/NotificationPopup.qml b/framework/qml/NotificationPopup.qml
index 2d04575b..e5865881 100644
--- a/framework/qml/NotificationPopup.qml
+++ b/framework/qml/NotificationPopup.qml
@@ -1,7 +1,6 @@
1import QtQuick 2.0 1import QtQuick 2.0
2import QtQuick.Controls 2.0 2import QtQuick.Controls 2.0
3 3
4import org.kde.kirigami 1.0 as Kirigami
5import org.kube.framework 1.0 as Kube 4import org.kube.framework 1.0 as Kube
6 5
7 6
@@ -38,8 +37,8 @@ MouseArea {
38 onTriggered: popup.hide() 37 onTriggered: popup.hide()
39 } 38 }
40 39
41 width: Math.max(300, message.contentWidth + (Kirigami.Units.largeSpacing * 2)) 40 width: Math.max(300, message.contentWidth + (Kube.Units.largeSpacing * 2))
42 height: Math.max(50, message.contentHeight + (Kirigami.Units.largeSpacing * 2)) 41 height: Math.max(50, message.contentHeight + (Kube.Units.largeSpacing * 2))
43 42
44 visible: opacity > 0 43 visible: opacity > 0
45 opacity: 0.0 44 opacity: 0.0
@@ -66,9 +65,9 @@ MouseArea {
66 anchors { 65 anchors {
67 verticalCenter: popup.verticalCenter 66 verticalCenter: popup.verticalCenter
68 left: parent.left 67 left: parent.left
69 leftMargin: Kirigami.Units.largeSpacing 68 leftMargin: Kube.Units.largeSpacing
70 right: parent.right 69 right: parent.right
71 rightMargin: Kirigami.Units.largeSpacing 70 rightMargin: Kube.Units.largeSpacing
72 } 71 }
73 72
74 font.pixelSize: 16 73 font.pixelSize: 16
diff --git a/framework/qml/Outbox.qml b/framework/qml/Outbox.qml
index 46368294..0be1768a 100644
--- a/framework/qml/Outbox.qml
+++ b/framework/qml/Outbox.qml
@@ -21,7 +21,6 @@ import QtQuick.Layouts 1.1
21import QtQuick.Controls 2.0 21import QtQuick.Controls 2.0
22import QtQuick.Controls 1.3 as Controls 22import QtQuick.Controls 1.3 as Controls
23 23
24import org.kde.kirigami 1.0 as Kirigami
25import org.kube.framework 1.0 as Kube 24import org.kube.framework 1.0 as Kube
26 25
27 26
@@ -63,8 +62,8 @@ Controls.ToolButton {
63 Kube.Popup { 62 Kube.Popup {
64 id: dialog 63 id: dialog
65 64
66 height: content.height + Kirigami.Units.smallSpacing * 2 65 height: content.height + Kube.Units.smallSpacing * 2
67 width: content.width + Kirigami.Units.smallSpacing * 2 66 width: content.width + Kube.Units.smallSpacing * 2
68 67
69 y: - dialog.height + root.height 68 y: - dialog.height + root.height
70 x: root.width 69 x: root.width
@@ -74,21 +73,21 @@ Controls.ToolButton {
74 73
75 anchors.centerIn: parent 74 anchors.centerIn: parent
76 75
77 width: Kirigami.Units.gridUnit * 17 76 width: Kube.Units.gridUnit * 17
78 height: listView.count * Kirigami.Units.gridUnit * 3 + sendNowButton.height + Kirigami.Units.smallSpacing 77 height: listView.count * Kube.Units.gridUnit * 3 + sendNowButton.height + Kube.Units.smallSpacing
79 78
80 ListView { 79 ListView {
81 id: listView 80 id: listView
82 81
83 width: parent.width 82 width: parent.width
84 height: count * Kirigami.Units.gridUnit * 3 83 height: count * Kube.Units.gridUnit * 3
85 84
86 model: outboxModel 85 model: outboxModel
87 86
88 delegate: Rectangle { 87 delegate: Rectangle {
89 id: delegateRoot 88 id: delegateRoot
90 89
91 height: Kirigami.Units.gridUnit * 3 90 height: Kube.Units.gridUnit * 3
92 width: listView.width 91 width: listView.width
93 92
94 color: Kube.Colors.viewBackgroundColor 93 color: Kube.Colors.viewBackgroundColor
@@ -100,7 +99,7 @@ Controls.ToolButton {
100 anchors { 99 anchors {
101 verticalCenter: parent.verticalCenter 100 verticalCenter: parent.verticalCenter
102 left: parent.left 101 left: parent.left
103 leftMargin: Kirigami.Units.largeSpacing 102 leftMargin: Kube.Units.largeSpacing
104 } 103 }
105 text: model.subject 104 text: model.subject
106 105
@@ -155,7 +154,7 @@ Controls.ToolButton {
155 154
156 anchors { 155 anchors {
157 top: listView.bottom 156 top: listView.bottom
158 topMargin: Kirigami.Units.smallSpacing 157 topMargin: Kube.Units.smallSpacing
159 horizontalCenter: parent.horizontalCenter 158 horizontalCenter: parent.horizontalCenter
160 } 159 }
161 160
diff --git a/framework/qml/OverlayDialog.qml b/framework/qml/OverlayDialog.qml
index 5bf35653..4334754f 100644
--- a/framework/qml/OverlayDialog.qml
+++ b/framework/qml/OverlayDialog.qml
@@ -20,7 +20,6 @@ import QtQuick 2.4
20import QtQuick.Controls 1.4 20import QtQuick.Controls 1.4
21import QtQuick.Layouts 1.1 21import QtQuick.Layouts 1.1
22 22
23import org.kde.kirigami 1.0 as Kirigami
24import org.kube.framework 1.0 as Kube 23import org.kube.framework 1.0 as Kube
25 24
26 25