FloatingButton
FloatingButton Class Reference
Properties | |
real | bottomMargin |
real | leftMargin |
real | margins |
real | rightMargin |
real | topMargin |
Detailed Description
This component is a button that can be displayed 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.FloatingButton {
anchors {
right: parent.right
bottom: parent.bottom
}
margins: Kirigami.Units.largeSpacing
action: Kirigami.Action {
text: "Add new item"
icon.name: "list-add"
}
}
}
}
- Since
- Kirigami Addons 0.11
Definition at line 43 of file FloatingButton.qml.
Property Documentation
◆ bottomMargin
|
read |
Definition at line 58 of file FloatingButton.qml.
◆ leftMargin
|
read |
Definition at line 54 of file FloatingButton.qml.
◆ margins
|
read |
Definition at line 50 of file FloatingButton.qml.
◆ rightMargin
|
read |
Definition at line 56 of file FloatingButton.qml.
◆ topMargin
|
read |
Definition at line 52 of file FloatingButton.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 Fri Dec 20 2024 11:49:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:49:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.