2020-11-17 19:02:56 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
import QtGraphicalEffects 1.13
|
2021-09-28 15:04:06 +00:00
|
|
|
|
2021-10-28 13:37:26 +00:00
|
|
|
import StatusQ.Platform 0.1
|
|
|
|
|
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
|
|
|
|
anchors.leftMargin: Style.current.padding
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|