summaryrefslogtreecommitdiffstats
path: root/startupscreen
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2020-10-19 11:47:28 +0300
committerSamuli Piippo <samuli.piippo@qt.io>2020-10-20 05:08:44 +0000
commit499870a9ccf17728c824f76967a556c5b45bbe69 (patch)
tree954d7b2ca223dae3f8b20639d383b9b0c8c8a615 /startupscreen
parent1acdb32d00291e5a9b5b4928e0896a162f101bbc (diff)
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 <rami.potinkara@qt.io>
Diffstat (limited to 'startupscreen')
-rw-r--r--startupscreen/MainView.qml19
-rw-r--r--startupscreen/SDcardButton.qml11
-rw-r--r--startupscreen/SplashView.ui.qml11
-rw-r--r--startupscreen/UsbButton.qml11
-rw-r--r--startupscreen/WifiButton.qml11
5 files changed, 0 insertions, 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