Use separate QML files for prepare and monitor stage

This commit is contained in:
fieldOfView 2018-03-29 13:47:46 +02:00
parent 54c85fd0ea
commit a11bf31ce6
4 changed files with 678 additions and 3 deletions

View file

@ -73,6 +73,5 @@ class MonitorStage(CuraStage):
self.addDisplayComponent("main", main_component_path)
def _updateSidebar(self):
# TODO: currently the sidebar component for prepare and monitor stages is the same, this will change with the printer output device refactor!
sidebar_component_path = os.path.join(Resources.getPath(Application.getInstance().ResourceTypes.QmlFiles), "Sidebar.qml")
sidebar_component_path = os.path.join(Resources.getPath(Application.getInstance().ResourceTypes.QmlFiles), "MonitorSidebar.qml")
self.addDisplayComponent("sidebar", sidebar_component_path)