mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-10-10 15:27:53 -06:00
Expose the Actions object as a QML singleton
This makes it much simpler to use actions from within other objects
This commit is contained in:
parent
66a29a2f1c
commit
fbbe6cde78
2 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
// Copyright (c) 2015 Ultimaker B.V.
|
||||
// Cura is released under the terms of the AGPLv3 or higher.
|
||||
|
||||
pragma Singleton
|
||||
|
||||
import QtQuick 2.2
|
||||
import QtQuick.Controls 1.1
|
||||
import UM 1.1 as UM
|
||||
|
|
3
resources/qml/qmldir
Normal file
3
resources/qml/qmldir
Normal file
|
@ -0,0 +1,3 @@
|
|||
module Cura
|
||||
|
||||
singleton Actions 1.0 Actions.qml
|
Loading…
Add table
Add a link
Reference in a new issue