Add a legend to Layer View

This commit is contained in:
fieldOfView 2017-01-24 23:24:52 +01:00
parent f0333e2184
commit 878ccc679c
4 changed files with 107 additions and 0 deletions

View file

@ -315,6 +315,11 @@ class CuraApplication(QtApplication):
showPrintMonitor = pyqtSignal(bool, arguments = ["show"])
def setViewLegendItems(self, items):
self.viewLegendItemsChanged.emit(items)
viewLegendItemsChanged = pyqtSignal("QVariantList", arguments = ["items"])
## Cura has multiple locations where instance containers need to be saved, so we need to handle this differently.
#
# Note that the AutoSave plugin also calls this method.