diff options
author | Rafael Brandao <rafael.lobo@openbossa.org> | 2011-07-18 13:12:43 -0300 |
---|---|---|
committer | Rafael Brandao <rafael.lobo@openbossa.org> | 2011-07-18 14:22:32 -0300 |
commit | 82945ae8bfefed41592004063acc8188e8707e50 (patch) | |
tree | 325a8b8aea0afad902ee3c7f5124da5bce287b68 /snowshoe.pro | |
parent | 98c637584507380b84afa1a9142671633793b947 (diff) | |
download | snowshoe-82945ae8bfefed41592004063acc8188e8707e50.tar.gz |
Added support to triple click event for UrlBar.
TripleClickMonitor was added to act as an event filter on top of
QML's TextInput, as it currently doesn't have support for triple
clicks. The user expects that such event selects the entire text.
Once this filter detects a double click, if a new click event happens
immediately next, it will trigger the triple click.
Reviewed-by: Alexis Menard
Diffstat (limited to 'snowshoe.pro')
-rw-r--r-- | snowshoe.pro | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/snowshoe.pro b/snowshoe.pro index ad6de8a..2b7ccf8 100644 --- a/snowshoe.pro +++ b/snowshoe.pro @@ -7,12 +7,14 @@ SOURCES += \ main.cpp \ BrowserWindow.cpp \ MainView.cpp \ - DeclarativeDesktopWebView.cpp + DeclarativeDesktopWebView.cpp \ + TripleClickMonitor.cpp HEADERS += \ BrowserWindow.h \ MainView.h \ - DeclarativeDesktopWebView.h + DeclarativeDesktopWebView.h \ + TripleClickMonitor.h RESOURCES += \ snowshoe.qrc |