mirror of
https://github.com/283375/arcaea-offline-pyside-ui.git
synced 2025-11-07 13:02:17 +00:00
32 lines
596 B
QML
32 lines
596 B
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
|
|
Dialog {
|
|
id: root
|
|
|
|
required property string databaseUrl
|
|
|
|
padding: 10
|
|
|
|
title: qsTr('Confirm Database Connection')
|
|
standardButtons: Dialog.Ok | Dialog.Cancel
|
|
modal: true
|
|
Overlay.modal: Rectangle {
|
|
color: Qt.alpha('gray', 0.2)
|
|
}
|
|
|
|
ColumnLayout {
|
|
Label {
|
|
text: 'The connection below will be saved to settings. Confirm?'
|
|
}
|
|
|
|
Pane {
|
|
Label {
|
|
id: databaseUrlLabel
|
|
text: root.databaseUrl
|
|
}
|
|
}
|
|
}
|
|
}
|