mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 05:16:29 +00:00
show filename for dataset explorer view
This commit is contained in:
@@ -164,6 +164,7 @@
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Grid.RowDefinitions>
|
||||
@@ -248,6 +249,9 @@
|
||||
<StatusBarItem Grid.Column="3" Background="Black">
|
||||
<TextBlock Name="StatusText" Text=""/>
|
||||
</StatusBarItem>
|
||||
<StatusBarItem Grid.Column="4" Background="DimGray">
|
||||
<TextBlock Name="SelectedAnnotationName" Text=""/>
|
||||
</StatusBarItem>
|
||||
</StatusBar>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
||||
@@ -197,6 +197,7 @@ public partial class DatasetExplorer
|
||||
var ann = CurrentAnnotation.Annotation;
|
||||
var image = await ann.ImagePath.OpenImage();
|
||||
ExplorerEditor.SetBackground(image);
|
||||
SelectedAnnotationName.Text = ann.Name;
|
||||
SwitchTab(toEditor: true);
|
||||
|
||||
ExplorerEditor.RemoveAllAnns();
|
||||
|
||||
@@ -94,6 +94,7 @@ public class DatasetExplorerEventHandler(
|
||||
break;
|
||||
case PlaybackControlEnum.Close:
|
||||
datasetExplorer.SwitchTab(toEditor: false);
|
||||
datasetExplorer.SelectedAnnotationName.Text = "";
|
||||
break;
|
||||
case PlaybackControlEnum.ValidateAnnotations:
|
||||
var annotations = datasetExplorer.ThumbnailsView.SelectedItems.Cast<AnnotationThumbnail>()
|
||||
|
||||
Reference in New Issue
Block a user