org::kde::plasma::components::Button

org::kde::plasma::components::Button Class Reference
Inheritance diagram for org::kde::plasma::components::Button:

Properties

font font
 
alias iconSource
 
real minimumHeight
 
real minimumWidth
 

Detailed Description

A button with optional label and icon which uses the plasma theme.

Since
2.0

This button component can also be used as a checkable button by using the checkable and checked properties for that. Plasma theme is the theme which changes via the systemsetting-workspace appearance -desktop theme. The push button is perhaps the most commonly used widget in any graphical user interface. Pushing (or clicking) a button commands the computer to perform some action or answer a question. Common examples of buttons are OK, Apply, Cancel, Close, Yes, No, and Help buttons.

Since
3.0

Definition at line 30 of file qml/Button.qml.

Property Documentation

font org::kde::plasma::components::Button::font

This property holds the font used by the button label.

See also Qt documentation for font type.

Definition at line 39 of file qml/Button.qml.

real org::kde::plasma::components::Button::minimumHeight

Smallest height this button can be to show all the contents Compatibility with old Button control.

The plasma style will update this property

Definition at line 55 of file qml/Button.qml.

real org::kde::plasma::components::Button::minimumWidth

Smallest width this button can be to show all the contents.

Compatibility with old Button control. The plasma style will update this property

Definition at line 49 of file qml/Button.qml.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Sep 21 2020 22:41:39 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.