summaryrefslogtreecommitdiff
path: root/snowshoe.pro
diff options
context:
space:
mode:
authorRafael Brandao <rafael.lobo@openbossa.org>2011-07-18 13:12:43 -0300
committerRafael Brandao <rafael.lobo@openbossa.org>2011-07-18 14:22:32 -0300
commit82945ae8bfefed41592004063acc8188e8707e50 (patch)
tree325a8b8aea0afad902ee3c7f5124da5bce287b68 /snowshoe.pro
parent98c637584507380b84afa1a9142671633793b947 (diff)
downloadsnowshoe-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.pro6
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