Commit 4cdc60dd authored by Julia Garriga Ferrer's avatar Julia Garriga Ferrer
Browse files

[gui][displayComponents] Refactor save button

parent f00fe06c
...@@ -98,9 +98,9 @@ class DisplayComponentsWidget(qt.QMainWindow): ...@@ -98,9 +98,9 @@ class DisplayComponentsWidget(qt.QMainWindow):
layout.addWidget(self._plot_rocking_curves, 2, 3, 2, 2) layout.addWidget(self._plot_rocking_curves, 2, 3, 2, 2)
layout.addWidget(self._scatter_rocking_curves, 2, 3, 2, 2) layout.addWidget(self._scatter_rocking_curves, 2, 3, 2, 2)
layout.addWidget(self._toolbar, 2, 5, 2, 1) layout.addWidget(self._toolbar, 2, 5, 2, 1)
self.saveB = qt.QPushButton("Save") self.saveB = qt.QPushButton("Save components")
self.saveB.pressed.connect(self._saveComp) self.saveB.pressed.connect(self._saveComp)
layout.addWidget(self.saveB, 4, 0) layout.addWidget(self.saveB, 4, 4, 1, -1)
widget.setLayout(layout) widget.setLayout(layout)
self.setCentralWidget(widget) self.setCentralWidget(widget)
......
Supports Markdown
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