summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-26 12:23:27 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-26 12:23:27 +0800
commit1c430072bde627a910a8c6d53ab0714b2f1cb73c (patch)
tree272e08e8c6a24c12c18ac8939a9ac8e0bbc53eac
parent48fc594c2d6a2064e8a296e10679c739cfda12dd (diff)
Angular on banner
-rw-r--r--HomeDefault.ui.qml25
1 files changed, 25 insertions, 0 deletions
diff --git a/HomeDefault.ui.qml b/HomeDefault.ui.qml
index 5e711a6..34f08c6 100644
--- a/HomeDefault.ui.qml
+++ b/HomeDefault.ui.qml
@@ -1,6 +1,7 @@
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
+import QtGraphicalEffects 1.15
Flickable {
property alias counter: counter
@@ -122,6 +123,30 @@ Flickable {
Layout.fillWidth: true
implicitHeight: image.height
+ DropShadow {
+ source: angularRectangle
+ anchors.fill: angularRectangle
+ color: Qt.rgba(.113, .227, .325, .15)
+ }
+
+ Rectangle {
+ id: angularRectangle
+ radius: 8
+ implicitWidth: angularImage.width + 16
+ implicitHeight: angularImage.height + 16
+ anchors {
+ top: parent.top
+ right: parent.right
+ rightMargin: 24
+ }
+
+ Image {
+ id: angularImage
+ source: "https://eduport.webestica.com/assets/images/client/angular.svg"
+ anchors.centerIn: parent
+ }
+ }
+
Image {
id: image
source: "https://eduport.webestica.com/assets/images/element/07.png"