Module Expr Str ImportFrom alias alias alias alias ImportFrom alias alias alias alias Assign NameStore Str Assign NameStore Call NameLoad Str Dict Str Str Str Str Str Str Str Str Num BinOpMult Num Num BinOpMult Num Num BinOpMult BinOpMult Num Num Num Num Num Num Num ClassDef bases NameLoad body Assign NameStore Call NameLoad Num keyword Str Assign NameStore Call NameLoad Str keyword Str Assign NameStore Call NameLoad keyword ListLoad Str Str Str keyword Str Assign NameStore Call NameLoad Str keyword Str Assign NameStore Call NameLoad Call NameLoad Call NameLoad Call NameLoad Str keyword NameLoad Call NameLoad Str keyword NameLoad keyword Str keyword NameLoad Call NameLoad Call NameLoad Str keyword Str keyword NameLoad Call NameLoad Str keyword NameLoad keyword Str keyword NameLoad keyword NameLoad keyword Str keyword ListLoad Str Str Str FunctionDef arguments args NameParam defaults body Return BinOpDiv BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A 
Tiny application: convert length measurements from one unit system to another

Select the input and output units using the drop down combo-boxes in the
*Input:* and *Output:* sections respectively. Type the input quantity
to convert into the left most text box. The output value corresponding to the
current input value will automatically be updated in the *Output:*
section.

Use the *Undo* and *ReDo* buttons to undo and redo changes you
have made to any of the input fields.

Note that other than the 'output_amount' property implementation, the rest
of the code is simply declarative.
 traits.api HasStrictTraits Trait CFloat Property traitsui.api View VGroup HGroup Item N/A ViewHelp 
This program converts length measurements from one unit system to another.

Select the input and output units using the drop down combo-boxes in the
*Input:* and *Output:* sections respectively. Type the input quantity
to convert into the left most text box. The output value corresponding to the
current input value will automatically be updated in the *Output:*
section.

Use the *Undo* and *ReDo* buttons to undo and redo changes you
have made to any of the input fields.
 N/A Units N/A Trait inches N/A inches feet yards miles millimeters centimeters meters kilometers 2.54 N/A 12 2.54 N/A 36 2.54 N/A N/A 5280 12 2.54 0.1 1.0 100.0 100000.0 Converter N/A HasStrictTraits N/A N/A input_amount N/A CFloat 12.0 desc the input quantity N/A input_units N/A Units inches desc the input quantity's units N/A output_amount N/A Property depends_on N/A input_amount input_units output_units desc the output quantity N/A output_units N/A Units feet desc the output quantity's units N/A traits_view N/A View N/A VGroup N/A HGroup N/A Item input_amount springy True N/A Item input_units show_label False label Input show_border True N/A HGroup N/A Item output_amount style readonly springy True N/A Item output_units show_label False label Output show_border True help ViewHelp title Units Converter buttons N/A Undo OK Help _get_output_amount N/A N/A self N/A N/A N/A N/A N/A N/A self input_amount N/A self input_units_ N/A self output_units_ N/A N/A N/A popup N/A Converter N/A N/A __name__ __main__ N/A N/A N/A N/A popup configure_traits