13 lines
326 B
QML
13 lines
326 B
QML
|
import QtQuick 2.7
|
||
|
import QtQuick.Controls 2.1 as Controls
|
||
|
import org.kde.kirigami 2.4 as Kirigami
|
||
|
|
||
|
Controls.Dialog {
|
||
|
modal: true
|
||
|
focus: true
|
||
|
parent: applicationWindow().overlay
|
||
|
x: (parent.width - width) / 2
|
||
|
y: (parent.height - height) / 2
|
||
|
width: Math.min(parent.width, Kirigami.Units.gridUnit * 30)
|
||
|
}
|