Changeset 7969b9c in sasview for src/sas/qtgui/Plotting/rangeSlider.py
- Timestamp:
- Nov 9, 2017 6:43:07 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:
- fbfc488
- Parents:
- 4992ff2
- git-author:
- Piotr Rozyczko <rozyczko@…> (10/31/17 08:00:59)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (11/09/17 06:43:07)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/rangeSlider.py
r4992ff2 r7969b9c 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.