Exemplo n.º 1
0
 def __init__(self, *args, **kwargs):
     #super(QJumpSlider, self).__init__(self, *args, **kwargs)
     QSlider.__init__(self, *args, **kwargs)
     self.is_forward_obj = False
     #self.is_backward_obj = False #  two way connection
     self.debug = False
     self.dtype = None
     self.forward_obj = None
Exemplo n.º 2
0
    def __init__(self, params):
        MWB.__init__(self, params)
        QSlider.__init__(self, Qt.Horizontal)

        self.setRange(0, 1000)
        self.valueChanged.connect(self.value_changed)