Commit f92aabbd authored by DN's avatar DN
Browse files

Set Window titles.

parent b32e6a72
......@@ -83,6 +83,8 @@ class XsocsGui(Qt.QMainWindow):
projectH5File=None):
super(XsocsGui, self).__init__(parent)
self.setWindowTitle('XSOCS')
self.statusBar()
setH5NodeFactory(XsocsH5Factory)
......
......@@ -350,6 +350,8 @@ class FitView(Qt.QMainWindow):
**kwargs):
super(FitView, self).__init__(parent)
self.setWindowTitle('[XSOCS] {0}'.format(node.h5Path))
item = h5NodeToProjectItem(node)
fitH5 = self.__fitH5 = item.fitH5
qspaceItem = h5NodeToProjectItem(qspaceNode)
......
......@@ -55,6 +55,7 @@ class RectRoiWidget(Qt.QWidget):
# TODO :
# support multiple ROIs then batch them
super(RectRoiWidget, self).__init__(parent)
layout = Qt.QHBoxLayout(self)
layout.setContentsMargins(0, 0, 0, 0)
......@@ -186,6 +187,8 @@ class IntensityView(Qt.QMainWindow):
**kwargs):
super(IntensityView, self).__init__(parent=parent)
self.setWindowTitle('[XSOCS] {0}'.format(node.h5Path))
self.__plotWindow = plotWindow = XsocsPlot2D()
dock = Qt.QDockWidget(self)
......
......@@ -283,6 +283,8 @@ class QSpaceView(Qt.QMainWindow):
**kwargs):
super(QSpaceView, self).__init__(parent)
self.setWindowTitle('[XSOCS] {0}'.format(node.h5Path))
item = h5NodeToProjectItem(node)
# plot window displaying the intensity map
......
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