Files
DP44/DataPRO/Modules/SystemSettings/QASettings/View/QASettingsView.xaml

56 lines
2.6 KiB
Plaintext
Raw Normal View History

2026-04-17 14:55:32 -04:00
<base:BaseView x:Class="QASettings.QASettingsView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:base="clr-namespace:DTS.Common.Base;assembly=DTS.Common"
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
Background="{StaticResource Brush_ApplicationContentBackground}">
<base:BaseView.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/DTS.Common;component/Themes/CommonStyles.xaml"/>
</ResourceDictionary.MergedDictionaries>
<Style TargetType="TextBox" BasedOn="{StaticResource PageContentTextBoxStyle}" >
<Setter Property="Width" Value="100"/>
</Style>
<Style TargetType="TextBlock" BasedOn="{StaticResource PageContentTextStyle}" >
<Setter Property="Width" Value="200"/>
</Style>
</ResourceDictionary>
</base:BaseView.Resources>
<StackPanel Orientation="Vertical">
<StackPanel Orientation="Horizontal">
<TextBlock Text="Number of Sensors" />
<TextBox MinWidth="100" Text="{Binding NumberOfSensorsText}" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="Number of Templates" />
<TextBox Text="{Binding NumberOfGroupTemplatesText}" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="Number of Groups" />
<TextBox Text="{Binding NumberOfGroupsText}" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="Number of Test Setups" />
<TextBox Text="{Binding NumberOfTestSetupsText}" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="Number of sensor models" />
<TextBox Text="{Binding NumberOfSensorModelsText}" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<Button Content="Create" >
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<i:InvokeCommandAction Command="{Binding CreateCommand}" />
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</StackPanel>
</StackPanel>
</base:BaseView>