tomwer.gui.utils.unitsystem.CentimeterEntry#

class tomwer.gui.utils.unitsystem.CentimeterEntry(name, default_unit='cm', parent=None)#

Define a QlineEdit which will set and get metric values in centimeter

getValue()#
Returns:

the value in meter

Return type:

float

setValue(value)#
Parameters:

value (float) – pixel size in centimeter