2020-04-17 21:45:50 +01:00
|
|
|
|
<!--
|
|
|
|
|
|
// /***************************************************************************
|
|
|
|
|
|
// Aaru Data Preservation Suite
|
|
|
|
|
|
// ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
|
|
|
|
|
|
//
|
|
|
|
|
|
// Filename : CompactDiscInfo.xaml
|
|
|
|
|
|
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
|
|
|
|
|
//
|
|
|
|
|
|
// Component : GUI tabs.
|
|
|
|
|
|
//
|
|
|
|
|
|
// ‐‐[ Description ] ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
|
|
|
|
|
|
//
|
|
|
|
|
|
// Compact Disc tab.
|
|
|
|
|
|
//
|
|
|
|
|
|
// ‐‐[ License ] ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
|
|
|
|
|
|
//
|
|
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
|
|
// it under the terms of the GNU General public License as
|
|
|
|
|
|
// published by the Free Software Foundation, either version 3 of the
|
|
|
|
|
|
// License, or (at your option) any later version.
|
|
|
|
|
|
//
|
|
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
|
// GNU General public License for more details.
|
|
|
|
|
|
//
|
|
|
|
|
|
// You should have received a copy of the GNU General public License
|
|
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
//
|
|
|
|
|
|
// ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
|
|
|
|
|
|
// Copyright © 2011‐2020 Natalia Portillo
|
|
|
|
|
|
// ****************************************************************************/
|
|
|
|
|
|
-->
|
|
|
|
|
|
<UserControl xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
2020-04-12 14:19:12 +01:00
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
2021-08-17 21:23:10 +01:00
|
|
|
|
xmlns:tabs="clr-namespace:Aaru.Gui.ViewModels.Tabs" mc:Ignorable="d" d:DesignWidth="800"
|
|
|
|
|
|
d:DesignHeight="450" x:Class="Aaru.Gui.Views.Tabs.CompactDiscInfo">
|
2020-04-12 14:19:12 +01:00
|
|
|
|
<Design.DataContext>
|
2020-04-16 20:40:25 +01:00
|
|
|
|
<tabs:CompactDiscInfoViewModel />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
</Design.DataContext>
|
|
|
|
|
|
<TabControl>
|
|
|
|
|
|
<TabItem IsVisible="{Binding !!CdInformationText}">
|
|
|
|
|
|
<TabItem.Header>
|
|
|
|
|
|
<TextBlock Text="Information" />
|
|
|
|
|
|
</TabItem.Header>
|
|
|
|
|
|
<StackPanel>
|
|
|
|
|
|
<TextBox IsReadOnly="True" Text="{Binding CdInformationText}" />
|
|
|
|
|
|
<Button Command="{Binding SaveCdInformationCommand}">
|
|
|
|
|
|
<TextBlock Text="Save READ DISC INFORMATION response" />
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
<TabItem IsVisible="{Binding !!CdTocText}">
|
|
|
|
|
|
<TabItem.Header>
|
|
|
|
|
|
<TextBlock Text="TOC" />
|
|
|
|
|
|
</TabItem.Header>
|
|
|
|
|
|
<StackPanel>
|
|
|
|
|
|
<TextBox IsReadOnly="True" Text="{Binding CdTocText}" />
|
|
|
|
|
|
<Button Command="{Binding SaveCdTocCommand}">
|
|
|
|
|
|
<TextBlock Text="Save READ TOC response" />
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
<TabItem IsVisible="{Binding !!CdFullTocText}">
|
|
|
|
|
|
<TabItem.Header>
|
|
|
|
|
|
<TextBlock Text="TOC (full)" />
|
|
|
|
|
|
</TabItem.Header>
|
|
|
|
|
|
<StackPanel>
|
|
|
|
|
|
<TextBox IsReadOnly="True" Text="{Binding CdFullTocText}" />
|
|
|
|
|
|
<Button Command="{Binding SaveCdFullTocCommand}">
|
|
|
|
|
|
<TextBlock Text="Save READ RAW TOC response" />
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
<TabItem IsVisible="{Binding !!CdSessionText}">
|
|
|
|
|
|
<TabItem.Header>
|
|
|
|
|
|
<TextBlock Text="Session" />
|
|
|
|
|
|
</TabItem.Header>
|
|
|
|
|
|
<StackPanel>
|
|
|
|
|
|
<TextBox IsReadOnly="True" Text="{Binding CdSessionText}" />
|
|
|
|
|
|
<Button Command="{Binding SaveCdSessionCommand}">
|
|
|
|
|
|
<TextBlock Text="Save READ SESSION response" />
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
<TabItem IsVisible="{Binding !!CdTextText}">
|
|
|
|
|
|
<TabItem.Header>
|
|
|
|
|
|
<TextBlock Text="CD-TEXT" />
|
|
|
|
|
|
</TabItem.Header>
|
|
|
|
|
|
<StackPanel>
|
|
|
|
|
|
<TextBox IsReadOnly="True" Text="{Binding CdTextText}" />
|
|
|
|
|
|
<Button Command="{Binding SaveCdTextCommand}">
|
|
|
|
|
|
<TextBlock Text="Save Lead-In CD-TEXT" />
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
<TabItem IsVisible="{Binding !!CdAtipText}">
|
|
|
|
|
|
<TabItem.Header>
|
|
|
|
|
|
<TextBlock Text="ATIP" />
|
|
|
|
|
|
</TabItem.Header>
|
|
|
|
|
|
<StackPanel>
|
|
|
|
|
|
<TextBox IsReadOnly="True" Text="{Binding CdAtipText}" />
|
|
|
|
|
|
<Button Command="{Binding SaveCdAtipCommand}">
|
|
|
|
|
|
<TextBlock Text="Save READ ATIP response" />
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
<TabItem IsVisible="{Binding MiscellaneousVisible}">
|
|
|
|
|
|
<TabItem.Header>
|
|
|
|
|
|
<TextBlock Text="Miscellaneous" />
|
|
|
|
|
|
</TabItem.Header>
|
|
|
|
|
|
<StackPanel>
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" IsVisible="{Binding !!McnText}">
|
|
|
|
|
|
<TextBlock Text="Media catalog number" /> <TextBox IsReadOnly="True" Text="{Binding CdAtipText}" />
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel IsVisible="{Binding !!IsrcList.Count}">
|
|
|
|
|
|
<TextBlock Text="ISRCs" />
|
|
|
|
|
|
<DataGrid Items="{Binding IsrcList}">
|
|
|
|
|
|
<DataGrid.Columns>
|
|
|
|
|
|
<DataGridTextColumn Binding="{Binding Track}" Header="Track" />
|
|
|
|
|
|
<DataGridTextColumn Binding="{Binding ISRC}" Header="Isrc" />
|
|
|
|
|
|
</DataGrid.Columns>
|
|
|
|
|
|
</DataGrid>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
<Button Command="{Binding SaveCdPmaCommand}" IsVisible="{Binding CdPmaVisible}">
|
|
|
|
|
|
<TextBlock Text="Save READ PMA response" />
|
|
|
|
|
|
</Button>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
</TabControl>
|
|
|
|
|
|
</UserControl>
|