Changeset View
Changeset View
Standalone View
Standalone View
plasmoid/contents/ui/TomorrowWeatherType.qml
1 | import QtQuick 2.0 | 1 | /* Copyright 2016 Aditya Mehra <aix.m@outlook.com> | ||
---|---|---|---|---|---|
2 | | ||||
3 | This library is free software; you can redistribute it and/or | ||||
4 | modify it under the terms of the GNU Lesser General Public | ||||
5 | License as published by the Free Software Foundation; either | ||||
6 | version 2.1 of the License, or (at your option) version 3, or any | ||||
7 | later version accepted by the membership of KDE e.V. (or its | ||||
8 | successor approved by the membership of KDE e.V.), which shall | ||||
9 | act as a proxy defined in Section 6 of version 3 of the license. | ||||
10 | | ||||
11 | This library is distributed in the hope that it will be useful, | ||||
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||||
14 | Lesser General Public License for more details. | ||||
15 | | ||||
16 | You should have received a copy of the GNU Lesser General Public | ||||
17 | License along with this library. If not, see <http://www.gnu.org/licenses/>. | ||||
18 | */ | ||||
19 | | ||||
20 | import QtQuick 2.9 | ||||
2 | import QtQuick.Window 2.2 | 21 | import QtQuick.Window 2.2 | ||
3 | import QtQuick.Layouts 1.3 | 22 | import QtQuick.Layouts 1.3 | ||
4 | import QtQuick.Controls 2.0 | 23 | import QtQuick.Controls 2.2 | ||
5 | import QtQml.Models 2.2 | 24 | import QtQml.Models 2.2 | ||
6 | import org.kde.plasma.components 2.0 as PlasmaComponents | | |||
7 | import org.kde.plasma.extras 2.0 as PlasmaExtras | | |||
8 | import org.kde.plasma.core 2.0 as PlasmaCore | 25 | import org.kde.plasma.core 2.0 as PlasmaCore | ||
9 | import org.kde.plasma.plasmoid 2.0 | 26 | import org.kde.plasma.plasmoid 2.0 | ||
10 | 27 | import org.kde.plasma.components 2.0 as PlasmaComponents | |||
28 | import org.kde.plasma.extras 2.0 as PlasmaExtras | ||||
11 | 29 | | |||
12 | Column { | 30 | Column { | ||
13 | spacing: 6 | 31 | spacing: 6 | ||
14 | //anchors.right: parent.right | | |||
15 | //anchors.left: parent.left | | |||
16 | | ||||
17 | //readonly property bool sentByMe: model.recipient !== "Me" | | |||
18 | //property alias cttemp: currenttempitem.text | | |||
19 | property alias lttemp: lowtempitem.text | 32 | property alias lttemp: lowtempitem.text | ||
20 | property alias httemp: hightempitem.text | 33 | property alias httemp: hightempitem.text | ||
21 | 34 | | |||
22 | Row { | 35 | Row { | ||
23 | id: messageRow | 36 | id: messageRow | ||
24 | spacing: 6 | 37 | spacing: 6 | ||
25 | 38 | | |||
26 | Rectangle{ | 39 | Rectangle{ | ||
▲ Show 20 Lines • Show All 123 Lines • Show Last 20 Lines |