Scale Calibration Picker Inspector View
Inspector component for setting measurement scale via calibration picker. Calibration picker is added to the distance measurement tools as a way of setting scale by calibrating a distance annotation to the desired length and unit.
Parameters
the lineannotation whose length we calibrate
The context to use.
text describing the calibration value
Default Scale.UnitTo value selected. This should always be the same as the Scale destination ("to") unit.
if true the value text widget will be focused and the keyboard be shown automatically after showing the inspector
Listener for calibration picker changes.
Constructors
Functions
Bind to property inspector controller.
The LineAnnotation that the scale calibration is being measured against.
Returns maximum height that this view with all its detail views will occupy.
Height of the parent PropertyInspector that this view would like it to have.
Returns best height of this view when shown in inspector. This is used to suggest initial height to inspector parent.
Sets value to the calibration picker.
Unbind from property inspector controller.
Updates the calibration picker UI from the given scale or from the annotation's current measurement scale if the provided scale is null.