feat: 添加鼠标悬停描述

This commit is contained in:
ABA2396
2022-07-22 01:33:59 +08:00
parent 794758c7f0
commit 8d84609096
6 changed files with 10 additions and 8 deletions

View File

@@ -26,7 +26,7 @@
</StackPanel>
</StackPanel>
<StackPanel Grid.Column="1" VerticalAlignment="Center" Margin="10">
<CheckBox IsChecked="{Binding NotChooseLevel1}" Content="手动确认1星" Margin="5" />
<CheckBox IsChecked="{Binding NotChooseLevel1}" Content="手动确认1星" Margin="5" ToolTip="勾选时识别到1星词条时跳过该次招募未勾选时将忽略1星词条"/>
<CheckBox IsChecked="{Binding ChooseLevel3}" Content="自动确认3星" Margin="5" />
<CheckBox IsChecked="{Binding ChooseLevel4}" Content="自动确认4星" Margin="5" />
<CheckBox IsChecked="{Binding ChooseLevel5}" Content="自动确认5星" Margin="5" />

View File

@@ -40,7 +40,7 @@
<!--<TextBlock Style="{StaticResource TextBlockDefaultBold}" Text="{Binding StoneInfo}" Margin="30, 0, 0, 0" VerticalAlignment="Center" />-->
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Row="2" VerticalAlignment="Center">
<CheckBox IsChecked="{Binding HasTimesLimited}" Content="指定次数*" Margin="10 10 4.5 10"
<CheckBox IsChecked="{Binding HasTimesLimited}" Content="指定次数*" Margin="10 10 4.5 10"
ToolTip="该选项设置重启后不保存"/>
<hc:TextBox Text="{Binding MaxTimes}" TextWrapping="Wrap" Margin="10"
Width="50" InputMethod.IsInputMethodEnabled="False"
@@ -48,7 +48,8 @@
<TextBlock Style="{StaticResource TextBlockDefault}" Text="次" />
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Row="3" VerticalAlignment="Center">
<CheckBox IsChecked="{Binding IsSpecifiedDrops}" Content="指定材料" Margin="10" />
<CheckBox IsChecked="{Binding IsSpecifiedDrops}" Content="指定材料" Margin="10"
ToolTip="该选项不会自动导航至对应关卡"/>
<ComboBox Width="120" Margin="10"
IsEditable="True"
IsTextSearchEnabled ="True"

View File

@@ -16,7 +16,7 @@
</Grid.ColumnDefinitions>
<ListBox Width="200" Grid.Column="0" Margin="10"
dd:DragDrop.IsDragSource="True" dd:DragDrop.IsDropTarget="True"
ItemsSource="{Binding Path=InfrastItemViewModels}">
ItemsSource="{Binding Path=InfrastItemViewModels}" ToolTip="标签顺序可拖动">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">

View File

@@ -131,7 +131,7 @@ namespace MeoAsstGui
new CombData { Display = "兼容模式", Value = "Compatible" },
};
_dormThresholdLabel = "宿舍入驻心情阈值:" + _dormThreshold + "%";
_dormThresholdLabel = "基建工作心情阈值:" + _dormThreshold + "%";
RoguelikeModeList = new List<CombData>
{
@@ -313,7 +313,7 @@ namespace MeoAsstGui
get { return _dormThreshold; }
set
{
DormThresholdLabel = "宿舍入驻心情阈值:" + _dormThreshold + "%";
DormThresholdLabel = "基建工作心情阈值:" + _dormThreshold + "%";
SetAndNotify(ref _dormThreshold, value);
ViewStatusStorage.Set("Infrast.DormThreshold", value.ToString());
}

View File

@@ -23,7 +23,8 @@
<TextBox Text="{Binding Filename}" Margin="10" IsReadOnly="{c:Binding Path=!Idle}"
Width="300" Height="30" />
<Button Command="{s:Action SelectFile}" IsEnabled="{Binding Idle}" Content="选择作业" Width="120" Height="50" Margin="10" />
<CheckBox IsChecked="{Binding Form}" HorizontalAlignment="Center" IsHitTestVisible="{Binding Idle}" Content="自动编队" Height="50" Margin="10" />
<CheckBox IsChecked="{Binding Form}" HorizontalAlignment="Center" IsHitTestVisible="{Binding Idle}" Content="自动编队" Height="50" Margin="10"
ToolTip="自动编队暂时无法识别'特别关注'的干员"/>
<Button Command="{s:Action Start}" IsEnabled="{Binding Idle}" Content="开始" Width="120" Height="50" Margin="10" />
<Button Command="{s:Action Stop}" Content="停止" Width="120" Height="50" Margin="10" />
<TextBlock Style="{StaticResource TextBlockDefault}" Block.TextAlignment="Center" Margin="10">

View File

@@ -38,7 +38,7 @@
</Grid.ColumnDefinitions>
<ListBox x:Name="TaskList" Grid.Row="0" Grid.ColumnSpan="2" Width="200" Margin="0,10,0,0" HorizontalAlignment="Center"
dd:DragDrop.IsDragSource="{Binding Idle}" dd:DragDrop.IsDropTarget="{Binding Idle}"
ItemsSource="{Binding Path=TaskItemViewModels}" BorderThickness="0">
ItemsSource="{Binding Path=TaskItemViewModels}" BorderThickness="0" ToolTip="标签顺序可拖动">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">