2 * Copyright (C) 2013 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 displayMarginBeginning: 0
28 property int displayMarginEnd: 0
30 property int visibleRangeBegin: 0
32 property int visibleRangeEnd: 0
34 property real originY: 0
36 // The model to renderer
39 /// CardTool component.
40 property var cardTool: null
42 /// ScopeStyle component.
43 property var scopeStyle: null
45 /// Emitted when the user clicked on an item
46 /// @param index is the index of the clicked item
47 /// @param result result model of the clicked item, used for activation
48 /// @param item item that has been clicked
49 /// @param itemModel model of the item
50 signal clicked(int index, var result, var item, var itemModel)
52 /// Emitted when the user pressed and held on an item
53 /// @param index is the index of the held item
54 /// @param result result model of the clicked item, used for activation
55 /// @param itemModel model of the item
56 signal pressAndHold(int index, var result, var itemModel)