mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 07:15:03 -06:00
Expose Account API to QML
This is done by adding the API as an SingletonType to Cura. CURA-5744
This commit is contained in:
parent
b54383e685
commit
081b2a28fe
4 changed files with 36 additions and 5 deletions
|
@ -8,7 +8,7 @@ import QtQuick.Layouts 1.1
|
|||
import QtQuick.Dialogs 1.2
|
||||
|
||||
import UM 1.3 as UM
|
||||
import Cura 1.0 as Cura
|
||||
import Cura 1.1 as Cura
|
||||
|
||||
import "Menus"
|
||||
|
||||
|
@ -21,7 +21,6 @@ UM.MainWindow
|
|||
property bool showPrintMonitor: false
|
||||
|
||||
backgroundColor: UM.Theme.getColor("viewport_background")
|
||||
|
||||
// This connection is here to support legacy printer output devices that use the showPrintMonitor signal on Application to switch to the monitor stage
|
||||
// It should be phased out in newer plugin versions.
|
||||
Connections
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue