Unity 8
 All Classes Functions Properties
DashRenderer.qml
1 /*
2  * Copyright (C) 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 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 General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 import QtQuick 2.0
18 
19 Item {
20  // Can the item be expanded?
21  property bool expandable: false
22 
23  // In case it can be expanded, is it filtered
24  property bool filtered: true
25 
26  property int collapsedHeight: height
27 
28  property int uncollapsedHeight: height
29 
30  property int displayMarginBeginning: 0
31 
32  property int displayMarginEnd: 0
33 
34  property real originY: 0
35 
36  // The model to renderer
37  property var model
38 
42  property var cardTool: undefined
43 
47  signal clicked(int index, var result)
48 
49 
50  signal pressAndHold(int index)
52 
53  function setFilter(filter, animate) {
54  }
55 }