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


Item checkedButton
bool exclusive

Additional Inherited Members

- Public Member Functions inherited from QtQuick.Row
 forceLayout ()
 positioningComplete ()

Detailed Description

A ButtonRow allows you to group Buttons in a row.

2.0 It provides a selection-behavior as well.

Note: This component does not support the enabled property. If you need to disable it you should disable all the buttons inside it.

Example code:

ButtonRow {
Button { text: "Left" }
Button { text: "Right" }

Definition at line 62 of file ButtonRow.qml.

Property Documentation

Item org::kde::plasma::components::ButtonRow::checkedButton

Returns the last checked button.

Definition at line 74 of file ButtonRow.qml.

bool org::kde::plasma::components::ButtonRow::exclusive

Specifies the grouping behavior.

If enabled, the checked property on buttons contained in the group will be exclusive.The default value is true.

Note that a button in an exclusive group will always be checkable

Definition at line 70 of file ButtonRow.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 Sun Jul 5 2020 22:41:06 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.