2 * Copyright (C) 2013-2015 Canonical, Ltd.
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.
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.
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/>.
20 property real collapsedHeight
22 property real expandedHeight
24 property int collapsedItemCount: -1
26 property int cacheBuffer: 0
28 property int displayMarginBeginning: 0
30 property int displayMarginEnd: 0
32 property real originY: 0
34 property bool growsVertically: true
36 // If growsVertically the width of the item inside the renderer
37 property real innerWidth: 0
39 // The model to renderer
42 /// CardTool component.
43 property var cardTool: null
45 /// ScopeStyle component.
46 property var scopeStyle: null
48 /// Emitted when the user clicked on an item
49 /// @param index is the index of the clicked item
50 /// @param result result model of the clicked item, used for activation
51 /// @param item item that has been clicked
52 /// @param itemModel model of the item
53 signal clicked(int index, var result, var item, var itemModel)
55 /// Emitted when the user pressed and held on an item
56 /// @param index is the index of the held item
57 /// @param result result model of the clicked item, used for activation
58 /// @param itemModel model of the item
59 signal pressAndHold(int index, var result, var itemModel)