Commit 208f2e47 authored by Samuel GAIST's avatar Samuel GAIST

[widgets] Freeze all editors

parent c78684b3
......@@ -23,12 +23,16 @@
# #
###############################################################################
from ..utils import frozen
from .editor import AbstractAssetEditor
@frozen
class AlgorithmEditor(AbstractAssetEditor):
def __init__(self, parent=None):
super(AlgorithmEditor, self).__init__(parent)
self.setObjectName(self.__class__.__name__)
self.set_title(self.tr("Algorithm"))
def _load_json(self, json_object):
......
......@@ -23,12 +23,16 @@
# #
###############################################################################
from ..utils import frozen
from .editor import AbstractAssetEditor
@frozen
class DatabaseEditor(AbstractAssetEditor):
def __init__(self, parent=None):
super(DatabaseEditor, self).__init__(parent)
self.setObjectName(self.__class__.__name__)
self.set_title(self.tr("Database"))
def _load_json(self, json_object):
......
......@@ -23,12 +23,16 @@
# #
###############################################################################
from ..utils import frozen
from .editor import AbstractAssetEditor
@frozen
class DataformatEditor(AbstractAssetEditor):
def __init__(self, parent=None):
super(DataformatEditor, self).__init__(parent)
self.setObjectName(self.__class__.__name__)
self.set_title(self.tr("Dataformat"))
def _load_json(self, json_object):
......
......@@ -23,12 +23,16 @@
# #
###############################################################################
from ..utils import frozen
from .editor import AbstractAssetEditor
@frozen
class ExperimentEditor(AbstractAssetEditor):
def __init__(self, parent=None):
super(ExperimentEditor, self).__init__(parent)
self.setObjectName(self.__class__.__name__)
self.set_title(self.tr("Experiment"))
def _load_json(self, json_object):
......
......@@ -23,12 +23,16 @@
# #
###############################################################################
from ..utils import frozen
from .editor import AbstractAssetEditor
@frozen
class LibraryEditor(AbstractAssetEditor):
def __init__(self, parent=None):
super(LibraryEditor, self).__init__(parent)
self.setObjectName(self.__class__.__name__)
self.set_title(self.tr("Library"))
def _load_json(self, json_object):
......
......@@ -23,12 +23,16 @@
# #
###############################################################################
from ..utils import frozen
from .editor import AbstractAssetEditor
@frozen
class PlotterEditor(AbstractAssetEditor):
def __init__(self, parent=None):
super(PlotterEditor, self).__init__(parent)
self.setObjectName(self.__class__.__name__)
self.set_title(self.tr("Plotter"))
def _load_json(self, json_object):
......
......@@ -23,12 +23,16 @@
# #
###############################################################################
from ..utils import frozen
from .editor import AbstractAssetEditor
@frozen
class PlotterParametersEditor(AbstractAssetEditor):
def __init__(self, parent=None):
super(PlotterParametersEditor, self).__init__(parent)
self.setObjectName(self.__class__.__name__)
self.set_title(self.tr("Plotter Parameters"))
def _load_json(self, json_object):
......
......@@ -23,12 +23,16 @@
# #
###############################################################################
from ..utils import frozen
from .editor import AbstractAssetEditor
@frozen
class ToolchainEditor(AbstractAssetEditor):
def __init__(self, parent=None):
super(ToolchainEditor, self).__init__(parent)
self.setObjectName(self.__class__.__name__)
self.set_title(self.tr("Toolchain"))
def _load_json(self, json_object):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment