Commit 69817a01 authored by Thomas Vincent's avatar Thomas Vincent

rename point plot to intensity

parent 7a87dc71
......@@ -637,8 +637,8 @@ class ShiftPreviewPanel(Qt.QWidget):
scan_positions.pos_1,
values=data)
title = 'Points : {0}/{1}'.format(intersectionPoints.size,
scan_positions.pos_0.size)
title = 'Intensity (Points: {0}/{1})'.format(
intersectionPoints.size, scan_positions.pos_0.size)
self.__plot.setGraphTitle(title)
......@@ -675,7 +675,7 @@ class ShiftWidget(Qt.QMainWindow):
# Point preview
self.__previewPanel = ShiftPreviewPanel(
shiftSubject=self.__shiftSubject)
pointsSubGroup = GroupBox('Points')
pointsSubGroup = GroupBox('Intensity')
layout = Qt.QVBoxLayout(pointsSubGroup)
layout.addWidget(self.__previewPanel)
......@@ -685,7 +685,7 @@ class ShiftWidget(Qt.QMainWindow):
entriesDock.setFeatures(features)
self.addDockWidget(Qt.Qt.RightDockWidgetArea, entriesDock)
pointsDock = Qt.QDockWidget('Points', self)
pointsDock = Qt.QDockWidget('Intensity', self)
pointsDock.setWidget(pointsSubGroup)
features = pointsDock.features() ^ Qt.QDockWidget.DockWidgetClosable
pointsDock.setFeatures(features)
......
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