Cura/resources/qml/MachineAction.qml
fieldOfView a9ed562a58 Allow machine actions to reference the dialog they are shown in
This way they can respond to the onAccepted and onRejected actions of the dialog
Contributes to CURA-2019
2016-08-01 15:21:12 +02:00

19 lines
376 B
QML

import QtQuick 2.2
Item
{
id: contentItem
// Point to the dialog containing the displayItem
property var dialog
// Connect the finished property change to completed signal.
property var finished: manager.finished
onFinishedChanged: if(manager.finished) {completed()}
signal completed()
function reset()
{
manager.reset()
}
}