feat(StatusDialog): Add DIalog Background componentto make the dialog background customizable (#809)

This commit is contained in:
Khushboo-dev-cpp 2022-08-03 09:27:28 +02:00 committed by GitHub
parent dbc0c1960a
commit f4bf830ae7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 4 deletions

View File

@ -22,10 +22,7 @@ Dialog {
color: Theme.palette.backdropColor
}
background: Rectangle {
color: Theme.palette.statusModal.backgroundColor
radius: 8
}
background: StatusDialogBackground {}
header: StatusDialogHeader {
visible: root.title

View File

@ -0,0 +1,7 @@
import QtQuick 2.14
import StatusQ.Core.Theme 0.1
Rectangle {
color: Theme.palette.statusModal.backgroundColor
radius: 8
}

View File

@ -6,3 +6,4 @@ StatusDialogFooter 0.1 StatusDialogFooter.qml
StatusDialogHeader 0.1 StatusDialogHeader.qml
StatusHeaderActions 0.1 StatusHeaderActions.qml
StatusTitleSubtitle 0.1 StatusTitleSubtitle.qml
StatusDialogBackground 0.1 StatusDialogBackground.qml