Changeset 63467b6 in sasview for src/sas/qtgui/Plotting/Slicers
- Timestamp:
- Sep 27, 2018 4:20:24 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 4f8c17f
- Parents:
- dce68f6
- Location:
- src/sas/qtgui/Plotting/Slicers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/Slicers/AnnulusSlicer.py
re20870bc r63467b6 143 143 new_plot.xtransform = "x" 144 144 new_plot.ytransform = "y" 145 GuiUtils.updateModelItemWithPlot(self._item, new_plot, new_plot.id) 145 item = self._item 146 if self._item.parent() is not None: 147 item = self._item.parent() 148 GuiUtils.updateModelItemWithPlot(item, new_plot, new_plot.id) 146 149 self.base.manager.communicator.plotUpdateSignal.emit([new_plot]) 147 150 -
src/sas/qtgui/Plotting/Slicers/BoxSlicer.py
re20870bc r63467b6 188 188 new_plot.id = (self.averager.__name__) + self.base.data.name 189 189 new_plot.is_data = True 190 GuiUtils.updateModelItemWithPlot(self._item, new_plot, new_plot.id) 190 if self._item.parent() is not None: 191 item = self._item.parent() 192 GuiUtils.updateModelItemWithPlot(item, new_plot, new_plot.id) 191 193 192 194 if self.update_model: -
src/sas/qtgui/Plotting/Slicers/SectorSlicer.py
re20870bc r63467b6 167 167 new_plot.id = "SectorQ" + self.base.data.name 168 168 new_plot.is_data = True 169 GuiUtils.updateModelItemWithPlot(self._item, new_plot, new_plot.id) 169 if self._item.parent() is not None: 170 item = self._item.parent() 171 GuiUtils.updateModelItemWithPlot(item, new_plot, new_plot.id) 170 172 171 173 self.base.manager.communicator.plotUpdateSignal.emit([new_plot])
Note: See TracChangeset
for help on using the changeset viewer.