Changeset View
Changeset View
Standalone View
Standalone View
src/plasma/applets/worldclock/package/contents/ui/configTimeZones.qml
- This file was added.
1 | /* | ||||
---|---|---|---|---|---|
2 | * Copyright 2016 Friedrich W. H. Kossebau <kossebau@kde.org> | ||||
3 | * | ||||
4 | * This program is free software; you can redistribute it and/or | ||||
5 | * modify it under the terms of the GNU Lesser General Public | ||||
6 | * License as published by the Free Software Foundation; either | ||||
7 | * version 2.1 of the License, or (at your option) any later version. | ||||
8 | * | ||||
9 | * This program is distributed in the hope that it will be useful, | ||||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||||
12 | * Lesser General Public License for more details. | ||||
13 | * | ||||
14 | * You should have received a copy of the GNU Lesser General Public | ||||
15 | * License along with this program. If not, see <http://www.gnu.org/licenses/>. | ||||
16 | */ | ||||
17 | | ||||
18 | import QtQuick 2.1 | ||||
19 | import QtQuick.Controls 1.0 as QtControls | ||||
20 | import QtQuick.Layouts 1.0 | ||||
21 | | ||||
22 | ColumnLayout { | ||||
23 | id: timeZonesPage | ||||
24 | | ||||
25 | property alias cfg_customTimeZone: customTimeZoneCheckBox.checked | ||||
26 | | ||||
27 | RowLayout { | ||||
28 | QtControls.Label { | ||||
29 | text: i18n("Use custom time zone selection:") | ||||
30 | } | ||||
31 | | ||||
32 | QtControls.CheckBox { | ||||
33 | id: customTimeZoneCheckBox | ||||
34 | } | ||||
35 | } | ||||
36 | | ||||
37 | QtControls.TableView { | ||||
38 | id: timeZoneView | ||||
39 | Layout.fillHeight: true | ||||
40 | } | ||||
41 | } | ||||
42 | |