Meego Wiki
Views

TextField API Snapshot

From MeeGo wiki
Revision as of 12:26, 28 April 2011 by Pascaldietz (Talk | contribs)
Jump to: navigation, search

Contents

Description

The TextField is a text entry for multiple lines of text. It will turn scrollable if the text is too big for the text field.

API Properties

string text
The text fields text
alias font
The texts font item
bool readOnly
Sets the text read only. The text can not be altered if set to true.
alias defaultText
Sets a defaultText in case the TextField is emtpy

Signals

textChanged
Emitted when the text has changed

Functions

-

Example

TextField {
    id: textField

    text: "Type here."
}
Personal tools