Initial changes for perobject stuff

CURA-1278
This commit is contained in:
Jaime van Kessel 2016-05-27 11:26:41 +02:00
parent 16450ec614
commit c914446060
6 changed files with 119 additions and 84 deletions

View file

@ -2,6 +2,8 @@
# Uranium is released under the terms of the AGPLv3 or higher.
from . import PerObjectSettingsTool
from . import PerObjectSettingVisibilityHandler
from PyQt5.QtQml import qmlRegisterType
from UM.i18n import i18nCatalog
i18n_catalog = i18nCatalog("cura")
@ -25,4 +27,6 @@ def getMetaData():
}
def register(app):
qmlRegisterType(PerObjectSettingVisibilityHandler.PerObjectSettingVisibilityHandler, "Cura", 1, 0,
"PerObjectSettingVisibilityHandler")
return { "tool": PerObjectSettingsTool.PerObjectSettingsTool() }