on ebf4a8a help sign in
unity8/Panel/IndicatorsDataModel.qml
65 lines 2.0 kB history raw
1/*
2 * Copyright 2013 Canonical Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; version 3.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * Authors:
17 * Renato Araujo Oliveira Filho <renato@canonical.com>
18 */
20import QtQuick 2.0
21import Unity.Indicators 0.1 as Indicators
22import Utils 0.1
24Indicators.IndicatorsModel {
25 id: ic_model
27 Component.onCompleted: load()
29 indicatorData : {
30 'indicator-location' : {
31 'title': 'Location',
32 'description' : ''
33 },
34 'indicator-bluetooth' : {
35 'title': 'Bluetooth',
36 'description' : ''
37 },
38 'indicator-messages' : {
39 'title': 'Messaging',
40 'description' : ''
41 },
42 'indicator-sound' : {
43 'title': 'Sound',
44 'description' : ''
45 },
46 'indicator-network' : {
47 'title': 'Networks',
48 'description' : '',
49 'widgetSource' : ApplicationPaths.shellAppDirectory()+'/Panel/Indicators/DefaultIndicatorWidget.qml',
50 'pageSource' : ApplicationPaths.shellAppDirectory()+'/Panel/Indicators/NetworkIndicatorPage.qml'
51 },
52 'indicator-power' : {
53 'title': 'Battery',
54 'description' : ''
55 },
56 'indicator-session' : {
57 'title': 'Session',
58 'description' : ''
59 },
60 'indicator-datetime' : {
61 'title': 'Date and Time',
62 'description' : ''
63 }
64 }