Add PreviewStagePlugin stubs

Since we are going to move all the views into a seperate stage, we need to add another stage to do that.

CURA-5829
This commit is contained in:
Jaime van Kessel 2018-10-29 11:28:08 +01:00
parent 90e8a05aab
commit 3248a05819
5 changed files with 47 additions and 1 deletions

View file

@ -7,14 +7,16 @@ from . import MonitorStage
from UM.i18n import i18nCatalog
i18n_catalog = i18nCatalog("cura")
def getMetaData():
return {
"stage": {
"name": i18n_catalog.i18nc("@item:inmenu", "Monitor"),
"weight": 1
"weight": 2
}
}
def register(app):
return {
"stage": MonitorStage.MonitorStage()