summaryrefslogtreecommitdiffstats
path: root/demos/declarative/webbrowser
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-06-10 02:16:04 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-06-10 02:16:04 (GMT)
commitfa9c32829025121ab203565dd86a1c55028f40aa (patch)
tree2ca7441d9ed32c4c2eb228e1d30e8b377fa4ae1f /demos/declarative/webbrowser
parent9fc91de560b1302ff6cf238b3d179fc778066fcf (diff)
parent28b14cbb2003671f6f76b15d069572ef42194e62 (diff)
downloadQt-fa9c32829025121ab203565dd86a1c55028f40aa.zip
Qt-fa9c32829025121ab203565dd86a1c55028f40aa.tar.gz
Qt-fa9c32829025121ab203565dd86a1c55028f40aa.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (39 commits) Remove 'XXX Experimental' from VisualItemModel/VisualDataModel and Document attached properties Add 'on' prefix to documentation of signals Stablize qmlviewer test Improve test stability. qmlviewer: ensure that only clicks on the current file list are handled. Doc improvements: move some example code to snippets, add screenshots, Move some example code into snippets/ and add other doc fixes Fix crash when changing ListView model with highlightRangeMode: ListView.StrictlyEnforceRange Fix GridView bounds behavior with snapping enabled. Small optimization when checking if MouseArea's onPressAndHold is Fix autotest. Fixed `nmake clean' breaking declarative imports on Windows. Fix drawing flicker on Qml Viewer startup Fix snake demo Add qmlmethod Item::childAt() to delarative item Cursor positioning in QTextDocument after undo() Fix slow network access in qmlviewer (Windows) Don't layout multiple times when an ancestor becomes (in)visible. Add an example of animated item add/remove in ListView ...
Diffstat (limited to 'demos/declarative/webbrowser')
-rw-r--r--demos/declarative/webbrowser/content/UrlInput.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/declarative/webbrowser/content/UrlInput.qml b/demos/declarative/webbrowser/content/UrlInput.qml
index 9ea1904..b57fae6 100644
--- a/demos/declarative/webbrowser/content/UrlInput.qml
+++ b/demos/declarative/webbrowser/content/UrlInput.qml
@@ -73,6 +73,10 @@ Item {
urlText.text = webView.url
webView.focus = true
}
+ Keys.onEnterPressed: {
+ container.urlEntered(urlText.text)
+ webView.focus = true
+ }
Keys.onReturnPressed: {
container.urlEntered(urlText.text)
webView.focus = true