Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 3
0
 def __init__(self, *args, **kwargs):
     QDoubleSpinBox.__init__(self, *args, **kwargs)
     self.tt = _('Position in book')
     self.setToolTip(self.tt)
Exemplo n.º 4
0
 def __init__(self, parent):
     QDoubleSpinBox.__init__(self)