feat: 진행 표시 보강 — 취소 버튼 + 큐 row inline progress bar
사이드바 진행 패널 - '취소' 버튼 추가 (FsSecondaryButtonStyle, ProcessingPercentLabel 우측) - 클릭 시 _cts.Cancel() + 라벨/버튼 '취소 중…'으로 전환 - finally에서 버튼 상태 복원 큐 row inline progress - QueueItem에 ProgressValue (0~100), ProgressVisibility 속성 추가 - SetState() 안에서 텍스트 파싱: 'queued'/'done'/'NN%' → 자동 갱신 - ItemTemplate에 Height=3 ProgressBar 추가 (MetaLine 아래) - 변환 중인 row만 시각적 bar 표시
This commit is contained in:
parent
ae897ea043
commit
81d0a04eb0
2 changed files with 67 additions and 7 deletions
|
|
@ -255,12 +255,21 @@
|
|||
</Grid>
|
||||
<ProgressBar x:Name="ProcessingProgressBar"
|
||||
Height="6" Minimum="0" Maximum="100" Value="0"/>
|
||||
<TextBlock x:Name="ProcessingPercentLabel"
|
||||
Margin="0,4,0,0"
|
||||
FontFamily="{StaticResource FsFontMono}" FontSize="10"
|
||||
Foreground="{StaticResource FsTextSecondary}"
|
||||
HorizontalAlignment="Right"
|
||||
Text="0%"/>
|
||||
<Grid Margin="0,4,0,0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock x:Name="ProcessingPercentLabel"
|
||||
FontFamily="{StaticResource FsFontMono}" FontSize="10"
|
||||
Foreground="{StaticResource FsTextSecondary}"
|
||||
VerticalAlignment="Center"
|
||||
Text="0%"/>
|
||||
<Button x:Name="CancelProcessingButton" Grid.Column="1"
|
||||
Content="취소" Padding="10,2"
|
||||
Style="{StaticResource FsSecondaryButtonStyle}"
|
||||
Click="OnCancelProcessingClick"/>
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
|
||||
<Button x:Name="ProcessQueueButton"
|
||||
|
|
@ -407,6 +416,10 @@
|
|||
<TextBlock Text="{Binding MetaLine}"
|
||||
Style="{StaticResource FsCaptionStyle}"
|
||||
Margin="0,2,0,0"/>
|
||||
<ProgressBar Height="3" Margin="0,4,0,0"
|
||||
Minimum="0" Maximum="100"
|
||||
Value="{Binding ProgressValue, Mode=OneWay}"
|
||||
Visibility="{Binding ProgressVisibility, Mode=OneWay}"/>
|
||||
</StackPanel>
|
||||
<TextBlock Grid.Column="2" Text="{Binding SizeText}"
|
||||
Style="{StaticResource FsMonoStyle}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue