2024-10-15 19:26:12 +00:00
|
|
|
import QtQuick 2.15
|
|
|
|
import QtGraphicalEffects 1.15
|
2021-09-28 15:04:06 +00:00
|
|
|
|
2021-10-28 13:37:26 +00:00
|
|
|
import StatusQ.Platform 0.1
|
2024-10-15 19:26:12 +00:00
|
|
|
import StatusQ.Core.Theme 0.1
|
2021-10-28 13:37:26 +00:00
|
|
|
|
2021-09-28 15:04:06 +00:00
|
|
|
import utils 1.0
|
2020-11-17 19:02:56 +00:00
|
|
|
|
|
|
|
Item {
|
|
|
|
property string name
|
|
|
|
property int chatType
|
|
|
|
property string message
|
|
|
|
|
|
|
|
height: statusNotification.height
|
|
|
|
width: 416
|
|
|
|
|
2021-10-28 13:37:26 +00:00
|
|
|
StatusMacNotification {
|
2020-11-17 19:02:56 +00:00
|
|
|
id: statusNotification
|
|
|
|
anchors.left: parent.left
|
2024-10-15 19:26:12 +00:00
|
|
|
anchors.leftMargin: Theme.padding
|
2020-11-17 19:02:56 +00:00
|
|
|
width: parent.width
|
|
|
|
name: parent.name
|
|
|
|
message: parent.message
|
|
|
|
}
|
|
|
|
DropShadow {
|
|
|
|
anchors.fill: statusNotification
|
|
|
|
horizontalOffset: 0
|
|
|
|
verticalOffset: 2
|
|
|
|
radius: 10
|
|
|
|
samples: 12
|
|
|
|
color: "#22000000"
|
|
|
|
source: statusNotification
|
|
|
|
}
|
|
|
|
}
|