| 1 |
import QtQuick 2.0 |
| 2 |
|
| 3 |
Item { |
| 4 |
width: 320 |
| 5 |
height: 480 |
| 6 |
|
| 7 |
Column { |
| 8 |
anchors.centerIn: parent |
| 9 |
|
| 10 |
TextInput { |
| 11 |
font.pixelSize: 16 |
| 12 |
font.family: "Arial" |
| 13 |
echoMode: TextInput.Normal |
| 14 |
text: "Lorem ipsum" |
| 15 |
} |
| 16 |
TextInput { |
| 17 |
font.pixelSize: 16 |
| 18 |
font.family: "Arial" |
| 19 |
echoMode: TextInput.NoEcho |
| 20 |
text: "Lorem ipsum" |
| 21 |
} |
| 22 |
TextInput { |
| 23 |
font.pixelSize: 16 |
| 24 |
font.family: "Arial" |
| 25 |
echoMode: TextInput.Password |
| 26 |
text: "Lorem ipsum" |
| 27 |
} |
| 28 |
TextInput { |
| 29 |
font.pixelSize: 16 |
| 30 |
font.family: "Arial" |
| 31 |
echoMode: TextInput.PasswordEchoOnEdit |
| 32 |
text: "Lorem ipsum" |
| 33 |
} |
| 34 |
TextInput { |
| 35 |
font.pixelSize: 16 |
| 36 |
font.family: "Arial" |
| 37 |
echoMode: TextInput.Password |
| 38 |
passwordCharacter: "o" |
| 39 |
text: "Lorem ipsum" |
| 40 |
} |
| 41 |
} |
| 42 |
} |