You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

30 lines
456 B

import QtQuick 2.2
import QtQuick.Window 2.0
Window
{
id: modalDialog
title: ""
modality: Qt.WindowModal
height: 400
width: 700
visible: false
Loader
{
focus: true
id: modalDialogContent
objectName: "modalDialogContent"
anchors.fill: parent
}
function open()
{
visible = true;
}
function close()
{
visible = false;
modalDialogContent.source = "";
modalDialogContent.sourceComponent = undefined;
modalDialog.destroy();
}
}