Пример #1
0
 def __init__(self, _min, _max, **kwargs):
     SingleSpinButton.__init__(
         self,
         IntField(_min, _max),
         **kwargs
     )
Пример #2
0
 def __init__(self, _min, _max, digits, **kwargs):
     if digits < 1:
         raise ValueError('FloatSpinButton: invalid digits=%r' % digits)
     SingleSpinButton.__init__(self, FloatField(_min, _max, digits),
                               **kwargs)
Пример #3
0
 def __init__(self, **kwargs):
     SingleSpinButton.__init__(self, YearField(), **kwargs)
Пример #4
0
 def __init__(self, **kwargs):
     SingleSpinButton.__init__(
         self,
         YearField(),
         **kwargs
     )
Пример #5
0
 def __init__(self, **kwargs):
     SingleSpinButton.__init__(
         self,
         DayField(pad=0),
         **kwargs
     )
Пример #6
0
 def __init__(self, _min, _max, **kwargs):
     SingleSpinButton.__init__(self, IntField(_min, _max), **kwargs)
Пример #7
0
 def __init__(self, **kwargs):
     SingleSpinButton.__init__(self, DayField(pad=0), **kwargs)