2
* This file is part of system-settings
4
* Copyright (C) 2013 Canonical Ltd.
6
* Contact: William Hua <william.hua@canonical.com>
8
* This program is free software: you can redistribute it and/or modify it
9
* under the terms of the GNU General Public License version 3, as published
10
* by the Free Software Foundation.
12
* This program is distributed in the hope that it will be useful, but
13
* WITHOUT ANY WARRANTY; without even the implied warranties of
14
* MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
15
* PURPOSE. See the GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License along
18
* with this program. If not, see <http://www.gnu.org/licenses/>.
22
import Ubuntu.Components 0.1
23
import Ubuntu.Components.ListItems 0.1 as ListItem
26
property alias name: name.text
27
property alias checked: checkBox.checked
28
property alias shortName: shortName.text
31
anchors.top: parent.top
32
anchors.bottom: parent.bottom
38
anchors.verticalCenter: parent.verticalCenter
42
anchors.top: parent.top
43
anchors.bottom: parent.bottom
51
color: Theme.palette.normal.backgroundText
53
anchors.verticalCenter: parent.verticalCenter
58
color: Theme.palette.normal.background
61
anchors.centerIn: parent
68
anchors.verticalCenter: parent.verticalCenter
73
onClicked: checked = !checked