Move PerObjectSettings from Uranium to Cura

This tool is deemed Cura-specific, so it is moved to Cura. This prevents it from being included in other Uranium applications.
This commit is contained in:
Ghostkeeper 2015-10-01 15:41:36 +02:00
parent 6fd9eba2dd
commit 1bda2ff220
5 changed files with 569 additions and 0 deletions

View file

@ -0,0 +1,18 @@
# Copyright (c) 2015 Ultimaker B.V.
# Uranium is released under the terms of the AGPLv3 or higher.
from UM.Tool import Tool
from . import PerObjectSettingsModel
class PerObjectSettingsTool(Tool):
def __init__(self):
super().__init__()
self.setExposedProperties("Model")
def event(self, event):
return False
def getModel(self):
return PerObjectSettingsModel.PerObjectSettingsModel()