Commit 0549d273 authored by Thomas Vincent's avatar Thomas Vincent

remove local variable/attribute duplicate

parent b4014267
......@@ -72,17 +72,17 @@ class Roi3DSelectorWidget(Qt.QWidget):
grpBox.toggled.connect(self.sigRoiToggled)
grpLayout = Qt.QVBoxLayout(grpBox)
xRoiWid = self.__xRoiWid = RoiAxisWidget('X')
yRoiWid = self.__yRoiWid = RoiAxisWidget('Y')
zRoiWid = self.__zRoiWid = RoiAxisWidget('Z')
self.__xRoiWid = RoiAxisWidget('X')
self.__yRoiWid = RoiAxisWidget('Y')
self.__zRoiWid = RoiAxisWidget('Z')
grpLayout.addWidget(xRoiWid)
grpLayout.addWidget(yRoiWid)
grpLayout.addWidget(zRoiWid)
grpLayout.addWidget(self.__xRoiWid)
grpLayout.addWidget(self.__yRoiWid)
grpLayout.addWidget(self.__zRoiWid)
xRoiWid.sigSliderMoved.connect(self.__slotSliderMoved)
yRoiWid.sigSliderMoved.connect(self.__slotSliderMoved)
zRoiWid.sigSliderMoved.connect(self.__slotSliderMoved)
self.__xRoiWid.sigSliderMoved.connect(self.__slotSliderMoved)
self.__yRoiWid.sigSliderMoved.connect(self.__slotSliderMoved)
self.__zRoiWid.sigSliderMoved.connect(self.__slotSliderMoved)
layout.addWidget(grpBox)
......@@ -186,9 +186,9 @@ class FitWidget(Qt.QWidget):
layout = Qt.QGridLayout(self)
self.__roiWidget = roiWidget = Roi3DSelectorWidget()
self.__roiWidget = Roi3DSelectorWidget()
layout.addWidget(roiWidget)
layout.addWidget(self.__roiWidget)
fileLayout = Qt.QHBoxLayout()
self.__fileEdit = fileEdit = StyledLineEdit(nChar=20, readOnly=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