summaryrefslogtreecommitdiffstats
path: root/tests/manual/examples/blurpicker/main.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-06-02 11:40:08 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-06-05 19:13:33 +0200
commita3dde7c93eb7325d07d2985cadc0efca1aa978aa (patch)
treed670f945127857e23fc527091590233c10884d90 /tests/manual/examples/blurpicker/main.cpp
parente0ec19de415a06bf6a0c401175f1c1908dfde68f (diff)
Move widgets blurpicker example to manual test
Change-Id: I7e19b84ac4b6a8e380fc9a7dcc37cc08ced89b4b Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'tests/manual/examples/blurpicker/main.cpp')
-rw-r--r--tests/manual/examples/blurpicker/main.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/manual/examples/blurpicker/main.cpp b/tests/manual/examples/blurpicker/main.cpp
new file mode 100644
index 00000000000..4d5bf158c9d
--- /dev/null
+++ b/tests/manual/examples/blurpicker/main.cpp
@@ -0,0 +1,18 @@
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
+#include "blurpicker.h"
+#include <QApplication>
+
+int main(int argc, char **argv)
+{
+ QApplication app(argc, argv);
+
+ BlurPicker blurPicker;
+ blurPicker.setWindowTitle(QT_TRANSLATE_NOOP(QGraphicsView, "Application Picker"));
+
+ blurPicker.setFixedSize(400, 300);
+ blurPicker.show();
+
+ return app.exec();
+}