Changeset e958531 in sasview
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Corfunc/CorfuncPerspective.py
rcadd595a re958531 154 154 155 155 def modelChanged(self, item): 156 if item.row() == W.W_QMIN:157 value = float(self.model.item(W.W_QMIN).text())158 self._canvas.qmin = value159 elif item.row() == W.W_QMAX or item.row() == W.W_QCUTOFF:160 a = float(self.model.item(W.W_QMAX).text())161 b = float(self.model.item(W.W_QCUTOFF).text())162 self._canvas.qmax1 = a163 self._canvas.qmax2 = b164 else:165 print("{} Changed".format(item))166 167 156 self.mapper.toFirst() 168 157 self._canvas.drawQSpace()
Note: See TracChangeset
for help on using the changeset viewer.