summaryrefslogtreecommitdiffstats
path: root/tests/manual/qtabletevent/main.cpp
diff options
context:
space:
mode:
authorBenjamin Poulain <benjamin.poulain@nokia.com>2009-08-10 17:23:04 (GMT)
committerBenjamin Poulain <benjamin.poulain@nokia.com>2009-08-10 17:25:19 (GMT)
commit4096911423fcd52c59d83f153b3a83ae99312a70 (patch)
tree226c499a2eeefe61195b6274bba5899b5cf0bf93 /tests/manual/qtabletevent/main.cpp
parentf9605d3f396043e5b893470acaeb4c726361e9dc (diff)
downloadQt-4096911423fcd52c59d83f153b3a83ae99312a70.zip
Qt-4096911423fcd52c59d83f153b3a83ae99312a70.tar.gz
Qt-4096911423fcd52c59d83f153b3a83ae99312a70.tar.bz2
Add a Widget for manual testing of the tablet API
The QTabletWidget shows the informations provided by the last QTabletEvent.
Diffstat (limited to 'tests/manual/qtabletevent/main.cpp')
-rw-r--r--tests/manual/qtabletevent/main.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/manual/qtabletevent/main.cpp b/tests/manual/qtabletevent/main.cpp
new file mode 100644
index 0000000..4014d58
--- /dev/null
+++ b/tests/manual/qtabletevent/main.cpp
@@ -0,0 +1,9 @@
+#include <QtGui>
+#include "tabletwidget.h"
+
+int main(int argc, char **argv) {
+ QApplication app(argc, argv);
+ TabletWidget tabletWidget;
+ tabletWidget.showMaximized();
+ return app.exec();
+}