Sander van Grieken
3 years ago
13 changed files with 42 additions and 11 deletions
@ -0,0 +1,17 @@ |
|||
import QtQuick 2.6 |
|||
import QtQuick.Layouts 1.0 |
|||
import QtQuick.Controls 2.3 |
|||
|
|||
Dialog { |
|||
id: abstractdialog |
|||
|
|||
property bool allowClose: true |
|||
|
|||
onOpenedChanged: { |
|||
if (opened) { |
|||
app.activeDialog = abstractdialog |
|||
} else { |
|||
app.activeDialog = null |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue