Ignore:
Timestamp:
Nov 9, 2017 6:43:07 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:
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)
Message:

More functionality conversion

File:
1 edited

Legend:

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

    r4992ff2 r7969b9c  
    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.