Plasma

qml/ToolButton.qml
1 /*
2  SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro <[email protected]>
3  SPDX-FileCopyrightText: 2011 Marco Martin <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7 
8 import QtQuick 2.1
9 import QtQuick.Controls 1.2 as QtControls
10 import QtQuick.Controls.Styles.Plasma 2.0 as Styles
11 
12 import org.kde.plasma.core 2.0 as PlasmaCore
13 
22 QtControls.ToolButton {
23  id: button
24 
32  property font font: PlasmaCore.Theme.defaultFont
33 
34  /*
35  * overrides iconsource for compatibility
36  */
37  property alias iconSource: button.iconName
38 
44  property real minimumWidth: 0
45 
51  property real minimumHeight: 0
52 
53  property bool flat: true
54 
55  style: Styles.ToolButtonStyle {}
56 }
57 
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 26 2021 22:41:30 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.