DoubleFloatingButton
DoubleFloatingButton Class Reference
Properties | |
real | bottomMargin |
KirigamiAction | leadingAction |
real | leftMargin |
real | margins |
real | rightMargin |
real | topMargin |
KirigamiAction | trailingAction |
Detailed Description
This component allows to display two buttons at the bottom of a page.
import QtQuick 2.15
import QtQuick.Controls 2.15 as QQC2
import org.kde.kirigami 2.20 as Kirigami
import org.kde.kirigamiaddons.components 1.0 as KirigamiComponents
Kirigami.ScrollablePage {
ListView {
model: []
delegate: QQC2.ItemDelegate {}
KirigamiComponents.DoubleFloatingButton {
anchors {
right: parent.right
bottom: parent.bottom
margins: Kirigami.Units.largeSpacing
}
leadingAction: Kirigami.Action {
text: "Zoom Out"
icon.name: "list-remove"
}
trailingAction: Kirigami.Action {
text: "Zoom In"
icon.name: "list-add"
}
}
}
}
KirigamiAction trailingAction
This property holds the trailing action.
Definition DoubleFloatingButton.qml:56
- Since
- Kirigami Addons 0.11
Definition at line 47 of file DoubleFloatingButton.qml.
Property Documentation
◆ bottomMargin
|
read |
Definition at line 70 of file DoubleFloatingButton.qml.
◆ leadingAction
|
read |
This property holds the leading action.
Definition at line 52 of file DoubleFloatingButton.qml.
◆ leftMargin
|
read |
Definition at line 66 of file DoubleFloatingButton.qml.
◆ margins
|
read |
Definition at line 62 of file DoubleFloatingButton.qml.
◆ rightMargin
|
read |
Definition at line 68 of file DoubleFloatingButton.qml.
◆ topMargin
|
read |
Definition at line 64 of file DoubleFloatingButton.qml.
◆ trailingAction
|
read |
This property holds the trailing action.
Definition at line 56 of file DoubleFloatingButton.qml.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.