FloatingButton

Search for usage in LXR

FloatingButton Class Reference

Inherits QtQuick::Templates::RoundButton.

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

real FloatingButton::bottomMargin
read

Definition at line 58 of file FloatingButton.qml.

◆ leftMargin

real FloatingButton::leftMargin
read

Definition at line 54 of file FloatingButton.qml.

◆ margins

real FloatingButton::margins
read

Definition at line 50 of file FloatingButton.qml.

◆ rightMargin

real FloatingButton::rightMargin
read

Definition at line 56 of file FloatingButton.qml.

◆ topMargin

real FloatingButton::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 Sat Apr 27 2024 22:09:57 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.