From fe48c1884cd8e1c4194c3242b482a7b9eb509520 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Mon, 1 Jul 2019 15:55:56 +0200 Subject: Bump version Change-Id: Ie7362d007191f04d9a5af51bd1d1f9cb16fb425f --- .qmake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.qmake.conf b/.qmake.conf index f8cda0e..1ed62c5 100644 --- a/.qmake.conf +++ b/.qmake.conf @@ -1,3 +1,3 @@ load(qt_build_config) -MODULE_VERSION = 5.13.0 +MODULE_VERSION = 5.13.1 -- cgit v1.2.1 From c8ba132f6ca78f63440f21e9a18f9e90f62377f1 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Mon, 1 Jul 2019 16:02:17 +0200 Subject: Bump version Change-Id: Ie82e64a2304ab61eb5c712b2397f172932bdc2a2 --- .qmake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.qmake.conf b/.qmake.conf index f1a6177..b5454e5 100644 --- a/.qmake.conf +++ b/.qmake.conf @@ -1,3 +1,3 @@ load(qt_build_config) -MODULE_VERSION = 5.12.4 +MODULE_VERSION = 5.12.5 -- cgit v1.2.1 From f9664053132affe48a069235eb6561a32d38b2a7 Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Fri, 28 Jun 2019 08:54:24 +0200 Subject: Account for the device pixel ratio when showing a DropShadow The radius and samples needs to be multiplied by the device pixel ratio so that it looks as it would if it was on a non HighDpi screen. So the size of the shadow still looks the same size and as good. Change-Id: Ifa87ec6fad5cdded1a7b1888b2e8c74bcc3f0b54 Reviewed-by: Shawn Rutledge --- src/effects/private/DropShadowBase.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/effects/private/DropShadowBase.qml b/src/effects/private/DropShadowBase.qml index 7e80e47..e9927ea 100644 --- a/src/effects/private/DropShadowBase.qml +++ b/src/effects/private/DropShadowBase.qml @@ -38,6 +38,7 @@ ****************************************************************************/ import QtQuick 2.12 +import QtQuick.Window 2.12 import QtGraphicalEffects.private 1.12 import QtGraphicalEffects 1.12 @@ -61,8 +62,8 @@ Item { x: Math.round(horizontalOffset) y: Math.round(verticalOffset) source: root.source - radius: root.radius - samples: root.samples + radius: root.radius * Screen.devicePixelRatio + samples: root.samples * Screen.devicePixelRatio _thickness: root.spread transparentBorder: root.transparentBorder -- cgit v1.2.1 From 48f4de2d3bda3b0b0486b5c639cf196ee2fc26b7 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Wed, 3 Jul 2019 11:44:53 +0200 Subject: Doc: Replace example file lists with links to code.qt.io Task-number: QTBUG-74391 Change-Id: Id8ebd8b70759da5e7187cfdc71191435462328ca Reviewed-by: Paul Wicking --- src/effects/doc/qtgraphicaleffects.qdocconf | 1 + 1 file changed, 1 insertion(+) diff --git a/src/effects/doc/qtgraphicaleffects.qdocconf b/src/effects/doc/qtgraphicaleffects.qdocconf index 837929e..27d8917 100644 --- a/src/effects/doc/qtgraphicaleffects.qdocconf +++ b/src/effects/doc/qtgraphicaleffects.qdocconf @@ -1,4 +1,5 @@ include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf) +include($QT_INSTALL_DOCS/config/exampleurl-qtgraphicaleffects.qdocconf) project = QtGraphicalEffects description = Qt Graphical Effects Reference Documentation -- cgit v1.2.1 From 2363a716884863edaa1e33935742e616d3af1e27 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Wed, 10 Jul 2019 20:56:14 +0200 Subject: Eradicate the last Q_FOREACH and mark the module clean MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ... of Q_FOREACH, Java-style iterators, and QLinkedList use. Change-Id: Ied30922433d2c3afc599f4e59a4082324b8b2957 Reviewed-by: MÃ¥rten Nordheim --- .qmake.conf | 2 ++ tests/auto/tst_qtgraphicaleffects.cpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.qmake.conf b/.qmake.conf index db2e0b6..f6895bb 100644 --- a/.qmake.conf +++ b/.qmake.conf @@ -1,3 +1,5 @@ load(qt_build_config) +DEFINES += QT_NO_FOREACH QT_NO_JAVA_STYLE_ITERATORS QT_NO_LINKED_LIST + MODULE_VERSION = 5.14.0 diff --git a/tests/auto/tst_qtgraphicaleffects.cpp b/tests/auto/tst_qtgraphicaleffects.cpp index 7f26b01..1d7a633 100644 --- a/tests/auto/tst_qtgraphicaleffects.cpp +++ b/tests/auto/tst_qtgraphicaleffects.cpp @@ -78,9 +78,9 @@ QString tst_qtgraphicaleffects::componentErrors(const QQmlComponent* component) QStringList out; - foreach (QQmlError const& error, component->errors()) { + const auto errors = component->errors(); + for (const QQmlError &error : errors) out << error.toString(); - } return out.join("\n"); } -- cgit v1.2.1