plasma-framework/tests/dialog.qml

27 lines
466 B
QML

/*
SPDX-FileCopyrightText: 2014 David Edmundson <davidedmundson@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.0
import QtQuick.Controls 1.1 as Controls
import QtQuick.Layouts 1.1
import org.kde.plasma.core 2.0 as PlasmaCore
PlasmaCore.Dialog {
visible: true
mainItem: Item {
width: 200
height: 200
MouseArea {
anchors.fill: parent
onClicked: Qt.quit()
}
}
}