Changeset 304d082 in sasview for src/sas/qtgui/Plotting/rangeSlider.py
- Timestamp:
- Oct 31, 2017 10:00:59 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 6280464
- Parents:
- 0849aec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/rangeSlider.py
r0849aec r304d082 89 89 90 90 painter = QtGui.QPainter(self) 91 style = Qt Gui.QApplication.style()91 style = QtWidgets.QApplication.style() 92 92 93 93 for i, value in enumerate([self._low, self._high]): … … 173 173 event.accept() 174 174 175 style = Qt Gui.QApplication.style()175 style = QtWidgets.QApplication.style() 176 176 button = event.button() 177 177 … … 264 264 self.setHighValue( new_pos ) 265 265 266 if self.hasTracking():267 self.emit(QtCore.SIGNAL('sliderMoved(int)'), new_pos)268 269 266 270 267 def __pick(self, pt): … … 278 275 opt = QtWidgets.QStyleOptionSlider() 279 276 self.initStyleOption(opt) 280 style = Qt Gui.QApplication.style()277 style = QtWidgets.QApplication.style() 281 278 282 279 gr = style.subControlRect(style.CC_Slider, opt, style.SC_SliderGroove, self)
Note: See TracChangeset
for help on using the changeset viewer.