yann300
10 years ago
committed by
yann300
8 changed files with 66 additions and 35 deletions
@ -0,0 +1,27 @@ |
|||
import QtQuick 2.2 |
|||
import QtQuick.Window 2.0 |
|||
|
|||
Window |
|||
{ |
|||
id: alertMessageDialog |
|||
title: "" |
|||
modality: Qt.WindowModal |
|||
height: 150 |
|||
width: 200 |
|||
visible: false |
|||
Loader |
|||
{ |
|||
focus: true |
|||
id: alertMessageDialogContent |
|||
objectName: "alertMessageDialogContent" |
|||
anchors.fill: parent |
|||
} |
|||
function open() |
|||
{ |
|||
visible = true |
|||
} |
|||
function close() |
|||
{ |
|||
visible = false |
|||
} |
|||
} |
@ -0,0 +1,27 @@ |
|||
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 |
|||
} |
|||
} |
Loading…
Reference in new issue