Skip to content
Snippets Groups Projects
Commit 1d3e8e82 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[widgets] Freeze all editors

parent 15b7a285
No related branches found
No related tags found
1 merge request!62Core implementation
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment