summaryrefslogtreecommitdiffstats
path: root/tests/manual/highdpi/main.cpp
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@theqtcompany.com>2015-06-02 10:14:16 +0200
committerPaul Olav Tvete <paul.tvete@theqtcompany.com>2015-06-02 10:31:46 +0000
commit837792fb71a60e19c2b720ff7a25c1259354def8 (patch)
tree27fedac2bcd52c3416bffd8c74de7302afad2813 /tests/manual/highdpi/main.cpp
parent1499302bb12cdf81c413a7a9f9ded3036b1a3cfa (diff)
Test drag and drop
The dragwidget shows position of drag move events and drop events, to help debugging. Change-Id: Ie7313b74c6c11f527328cab9b851a868c31c4463 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
Diffstat (limited to 'tests/manual/highdpi/main.cpp')
-rw-r--r--tests/manual/highdpi/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/manual/highdpi/main.cpp b/tests/manual/highdpi/main.cpp
index 0144ef6a80..691338f1e1 100644
--- a/tests/manual/highdpi/main.cpp
+++ b/tests/manual/highdpi/main.cpp
@@ -57,6 +57,8 @@
#include <QDebug>
#include <private/qhighdpiscaling_p.h>
+#include "dragwidget.h"
+
class DemoContainerBase
{
public:
@@ -701,6 +703,7 @@ int main(int argc, char **argv)
demoList << new DemoContainer<IconDrawing>("icondrawing", "Test icon drawing");
demoList << new DemoContainer<Buttons>("buttons", "Test buttons");
demoList << new DemoContainer<LinePainter>("linepainter", "Test line painting");
+ demoList << new DemoContainer<DragWidget>("draganddrop", "Test drag and drop");
foreach (DemoContainerBase *demo, demoList)