summaryrefslogtreecommitdiffstats
path: root/applications/kube-mail/package/contents/ui/main.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-25 16:40:54 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-25 16:40:54 +0100
commitfed67ae13d4b9c109449f6077cea328913a8548e (patch)
tree057d19f9412b2120df749259d393b18c1d5cfb24 /applications/kube-mail/package/contents/ui/main.qml
parent0aba0c3fc68712383774263d0906f8e996e1e9c0 (diff)
downloadkube-fed67ae13d4b9c109449f6077cea328913a8548e.tar.gz
kube-fed67ae13d4b9c109449f6077cea328913a8548e.zip
An overly basic settings framework.
and a settings view to mess around.
Diffstat (limited to 'applications/kube-mail/package/contents/ui/main.qml')
-rw-r--r--applications/kube-mail/package/contents/ui/main.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/applications/kube-mail/package/contents/ui/main.qml b/applications/kube-mail/package/contents/ui/main.qml
index 7682a334..191a7434 100644
--- a/applications/kube-mail/package/contents/ui/main.qml
+++ b/applications/kube-mail/package/contents/ui/main.qml
@@ -21,6 +21,7 @@ import QtQuick.Layouts 1.1
21import org.kde.plasma.components 2.0 as PlasmaComponents 21import org.kde.plasma.components 2.0 as PlasmaComponents
22 22
23import org.kde.kube.actions 1.0 as KubeAction 23import org.kde.kube.actions 1.0 as KubeAction
24import org.kde.kube.settings 1.0 as KubeSettings
24 25
25ApplicationWindow { 26ApplicationWindow {
26 id: app 27 id: app
@@ -69,6 +70,14 @@ ApplicationWindow {
69 70
70 PlasmaComponents.ToolButton { 71 PlasmaComponents.ToolButton {
71 height: parent.height 72 height: parent.height
73 text: "Settings"
74 onClicked: {
75 settings.visible = true
76 }
77 }
78
79 PlasmaComponents.ToolButton {
80 height: parent.height
72 iconName: "mail-message-new" 81 iconName: "mail-message-new"
73 text: "Compose" 82 text: "Compose"
74 onClicked: { 83 onClicked: {
@@ -165,6 +174,12 @@ ApplicationWindow {
165 174
166 } 175 }
167 176
177 Settings {
178 id: settings
179
180 anchors.fill: parent
181 }
182
168 FocusComposer { 183 FocusComposer {
169 id: composer 184 id: composer
170 185