equal
deleted
inserted
replaced
107 Keys.forwardTo: [ (returnKey), (editor)] |
107 Keys.forwardTo: [ (returnKey), (editor)] |
108 |
108 |
109 Item { |
109 Item { |
110 id: returnKey |
110 id: returnKey |
111 Keys.onReturnPressed: container.accept() |
111 Keys.onReturnPressed: container.accept() |
|
112 Keys.onEnterPressed: container.accept() |
112 Keys.onEscapePressed: titleBar.state = "" |
113 Keys.onEscapePressed: titleBar.state = "" |
113 } |
114 } |
114 } |
115 } |
115 } |
116 } |
116 |
117 |
117 states: State { |
118 states: State { |
118 name: "Tags" |
119 name: "Tags" |
119 PropertyChanges { target: container; x: -tagButton.x + 5 } |
120 PropertyChanges { target: container; x: -tagButton.x + 5 } |
120 PropertyChanges { target: tagButton; text: "OK" } |
121 PropertyChanges { target: tagButton; text: "OK" } |
121 PropertyChanges { target: lineEdit; focus: true } |
122 PropertyChanges { target: editor; focus: true } |
122 } |
123 } |
123 |
124 |
124 transitions: Transition { |
125 transitions: Transition { |
125 NumberAnimation { properties: "x"; easing.type: Easing.InOutQuad } |
126 NumberAnimation { properties: "x"; easing.type: Easing.InOutQuad } |
126 } |
127 } |