summaryrefslogtreecommitdiffstats
path: root/examples/gestures
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-04-20 15:13:51 +0200
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-05-11 16:51:51 +0200
commitc63f97389b2a654de76713f20266f45ffc83062d (patch)
tree29b34fdc607d4a796195e21061be2a53c183b734 /examples/gestures
parent00353a9af82ac40c836a39ec5aa47a7284dea214 (diff)
Added a dummy button on top of the webview to show how input events
are delayed.
Diffstat (limited to 'examples/gestures')
-rw-r--r--examples/gestures/pannablewebview/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/gestures/pannablewebview/main.cpp b/examples/gestures/pannablewebview/main.cpp
index 5b7a67a9ed..7c74bbd070 100644
--- a/examples/gestures/pannablewebview/main.cpp
+++ b/examples/gestures/pannablewebview/main.cpp
@@ -7,6 +7,11 @@ public:
PannableWebView(QWidget *parent = 0)
: QWebView(parent)
{
+#if 0
+ QPushButton *btn = new QPushButton("Some test button", this);
+ btn->resize(300, 200);
+ btn->move(40, 300);
+#endif
grabGesture(Qt::PanGesture);
}
protected: