From 499870a9ccf17728c824f76967a556c5b45bbe69 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Mon, 19 Oct 2020 11:47:28 +0300 Subject: startupscreen: remove QtGraphicalEffects QtGraphicalEffects is not supported in Qt 6.0.0, so remove use of DropShadow effect. Change-Id: I6db47603c57d3aab3e1913a0da3b7936d516cc96 Reviewed-by: Rami Potinkara --- startupscreen/MainView.qml | 19 ------------------- startupscreen/SDcardButton.qml | 11 ----------- startupscreen/SplashView.ui.qml | 11 ----------- startupscreen/UsbButton.qml | 11 ----------- startupscreen/WifiButton.qml | 11 ----------- 5 files changed, 63 deletions(-) diff --git a/startupscreen/MainView.qml b/startupscreen/MainView.qml index 6b3d1b0..e4c6522 100644 --- a/startupscreen/MainView.qml +++ b/startupscreen/MainView.qml @@ -50,7 +50,6 @@ import QtQuick 2.12 import StartupScreen 1.0 -import QtGraphicalEffects 1.15 Item { id: root @@ -156,15 +155,6 @@ Item { } } } - DropShadow { - id: panelDropShadow - anchors.fill: panel - horizontalOffset: 8 - verticalOffset: 8 - radius: 8.0 - color: "#80000000" - source: panel - } // Button row UsbButton { @@ -209,15 +199,6 @@ Item { anchors.right: root.right anchors.rightMargin: 20 } - DropShadow { - id: clockDropShadow - anchors.fill: clock - horizontalOffset: 8 - verticalOffset: 8 - radius: 8.0 - color: "#80000000" - source: clock - } // label and IP address Item { diff --git a/startupscreen/SDcardButton.qml b/startupscreen/SDcardButton.qml index 3c11264..586d2c6 100644 --- a/startupscreen/SDcardButton.qml +++ b/startupscreen/SDcardButton.qml @@ -50,7 +50,6 @@ import QtQuick 2.12 import StartupScreen 1.0 -import QtGraphicalEffects 1.12 Item { id: root @@ -64,16 +63,6 @@ Item { radius: 0 } - DropShadow { - id: buttonDropShadow - anchors.fill: buttonBackground - horizontalOffset: 8 - verticalOffset: 8 - radius: 8.0 - color: "#80000000" - source: buttonBackground - } - // changing button state MouseArea { anchors.fill: parent diff --git a/startupscreen/SplashView.ui.qml b/startupscreen/SplashView.ui.qml index 5310422..bf12f6f 100644 --- a/startupscreen/SplashView.ui.qml +++ b/startupscreen/SplashView.ui.qml @@ -50,7 +50,6 @@ import QtQuick 2.12 import StartupScreen 1.0 import QtQuick.Controls 2.15 -import QtGraphicalEffects 1.15 Rectangle { id: root @@ -67,16 +66,6 @@ Rectangle { anchors.centerIn: root } - DropShadow { - id: dropShadow - anchors.fill: builtwithQtImage - horizontalOffset: 8 - verticalOffset: 8 - radius: 8.0 - color: "#80000000" - source: builtwithQtImage - } - ProgressBar { id: progressBar width: parent.width diff --git a/startupscreen/UsbButton.qml b/startupscreen/UsbButton.qml index 0110821..af9482b 100644 --- a/startupscreen/UsbButton.qml +++ b/startupscreen/UsbButton.qml @@ -50,7 +50,6 @@ import QtQuick 2.12 import StartupScreen 1.0 -import QtGraphicalEffects 1.12 Item { id: root @@ -64,16 +63,6 @@ Item { radius: 0 } - DropShadow { - id: buttonDropShadow - anchors.fill: buttonBackground - horizontalOffset: 8 - verticalOffset: 8 - radius: 8.0 - color: "#80000000" - source: buttonBackground - } - // changing button state MouseArea { anchors.fill: parent diff --git a/startupscreen/WifiButton.qml b/startupscreen/WifiButton.qml index 61be53e..1d7f8c0 100644 --- a/startupscreen/WifiButton.qml +++ b/startupscreen/WifiButton.qml @@ -50,7 +50,6 @@ import QtQuick 2.12 import StartupScreen 1.0 -import QtGraphicalEffects 1.12 Item { id: root @@ -64,16 +63,6 @@ Item { radius: 0 } - DropShadow { - id: buttonDropShadow - anchors.fill: buttonBackground - horizontalOffset: 8 - verticalOffset: 8 - radius: 8.0 - color: "#80000000" - source: buttonBackground - } - // changing button state MouseArea { anchors.fill: parent -- cgit v1.2.3