From c36f2087de4f47f5f6e473a49b78df63e9cd2106 Mon Sep 17 00:00:00 2001 From: ubbo Date: Sat, 12 Oct 2013 01:08:50 +0000 Subject: recieve signals and read properties from qml git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@1054 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- qml/TextField.qml | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'qml/TextField.qml') 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"; -- cgit v1.2.3