MachineAction.qml 376 B

12345678910111213141516171819
  1. import QtQuick 2.2
  2. Item
  3. {
  4. id: contentItem
  5. // Point to the dialog containing the displayItem
  6. property var dialog
  7. // Connect the finished property change to completed signal.
  8. property var finished: manager.finished
  9. onFinishedChanged: if(manager.finished) {completed()}
  10. signal completed()
  11. function reset()
  12. {
  13. manager.reset()
  14. }
  15. }