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

PlasmaComponents

Signals | Properties | List of all members
ToolButton Class Reference
Inheritance diagram for ToolButton:
Inheritance graph
[legend]

Signals

void clicked ()
 

Properties

bool checkable
 
bool checked
 
QtObject defaultAction
 
bool flat
 
font font
 
variant iconSource
 
real minimumHeight
 
real minimumWidth
 
string pressed
 
string text
 

Detailed Description

A plasma theme based toolbutton.

Since
0.1

Definition at line 26 of file ToolButton.qml.

Member Function Documentation

void ToolButton::clicked ( )
signal

Emited when the button is clicked.

Property Documentation

bool ToolButton::checkable

true if the button is checkable.

Definition at line 40 of file ToolButton.qml.

bool ToolButton::checked

true if the button is checked.

Definition at line 36 of file ToolButton.qml.

QtObject ToolButton::defaultAction

Definition at line 68 of file ToolButton.qml.

bool ToolButton::flat

true if the button is flat.

Definition at line 32 of file ToolButton.qml.

font ToolButton::font

The font for the button.

Definition at line 62 of file ToolButton.qml.

variant ToolButton::iconSource

Sets the icon for the button.

It can be any image from any protocol supported by the Image element, or a freedesktop-compatible icon name

Definition at line 57 of file ToolButton.qml.

real ToolButton::minimumHeight

The smallest height this button can be to show all the contents.

Definition at line 79 of file ToolButton.qml.

real ToolButton::minimumWidth

The smallest width this button can be to show all the contents.

Definition at line 75 of file ToolButton.qml.

string ToolButton::pressed

true if the button is currently pressed.

Definition at line 45 of file ToolButton.qml.

string ToolButton::text

The text of the button.

Definition at line 50 of file ToolButton.qml.


The documentation for this class was generated from the following file:
  • ToolButton.qml
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:02:47 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