diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-03-09 15:17:29 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-03-09 15:17:29 +0100 |
commit | c9ccf868f5d533a07811b949577f772f618d2de3 (patch) | |
tree | e91e3485cd8a4f00abc2ea7bede5aa0004f75414 /applications | |
parent | 2dac72ae43f627340694d89db68184cb07e68650 (diff) | |
download | kube-c9ccf868f5d533a07811b949577f772f618d2de3.tar.gz kube-c9ccf868f5d533a07811b949577f772f618d2de3.zip |
Removed kube-accounts
Diffstat (limited to 'applications')
-rw-r--r-- | applications/kube-accounts/CMakeLists.txt | 0 | ||||
-rw-r--r-- | applications/kube-accounts/Maildir.qml | 100 |
2 files changed, 0 insertions, 100 deletions
diff --git a/applications/kube-accounts/CMakeLists.txt b/applications/kube-accounts/CMakeLists.txt deleted file mode 100644 index e69de29b..00000000 --- a/applications/kube-accounts/CMakeLists.txt +++ /dev/null | |||
diff --git a/applications/kube-accounts/Maildir.qml b/applications/kube-accounts/Maildir.qml deleted file mode 100644 index ed2decc4..00000000 --- a/applications/kube-accounts/Maildir.qml +++ /dev/null | |||
@@ -1,100 +0,0 @@ | |||
1 | import QtQuick 2.4 | ||
2 | import QtQuick.Controls 1.3 | ||
3 | import QtQuick.Layouts 1.1 | ||
4 | import QtQuick.Dialogs 1.0 | ||
5 | |||
6 | import org.kde.sink.settings 1.0 as Settings | ||
7 | |||
8 | Item { | ||
9 | id: root | ||
10 | |||
11 | height: 150 | ||
12 | width: 600 | ||
13 | |||
14 | Settings.Maildir { | ||
15 | id: maildir | ||
16 | } | ||
17 | |||
18 | ColumnLayout { | ||
19 | anchors { | ||
20 | fill: parent | ||
21 | margins: 10 | ||
22 | } | ||
23 | |||
24 | GridLayout { | ||
25 | id: mainContent | ||
26 | |||
27 | Layout.fillWidth: true | ||
28 | |||
29 | rows: 2 | ||
30 | columns: 3 | ||
31 | |||
32 | Label { | ||
33 | text: "Name:" | ||
34 | } | ||
35 | |||
36 | TextField { | ||
37 | |||
38 | Layout.fillWidth: true | ||
39 | |||
40 | placeholderText: "Enter a name to identify the resource" | ||
41 | text: maildir.name | ||
42 | } | ||
43 | |||
44 | Label { | ||
45 | |||
46 | } | ||
47 | |||
48 | Label { | ||
49 | text: "Location:" | ||
50 | } | ||
51 | |||
52 | TextField { | ||
53 | |||
54 | Layout.fillWidth: true | ||
55 | |||
56 | placeholderText: "Click on the folder button to enter the location" | ||
57 | text: maildir.folderUrl | ||
58 | |||
59 | enabled: false | ||
60 | } | ||
61 | |||
62 | Button { | ||
63 | iconName: "folder" | ||
64 | |||
65 | onClicked: { | ||
66 | fileDialog.visible = true | ||
67 | } | ||
68 | |||
69 | FileDialog { | ||
70 | id: fileDialog | ||
71 | title: "Please choose the maildir folder" | ||
72 | folder: shortcuts.home | ||
73 | |||
74 | selectFolder: true | ||
75 | |||
76 | onAccepted: { | ||
77 | maildir.folderUrl = fileDialog.fileUrl | ||
78 | visible: false | ||
79 | } | ||
80 | onRejected: { | ||
81 | visible: false | ||
82 | } | ||
83 | } | ||
84 | } | ||
85 | } | ||
86 | |||
87 | RowLayout { | ||
88 | id: buttons | ||
89 | |||
90 | Layout.alignment: Qt.AlignRight | ||
91 | |||
92 | Button { | ||
93 | text: "Create Resource" | ||
94 | } | ||
95 | Button { | ||
96 | text: "Cancel" | ||
97 | } | ||
98 | } | ||
99 | } | ||
100 | } \ No newline at end of file | ||