Commit 3cae76b6 authored by DN's avatar DN

Cleaned up the fit nodes.

parent 6ebdf3fb
......@@ -86,6 +86,7 @@ class XsocsGui(Qt.QMainWindow):
self.statusBar()
setH5NodeFactory(XsocsH5Factory)
self.move(0, 0)
self.resize(300, 600)
......
......@@ -152,22 +152,7 @@ class FitButton(EditorMixin, Qt.QWidget):
fitItem.fitH5.export_txt(csvPath)
class FitHeightNode(Node):
className = 'height'
class FitCenterNode(Node):
className = 'center'
class FitWidthNode(Node):
className = 'width'
@H5NodeClassDef('FitItem',
attribute=('XsocsClass', 'FitItem'))
class FitItemNode(H5GroupNode):
editors = FitButton
groupClasses = [(None, FitHeightNode),
(None, FitCenterNode),
(None, FitWidthNode)]
......@@ -221,4 +221,4 @@ class ProjectSummaryWidget(Qt.QWidget):
errorItem.setExpanded(True)
return
self.__valid = True
\ No newline at end of file
self.__valid = True
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