| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?xml version="1.0" encoding="utf-8"?>
- <mx:TitleWindow
- xmlns:mx="http://www.adobe.com/2006/mxml"
- addedEffect="Fade" removedEffect="Fade"
- showCloseButton="true"
- width="450" height="260"
- title="{resourceManager.getString( 'labels', 'measure.scale.popup.title' )}"
- creationComplete="creation()"
- close="closeHandler()">
-
- <mx:Script source="../../../scripts/physician/measure/scalePopUp.as" />
-
- <mx:NumberFormatter id="formatNumber" precision="4"
- thousandsSeparatorFrom="," thousandsSeparatorTo=" "
- decimalSeparatorFrom="." decimalSeparatorTo=","
- rounding="nearest" />
-
- <mx:NumberFormatter id="formatNumberPercentage" precision="0"
- thousandsSeparatorFrom="," thousandsSeparatorTo=" "
- decimalSeparatorFrom="." decimalSeparatorTo=","
- rounding="nearest" />
-
- <mx:VBox width="100%" verticalGap="5"
- paddingTop="10" paddingBottom="5"
- paddingLeft="10" paddingRight="5">
-
- <mx:HBox>
- <mx:Label text="{scaleVo.type}" />
- <mx:Spacer width="20" />
- <mx:Label text="{scaleVo.color}" />
- <mx:Spacer width="20" />
- <mx:Label text="{formatNumberPercentage.format( scaleVo.regularity )} %" />
- <mx:Spacer width="20" />
- <mx:Label text="{formatNumberPercentage.format( scaleVo.ratio )} %" />
- </mx:HBox>
-
- <mx:Label text="{resourceManager.getString( 'labels', 'measure.scale.popup.label' )}" />
-
- <mx:FormItem label="{resourceManager.getString( 'labels', 'measure.scale.popup.item' )}" width="100%" labelWidth="50" horizontalAlign="center">
- <mx:HBox>
- <mx:NumericStepper id="scaleNumericStepper" width="100" minimum="0" maximum="150" stepSize="5" />
- <mx:Label text="{resourceManager.getString( 'labels', 'measure.scale.popup.unit' )}" />
- </mx:HBox>
- </mx:FormItem>
-
- <!--mx:Label text="{resourceManager.getString( 'labels', 'measure.scale.popup.label.ultraSoundScanner' )}" />
-
- <mx:HBox width="100%" horizontalAlign="center">
- <mx:ComboBox id="scanners" dataProvider="{_model.listUltraSoundScanner}" labelField="name" width="200" change="changeScanner(event)" />
- <mx:ComboBox id="probes" dataProvider="{_model.listUltraSoundScanner.getItemAt(0).probes}" labelField="frequency" width="200" />
- </mx:HBox-->
-
- <mx:HBox width="100%" paddingTop="25" horizontalAlign="center">
- <mx:Button click="addScale()" label="{resourceManager.getString( 'labels', 'measure.scale.popup.button.valid' )}"/>
- </mx:HBox>
-
- <mx:Spacer height="100%" />
-
- <mx:HBox width="100%" horizontalAlign="right">
- <mx:LinkButton click="closeHandler()" label="{resourceManager.getString( 'labels', 'measure.scale.popup.button.try.again' )}"/>
- </mx:HBox>
-
- </mx:VBox>
-
- </mx:TitleWindow>
|