Ignore:
Timestamp:
Oct 31, 2017 10:00:59 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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
Message:

More functionality conversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotting/rangeSlider.py

    r0849aec r304d082  
    8989 
    9090        painter = QtGui.QPainter(self) 
    91         style = QtGui.QApplication.style()  
     91        style = QtWidgets.QApplication.style() 
    9292 
    9393        for i, value in enumerate([self._low, self._high]): 
     
    173173        event.accept() 
    174174         
    175         style = QtGui.QApplication.style() 
     175        style = QtWidgets.QApplication.style() 
    176176        button = event.button() 
    177177         
     
    264264            self.setHighValue( new_pos ) 
    265265 
    266         if self.hasTracking(): 
    267             self.emit(QtCore.SIGNAL('sliderMoved(int)'), new_pos) 
    268  
    269266             
    270267    def __pick(self, pt): 
     
    278275        opt = QtWidgets.QStyleOptionSlider() 
    279276        self.initStyleOption(opt) 
    280         style = QtGui.QApplication.style() 
     277        style = QtWidgets.QApplication.style() 
    281278         
    282279        gr = style.subControlRect(style.CC_Slider, opt, style.SC_SliderGroove, self) 
Note: See TracChangeset for help on using the changeset viewer.