summaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/highdpi/kitchensink/CMakeLists.txt (renamed from tests/manual/highdpi/CMakeLists.txt)14
-rw-r--r--tests/manual/highdpi/kitchensink/dragwidget.cpp (renamed from tests/manual/highdpi/dragwidget.cpp)0
-rw-r--r--tests/manual/highdpi/kitchensink/dragwidget.h (renamed from tests/manual/highdpi/dragwidget.h)0
-rw-r--r--tests/manual/highdpi/kitchensink/kitchensink.pro (renamed from tests/manual/highdpi/highdpi.pro)4
-rw-r--r--tests/manual/highdpi/kitchensink/kitchensink.qrc (renamed from tests/manual/highdpi/highdpi.qrc)0
-rw-r--r--tests/manual/highdpi/kitchensink/main.cpp (renamed from tests/manual/highdpi/main.cpp)2
-rw-r--r--tests/manual/highdpi/kitchensink/qticon16.png (renamed from tests/manual/highdpi/qticon16.png)bin1884 -> 1884 bytes
-rw-r--r--tests/manual/highdpi/kitchensink/qticon16@2x.png (renamed from tests/manual/highdpi/qticon16@2x.png)bin3187 -> 3187 bytes
-rw-r--r--tests/manual/highdpi/kitchensink/qticon16@3x.png (renamed from tests/manual/highdpi/qticon16@3x.png)bin5307 -> 5307 bytes
-rw-r--r--tests/manual/highdpi/kitchensink/qticon32.png (renamed from tests/manual/highdpi/qticon32.png)bin3187 -> 3187 bytes
-rw-r--r--tests/manual/highdpi/kitchensink/qticon32@2x.png (renamed from tests/manual/highdpi/qticon32@2x.png)bin6474 -> 6474 bytes
-rw-r--r--tests/manual/highdpi/kitchensink/qticon64.png (renamed from tests/manual/highdpi/qticon64.png)bin6474 -> 6474 bytes
12 files changed, 10 insertions, 10 deletions
diff --git a/tests/manual/highdpi/CMakeLists.txt b/tests/manual/highdpi/kitchensink/CMakeLists.txt
index b163599185..b8dfa9be37 100644
--- a/tests/manual/highdpi/CMakeLists.txt
+++ b/tests/manual/highdpi/kitchensink/CMakeLists.txt
@@ -1,10 +1,10 @@
-# Generated from highdpi.pro.
+# Generated from kitchensink.pro.
#####################################################################
-## highdpi Binary:
+## kitchensink Binary:
#####################################################################
-qt_internal_add_manual_test(highdpi
+qt_internal_add_manual_test(kitchensink
SOURCES
dragwidget.cpp dragwidget.h
main.cpp
@@ -19,7 +19,7 @@ qt_internal_add_manual_test(highdpi
)
# Resources:
-set(highdpi_resource_files
+set(kitchensink_resource_files
"qticon16.png"
"qticon16@2x.png"
"qticon16@3x.png"
@@ -28,13 +28,13 @@ set(highdpi_resource_files
"qticon64.png"
)
-qt_internal_add_resource(highdpi "highdpi"
+qt_internal_add_resource(kitchensink "kitchensink"
PREFIX
"/"
FILES
- ${highdpi_resource_files}
+ ${kitchensink_resource_files}
)
-#### Keys ignored in scope 1:.:.:highdpi.pro:<TRUE>:
+#### Keys ignored in scope 1:.:.:kitchensink.pro:<TRUE>:
# TEMPLATE = "app"
diff --git a/tests/manual/highdpi/dragwidget.cpp b/tests/manual/highdpi/kitchensink/dragwidget.cpp
index bd65fcf81b..bd65fcf81b 100644
--- a/tests/manual/highdpi/dragwidget.cpp
+++ b/tests/manual/highdpi/kitchensink/dragwidget.cpp
diff --git a/tests/manual/highdpi/dragwidget.h b/tests/manual/highdpi/kitchensink/dragwidget.h
index 06663fc74a..06663fc74a 100644
--- a/tests/manual/highdpi/dragwidget.h
+++ b/tests/manual/highdpi/kitchensink/dragwidget.h
diff --git a/tests/manual/highdpi/highdpi.pro b/tests/manual/highdpi/kitchensink/kitchensink.pro
index 2de8ed3bb5..29a40b1ffc 100644
--- a/tests/manual/highdpi/highdpi.pro
+++ b/tests/manual/highdpi/kitchensink/kitchensink.pro
@@ -1,5 +1,5 @@
TEMPLATE = app
-TARGET = highdpi
+TARGET = kitchensink
INCLUDEPATH += .
QT += widgets gui-private
CONFIG += cmdline
@@ -13,6 +13,6 @@ HEADERS += \
dragwidget.h
RESOURCES += \
- highdpi.qrc
+ kitchensink.qrc
DEFINES += HAVE_SCREEN_BASE_DPI
diff --git a/tests/manual/highdpi/highdpi.qrc b/tests/manual/highdpi/kitchensink/kitchensink.qrc
index 0e33ed33d7..0e33ed33d7 100644
--- a/tests/manual/highdpi/highdpi.qrc
+++ b/tests/manual/highdpi/kitchensink/kitchensink.qrc
diff --git a/tests/manual/highdpi/main.cpp b/tests/manual/highdpi/kitchensink/main.cpp
index 18c29bd9af..bdb4c3d571 100644
--- a/tests/manual/highdpi/main.cpp
+++ b/tests/manual/highdpi/kitchensink/main.cpp
@@ -949,7 +949,7 @@ public:
{
if (!moving)
return;
- QPoint pos = useCursorPos ? QCursor::pos() : e->globalPos();
+ QPoint pos = useCursorPos ? QCursor::pos() : e->globalPosition().toPoint();
pos -= moveLabel->rect().center();
moveLabel->move(pos);
mousePos = e->pos();
diff --git a/tests/manual/highdpi/qticon16.png b/tests/manual/highdpi/kitchensink/qticon16.png
index b6b01a4d64..b6b01a4d64 100644
--- a/tests/manual/highdpi/qticon16.png
+++ b/tests/manual/highdpi/kitchensink/qticon16.png
Binary files differ
diff --git a/tests/manual/highdpi/qticon16@2x.png b/tests/manual/highdpi/kitchensink/qticon16@2x.png
index 205461daf0..205461daf0 100644
--- a/tests/manual/highdpi/qticon16@2x.png
+++ b/tests/manual/highdpi/kitchensink/qticon16@2x.png
Binary files differ
diff --git a/tests/manual/highdpi/qticon16@3x.png b/tests/manual/highdpi/kitchensink/qticon16@3x.png
index de92658241..de92658241 100644
--- a/tests/manual/highdpi/qticon16@3x.png
+++ b/tests/manual/highdpi/kitchensink/qticon16@3x.png
Binary files differ
diff --git a/tests/manual/highdpi/qticon32.png b/tests/manual/highdpi/kitchensink/qticon32.png
index 205461daf0..205461daf0 100644
--- a/tests/manual/highdpi/qticon32.png
+++ b/tests/manual/highdpi/kitchensink/qticon32.png
Binary files differ
diff --git a/tests/manual/highdpi/qticon32@2x.png b/tests/manual/highdpi/kitchensink/qticon32@2x.png
index 76f02c6c96..76f02c6c96 100644
--- a/tests/manual/highdpi/qticon32@2x.png
+++ b/tests/manual/highdpi/kitchensink/qticon32@2x.png
Binary files differ
diff --git a/tests/manual/highdpi/qticon64.png b/tests/manual/highdpi/kitchensink/qticon64.png
index 76f02c6c96..76f02c6c96 100644
--- a/tests/manual/highdpi/qticon64.png
+++ b/tests/manual/highdpi/kitchensink/qticon64.png
Binary files differ