aboutsummaryrefslogtreecommitdiffstats
path: root/qml/TextField.qml
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2013-10-12 01:08:50 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2013-10-12 01:08:50 +0000
commitc36f2087de4f47f5f6e473a49b78df63e9cd2106 (patch)
treeb348769fa6a5af8a08dbc1b6c7e1902d4684b3c4 /qml/TextField.qml
parentbutton and textfield in qml (diff)
downloadgpg4usb-c36f2087de4f47f5f6e473a49b78df63e9cd2106.tar.gz
gpg4usb-c36f2087de4f47f5f6e473a49b78df63e9cd2106.zip
recieve signals and read properties from qml
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@1054 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'qml/TextField.qml')
-rw-r--r--qml/TextField.qml21
1 files changed, 6 insertions, 15 deletions
diff --git a/qml/TextField.qml b/qml/TextField.qml
index 1d3c12d..d60d14b 100644
--- a/qml/TextField.qml
+++ b/qml/TextField.qml
@@ -6,20 +6,12 @@ Rectangle {
property alias text: textInput.text
- //width: 100
- //height: 62
-
- //Rectangle {
- // id: rectangle4
- width: 114
- height: 28
- color: "#ffffff"
- radius: 3
- border.width: 1
- border.color: "#999999"
- //}
-
-
+ width: 114
+ height: 28
+ color: "#ffffff"
+ radius: 3
+ border.width: 1
+ border.color: "#999999"
TextInput {
id: textInput
@@ -30,7 +22,6 @@ Rectangle {
selectionColor: "#008000"
font.pixelSize: 12
anchors.centerIn:parent
- //onActiveFocusChanged: rectangle4.border.color = "#0000ff";
onActiveFocusChanged: {
if (textInput.activeFocus)
parent.border.color = "#0000ff";