• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kde-runtime API Reference
  • KDE Home
  • Contact Us
 

PlasmaComponents

Signals | Public Member Functions | Properties | List of all members
DualStateButton Class Reference
Inheritance diagram for DualStateButton:
Inheritance graph
[legend]

Signals

void clicked ()
 

Public Member Functions

void released ()
 

Properties

bool checked
 
bool pressed
 
alias shadow
 
alias text
 
alias view
 

Detailed Description

Private base component for several public components.

Any element documented here can be used in components inheriting from DualStateButton.

Definition at line 25 of file DualStateButton.qml.

Member Function Documentation

void DualStateButton::clicked ( )
signal

Emitted when the user clicked a mouse button over the button (or tapped on the touch screen)

void DualStateButton::released ( )

Property Documentation

bool DualStateButton::checked

If the button is checked, its checked property is true; otherwise false.

The property is false by default.

Definition at line 31 of file DualStateButton.qml.

bool DualStateButton::pressed

If the button is pressed, its pressed property is true.

See also
clicked

Definition at line 37 of file DualStateButton.qml.

alias DualStateButton::shadow

Definition at line 51 of file DualStateButton.qml.

alias DualStateButton::text

The text is shown beside the button.

By default text is an empty string.

Definition at line 47 of file DualStateButton.qml.

alias DualStateButton::view

Definition at line 49 of file DualStateButton.qml.


The documentation for this class was generated from the following file:
  • DualStateButton.qml
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:08:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

PlasmaComponents

Skip menu "PlasmaComponents"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List

kde-runtime API Reference

Skip menu "kde-runtime API Reference"
  • KCMShell
  • KNotify
  • Plasma Runtime
  •     PlasmaCore
  •     DragAndDrop
  •     PlasmaComponents
  •     PlasmaExtraComponents
  •     QtExtraComponents

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal