summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-04-20 13:13:51 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-05-11 14:51:51 (GMT)
commitc63f97389b2a654de76713f20266f45ffc83062d (patch)
tree29b34fdc607d4a796195e21061be2a53c183b734 /examples
parent00353a9af82ac40c836a39ec5aa47a7284dea214 (diff)
downloadQt-c63f97389b2a654de76713f20266f45ffc83062d.zip
Qt-c63f97389b2a654de76713f20266f45ffc83062d.tar.gz
Qt-c63f97389b2a654de76713f20266f45ffc83062d.tar.bz2
Added a dummy button on top of the webview to show how input events
are delayed.
Diffstat (limited to 'examples')
-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 5b7a67a..7c74bbd 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: