mirror of
https://github.com/283375/arcaea-offline-pyside-ui.git
synced 2025-11-07 13:02:17 +00:00
35 lines
567 B
QML
35 lines
567 B
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
|
|
Dialog {
|
|
id: root
|
|
|
|
required property string errorTitle
|
|
required property string errorMessage
|
|
|
|
padding: 10
|
|
|
|
title: qsTr('Error')
|
|
standardButtons: Dialog.Ok
|
|
modal: true
|
|
Overlay.modal: Rectangle {
|
|
color: Qt.alpha('darkgray', 0.5)
|
|
}
|
|
|
|
ColumnLayout {
|
|
spacing: 5
|
|
|
|
Label {
|
|
font.pointSize: 12
|
|
font.bold: true
|
|
|
|
text: root.errorTitle
|
|
}
|
|
|
|
Label {
|
|
text: root.errorMessage
|
|
}
|
|
}
|
|
}
|