mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-22 21:59:37 +08:00

This way they can respond to the onAccepted and onRejected actions of the dialog Contributes to CURA-2019
19 lines
376 B
QML
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()
|
|
}
|
|
} |