Debian Codegraph @

src/imports/Components/Styles/2.0/ActionItemProperties.qml

raw
1 /*
2 * Copyright 2016 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 import QtQuick 2.4
17
18 /*!
19 \qmltype ButtonProperties
20 \inqmlmodule Lomiri.Components.Styles 1.3
21 \ingroup style-api
22 \brief Color properties for buttons.
23
24 Defines the colors of buttons.
25 */
26 QtObject {
27 /*!
28 The foreground color of an unpressed enabled button.
29 */
30 property color foregroundColor
31
32 /*!
33 The foreground color of a disabled button.
34 */
35 property color disabledForegroundColor
36
37 /*!
38 The foreground color of a button when being pressed.
39 */
40 property color pressedForegroundColor
41
42 /*!
43 The background color of an unpressed enabled button.
44 */
45 property color backgroundColor
46
47 /*!
48 The background color of a disabled button.
49 */
50 property color disabledBackgroundColor
51
52 /*!
53 The background color of a button when being pressed.
54 */
55 property color pressedBackgroundColor
56 }