Meego Wiki
Views

TextField API Snapshot

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(created TextField API Snapshot page)
(removed private properties)
Line 11: Line 11:
;''alias'' defaultText  
;''alias'' defaultText  
:Sets a defaultText in case the TextField is emtpy
:Sets a defaultText in case the TextField is emtpy
-
 
-
=Private Properties=
 
-
-
 
   
   
=Signals=
=Signals=

Revision as of 12:26, 28 April 2011

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