Package animio :: Module ui :: Class FloatRangeField
[hide private]
[frames] | no frames]

Class FloatRangeField

source code

mrv.maya.ui.RowLayout --+
                        |
                       FloatRangeField

Implements a queryable range of integers :note: it uses text fields allowing them to be empty
Instance Methods [hide private]
    Signals
 
__new__(cls, *args, **kwargs)
Assure we always have two columns with an appropriate size
source code
 
__init__(self, *args, **kwargs)
Build our interface
source code
    Interface
 
get(self)
Returns: Tuple(floatStartRance, floatEndRange)
source code
 
set(self, start, end)
Set the range of this element :param start: start of the range as float :param end: end of the range as float)
source code
 
clear(self)
Don't display any value, clear out the existing ones
source code
 
setEnabled(self, state) source code
Method Details [hide private]

get(self)

source code 
Returns:
Tuple(floatStartRance, floatEndRange)
Raises:
  • ValueError - if one of the ranges is invalid