Plasma

qml/Button.qml
1 /*
2  SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro <[email protected]>
3  SPDX-FileCopyrightText: 2011 Mark Gaiser <[email protected]>
4  SPDX-FileCopyrightText: 2011 Marco Martin <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8 
17 import QtQuick 2.1
18 import QtQuick.Controls 1.2 as QtControls
19 import QtQuick.Controls.Styles.Plasma 2.0 as Styles
20 
21 import org.kde.plasma.core 2.0 as PlasmaCore
22 
31 QtControls.Button {
32  id: root
40  property font font: PlasmaCore.Theme.defaultFont
41 
42  /*
43  * overrides iconsource for compatibility
44  */
45  property alias iconSource: root.iconName
46 
52  property real minimumWidth: 0
53 
59  property real minimumHeight: 0
60 
61  style: Styles.ButtonStyle {}
62 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat Oct 24 2020 22:46:42 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.