Exemple #1
0
 def __init__(self, name, layout):
     QDoubleSpinBox.__init__(self)
     self.setRange(0, 20000)
     self.setDecimals(1)
     opt = options[name]
     self.valueChanged.connect(self.changed_signal.emit)
     init_opt(self, opt, layout)
Exemple #2
0
 def __init__(self, name, layout):
     QDoubleSpinBox.__init__(self)
     self.setRange(0, 10000)
     self.setDecimals(1)
     opt = options[name]
     self.valueChanged.connect(self.changed_signal.emit)
     init_opt(self, opt, layout)
Exemple #3
0
 def __init__(self, *args, **kwargs):
     QDoubleSpinBox.__init__(self, *args, **kwargs)
     self.tt = _('Position in book')
     self.setToolTip(self.tt)
Exemple #4
0
 def __init__(self, parent):
     QDoubleSpinBox.__init__(self)