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, should we filter it
24  property bool filter: true
25 
26  property int collapsedHeight: height
27 
28  property int margins: 0
29 
30  property int uncollapsedHeight: height
31 
32  property var delegateCreationBegin: undefined
33 
34  property var delegateCreationEnd: undefined
35 
36  property real originY: 0
37 
38  property real verticalSpacing: 0
39 
40  // The current item of the renderer
41  property var currentItem
42 
43  // The model to renderer
44  property var model
45 
49  property var cardTool: undefined
50 
54  signal clicked(int index, real itemY)
55 
56 
57  signal pressAndHold(int index, real itemY)
60 
61  function startFilterAnimation(filter) {
62  }
63 }