mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
50 lines
1.3 KiB
QML
50 lines
1.3 KiB
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
import QtQuick.Controls.Material
|
|
import ScreenPlayApp
|
|
import ScreenPlay
|
|
import ScreenPlayUtil as Util
|
|
|
|
Util.Dialog {
|
|
id: root
|
|
|
|
standardButtons: Dialog.Ok
|
|
contentHeight: 250
|
|
|
|
Connections {
|
|
function onMonitorConfigurationChanged() {
|
|
root.open();
|
|
}
|
|
|
|
target: App.monitorListModel
|
|
}
|
|
|
|
contentItem: Item {
|
|
ColumnLayout {
|
|
anchors.margins: 20
|
|
anchors.fill: parent
|
|
spacing: 20
|
|
|
|
Image {
|
|
Layout.alignment: Qt.AlignHCenter
|
|
Layout.preferredWidth: 150
|
|
Layout.preferredHeight: 150
|
|
source: "qrc:/qml/ScreenPlayApp/assets/icons/monitor_setup.svg"
|
|
fillMode: Image.PreserveAspectFit
|
|
}
|
|
|
|
Text {
|
|
text: qsTr("Your monitor setup changed!\n Please configure your wallpaper again.")
|
|
Layout.fillWidth: true
|
|
Layout.fillHeight: true
|
|
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
|
horizontalAlignment: Text.AlignHCenter
|
|
font.family: App.settings.font
|
|
font.pointSize: 16
|
|
color: Material.primaryTextColor
|
|
}
|
|
}
|
|
}
|
|
}
|