Debian Codegraph @

src/imports/Components/1.2/AnimatedItem.qml

raw
1 /*
2 * Copyright 2012 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
17 /*!
18 \qmltype AnimatedItem
19 \inqmlmodule Lomiri.Components
20 \ingroup lomiri
21 \brief The AnimatedItem drives the animated components behavior inside a Flickable.
22 Reports whether the component whos parent is a Flickable is in the visible area or not,
23 so derived components can pause animations while off-screen.
24
25 */
26
27 import QtQuick 2.4
28 import Lomiri.Components 1.2
29
30 StyledItem {
31 id: root
32 /*!
33 \deprecated
34 Specifies whether the component is on the visible area of the Flickable or not.
35 */
36 property bool onScreen: true
37 }