PieButton

Search for usage in LXR

Inheritance diagram for PieButton:

Properties

list< Actionactions
 
alias display
 
alias icon
 
alias text
 

Public Member Functions

void close ()
 
void open ()
 

Detailed Description

A group of actions positioned in a plegable ribbon that fold/unfolds from a big floating colored button.

This control inherits from QQC2 Control, to checkout its inherited properties refer to the Qt Docs.

Maui.PieButton
{
Maui.Theme.inherit: false
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.margins: Maui.Style.space.big
icon.name: "list-add"
{
icon.name: "love"
}
{
icon.name: "folder"
}
{
icon.name: "anchor"
}
}
alias icon
The icon group property alias to set the icon name, color, and size.
Definition PieButton.qml:74

You can find a more complete example at this link.

Definition at line 62 of file PieButton.qml.

Property Documentation

◆ actions

list<Action> PieButton::actions
read

The action children of this control.

Remarks
This is the default property

Definition at line 68 of file PieButton.qml.

◆ display

enum PieButton::display
read

How to display the text and the icon of the main floating button.

By default this is set to ToolButton.IconOnly

Definition at line 85 of file PieButton.qml.

◆ icon

icon PieButton::icon
read

The icon group property alias to set the icon name, color, and size.

Note
See Qt documentation on the icon group.

Definition at line 74 of file PieButton.qml.

◆ text

string PieButton::text
read

The text to be use in the main floating button.

Definition at line 79 of file PieButton.qml.

Member Function Documentation

◆ close()

void PieButton::close ( )

Forces to close the ribbon containing the action buttons.

◆ open()

void PieButton::open ( )

Forces to open the ribbon containing the action buttons.


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 May 17 2024 11:56:16 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.