MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML TumblerButton Element

TumblerButton is a Button used with Tumbler More...

Inherits Item

This element was introduced in qt-components 4.7.

Properties

Signals

Detailed Description

The TumblerButton has a fixed width. Longer text will be elided. To avoid that for longer texts please set the implicitWidth explicitly.

  TumblerButton {
     text: "Tumbler Button"
 }

Property Documentation

pressed : bool

(ReadOnly) Is true when the button is pressed


text : string

Property default is ""

The text displayed on button.


Signal Documentation

TumblerButton::clicked ()

Signal for detecting button clicks. If the button is pressed, released, then this signal will be emitted.

The signal handler, onClicked(), can bind to state changes or other actions.