mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-04 01:42:44 +00:00
Add support for server-side notifications
This commit is contained in:
parent
357ac89330
commit
60bc90c5fa
14 changed files with 179 additions and 14 deletions
28
qtquick/qml/components/Notification.qml
Normal file
28
qtquick/qml/components/Notification.qml
Normal file
|
@ -0,0 +1,28 @@
|
|||
import QtQuick 2.6
|
||||
import QtQuick.Controls 2.6
|
||||
|
||||
Rectangle {
|
||||
property alias title: titleText.text
|
||||
property alias content: contentText.text
|
||||
color: "black"
|
||||
implicitHeight: column.height
|
||||
implicitWidth: column.width
|
||||
|
||||
Column {
|
||||
id: column
|
||||
width: parent.width
|
||||
|
||||
Text {
|
||||
id: titleText
|
||||
width: parent.width
|
||||
font.pointSize: 24
|
||||
color: "white"
|
||||
}
|
||||
|
||||
Text {
|
||||
id: contentText
|
||||
width: parent.width
|
||||
color: "white"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue