Changeset View
Changeset View
Standalone View
Standalone View
gemini/qml/welcomepages/cloud/AddWebdav.qml
Show All 12 Lines | |||||
13 | * | 13 | * | ||
14 | * You should have received a copy of the GNU General Public License | 14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program; if not, write to the Free Software | 15 | * along with this program; if not, write to the Free Software | ||
16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
17 | */ | 17 | */ | ||
18 | 18 | | |||
19 | import QtQuick 2.0 | 19 | import QtQuick 2.0 | ||
20 | import org.calligra 1.0 | 20 | import org.calligra 1.0 | ||
21 | import "../../components" | 21 | import QtQuick.Controls 1.4 as QtControls | ||
22 | import org.kde.kirigami 2.1 as Kirigami | ||||
22 | 23 | | |||
23 | Rectangle { | 24 | Rectangle { | ||
24 | anchors.fill: parent; | 25 | anchors.fill: parent; | ||
25 | anchors.margins: Settings.theme.adjustedPixel(16); | 26 | anchors.margins: Settings.theme.adjustedPixel(16); | ||
26 | property string serviceName: ""; | 27 | property string serviceName: ""; | ||
27 | property Component addEmpty; | 28 | property Component addEmpty; | ||
28 | radius: Settings.theme.adjustedPixel(8); | 29 | radius: Settings.theme.adjustedPixel(8); | ||
29 | color: "white"; | 30 | color: "white"; | ||
30 | Rectangle { | 31 | Rectangle { | ||
31 | anchors { | 32 | anchors { | ||
32 | fill: parent; | 33 | fill: parent; | ||
33 | margins: -Settings.theme.adjustedPixel(16); | 34 | margins: -Settings.theme.adjustedPixel(16); | ||
35 | topMargin: -(Settings.theme.adjustedPixel(8) + Constants.GridHeight * 1.5); | ||||
34 | } | 36 | } | ||
35 | opacity: 0.3; | 37 | opacity: 0.5; | ||
36 | color: "white"; | 38 | color: "white"; | ||
37 | MouseArea { anchors.fill: parent; onClicked: { /*nothing */ } } | 39 | MouseArea { anchors.fill: parent; onClicked: { /*nothing */ } } | ||
38 | SimpleTouchArea { anchors.fill: parent; onTouched: { /*nothing */ } } | 40 | SimpleTouchArea { anchors.fill: parent; onTouched: { /*nothing */ } } | ||
39 | } | 41 | } | ||
40 | Label { | 42 | Kirigami.Label { | ||
41 | anchors.fill: parent; | 43 | anchors.fill: parent; | ||
42 | horizontalAlignment: Text.AlignHCenter; | 44 | horizontalAlignment: Text.AlignHCenter; | ||
43 | text: "Sorry, support for WebDav is not yet implemented."; | 45 | text: "Sorry, support for WebDav is not yet implemented."; | ||
44 | } | 46 | } | ||
45 | CohereButton { | 47 | QtControls.Button { | ||
46 | anchors { | 48 | anchors { | ||
47 | bottom: parent.bottom; | 49 | bottom: parent.bottom; | ||
48 | right: parent.right; | 50 | right: parent.right; | ||
49 | margins: Settings.theme.adjustedPixel(8); | 51 | margins: Settings.theme.adjustedPixel(8); | ||
50 | } | 52 | } | ||
51 | text: "Close"; | 53 | text: "Close"; | ||
52 | textColor: "#5b6573"; | | |||
53 | textSize: Settings.theme.adjustedPixel(18); | | |||
54 | color: "#D2D4D5"; | | |||
55 | onClicked: dlgStack.replace(addEmpty); | 54 | onClicked: dlgStack.replace(addEmpty); | ||
56 | } | 55 | } | ||
57 | } | 56 | } |