界面新增指定数据源
This commit is contained in:
@@ -586,10 +586,38 @@
|
||||
|
||||
<GroupBox
|
||||
Style="{StaticResource CompactGroupBox}"
|
||||
Header="位置参数"
|
||||
Header="设定参数"
|
||||
Visibility="{Binding SelectedNode.IsSavePosition, Converter={StaticResource BoolToVisibilityConverter}}">
|
||||
<StackPanel Margin="8,8,8,6">
|
||||
<CheckBox Style="{StaticResource EditorCheck}" Content="保存图像" IsChecked="{Binding SelectedNode.SaveImage}" />
|
||||
<TextBlock Style="{StaticResource LabelStyle}" Text="手动图像路径(留空则使用探测器采集)" />
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBox
|
||||
Grid.Column="0"
|
||||
Style="{StaticResource EditorBox}"
|
||||
Margin="0,0,4,8"
|
||||
Text="{Binding SelectedNode.ManualImagePath, UpdateSourceTrigger=PropertyChanged}"
|
||||
ToolTip="指定本地图片文件路径(BMP / PNG / TIFF),留空则使用探测器实时采集"
|
||||
IsReadOnly="False" />
|
||||
<Button
|
||||
Grid.Column="1"
|
||||
Height="28"
|
||||
Width="32"
|
||||
Margin="0,0,0,8"
|
||||
Padding="0"
|
||||
Content="…"
|
||||
FontSize="13"
|
||||
ToolTip="浏览图像文件"
|
||||
Command="{Binding SelectedNode.BrowseImageCommand}"
|
||||
Background="#F8F8F8"
|
||||
BorderBrush="#CFCFCF"
|
||||
BorderThickness="1"
|
||||
Cursor="Hand" />
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</GroupBox>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user