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/>.
|
|
|
|
|
|
//
|
|
|
|
|
|
// ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
|
2024-12-19 10:45:18 +00:00
|
|
|
|
// Copyright © 2011-2025 Natalia Portillo
|
2020-04-17 21:45:50 +01:00
|
|
|
|
// ****************************************************************************/
|
|
|
|
|
|
-->
|
2024-05-01 04:05:22 +01:00
|
|
|
|
<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"
|
2024-05-01 04:05:22 +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>
|
2022-11-16 21:40:54 +00:00
|
|
|
|
<TextBlock Text="{Binding CdInformationLabel}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
</TabItem.Header>
|
|
|
|
|
|
<StackPanel>
|
2024-05-01 04:05:22 +01:00
|
|
|
|
<TextBox IsReadOnly="True"
|
|
|
|
|
|
Text="{Binding CdInformationText}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
<Button Command="{Binding SaveCdInformationCommand}">
|
2022-11-16 21:40:54 +00:00
|
|
|
|
<TextBlock Text="{Binding SaveCdInformationLabel}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
</Button>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
<TabItem IsVisible="{Binding !!CdTocText}">
|
|
|
|
|
|
<TabItem.Header>
|
2022-11-16 21:40:54 +00:00
|
|
|
|
<TextBlock Text="{Binding CdTocLabel}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
</TabItem.Header>
|
|
|
|
|
|
<StackPanel>
|
2024-05-01 04:05:22 +01:00
|
|
|
|
<TextBox IsReadOnly="True"
|
|
|
|
|
|
Text="{Binding CdTocText}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
<Button Command="{Binding SaveCdTocCommand}">
|
2022-11-16 21:40:54 +00:00
|
|
|
|
<TextBlock Text="{Binding SaveCdTocLabel}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
</Button>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
<TabItem IsVisible="{Binding !!CdFullTocText}">
|
|
|
|
|
|
<TabItem.Header>
|
2022-11-16 21:40:54 +00:00
|
|
|
|
<TextBlock Text="{Binding CdFullTocLabel}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
</TabItem.Header>
|
|
|
|
|
|
<StackPanel>
|
2024-05-01 04:05:22 +01:00
|
|
|
|
<TextBox IsReadOnly="True"
|
|
|
|
|
|
Text="{Binding CdFullTocText}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
<Button Command="{Binding SaveCdFullTocCommand}">
|
2022-11-16 21:40:54 +00:00
|
|
|
|
<TextBlock Text="{Binding SaveCdFullTocLabel}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
</Button>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
<TabItem IsVisible="{Binding !!CdSessionText}">
|
|
|
|
|
|
<TabItem.Header>
|
2022-11-16 21:40:54 +00:00
|
|
|
|
<TextBlock Text="{Binding CdSessionLabel}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
</TabItem.Header>
|
|
|
|
|
|
<StackPanel>
|
2024-05-01 04:05:22 +01:00
|
|
|
|
<TextBox IsReadOnly="True"
|
|
|
|
|
|
Text="{Binding CdSessionText}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
<Button Command="{Binding SaveCdSessionCommand}">
|
2022-11-16 21:40:54 +00:00
|
|
|
|
<TextBlock Text="{Binding SaveCdSessionLabel}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
</Button>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
<TabItem IsVisible="{Binding !!CdTextText}">
|
|
|
|
|
|
<TabItem.Header>
|
2022-11-16 21:40:54 +00:00
|
|
|
|
<TextBlock Text="{Binding CdTextLabel}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
</TabItem.Header>
|
|
|
|
|
|
<StackPanel>
|
2024-05-01 04:05:22 +01:00
|
|
|
|
<TextBox IsReadOnly="True"
|
|
|
|
|
|
Text="{Binding CdTextText}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
<Button Command="{Binding SaveCdTextCommand}">
|
2022-11-16 21:40:54 +00:00
|
|
|
|
<TextBlock Text="{Binding SaveCdTextLabel}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
</Button>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
<TabItem IsVisible="{Binding !!CdAtipText}">
|
|
|
|
|
|
<TabItem.Header>
|
2022-11-16 21:40:54 +00:00
|
|
|
|
<TextBlock Text="{Binding CdAtipLabel}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
</TabItem.Header>
|
|
|
|
|
|
<StackPanel>
|
2024-05-01 04:05:22 +01:00
|
|
|
|
<TextBox IsReadOnly="True"
|
|
|
|
|
|
Text="{Binding CdAtipText}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
<Button Command="{Binding SaveCdAtipCommand}">
|
2022-11-16 21:40:54 +00:00
|
|
|
|
<TextBlock Text="{Binding SaveCdAtipLabel}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
</Button>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
<TabItem IsVisible="{Binding MiscellaneousVisible}">
|
|
|
|
|
|
<TabItem.Header>
|
2022-11-16 21:40:54 +00:00
|
|
|
|
<TextBlock Text="{Binding MiscellaneousLabel}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
</TabItem.Header>
|
|
|
|
|
|
<StackPanel>
|
2024-05-01 04:05:22 +01:00
|
|
|
|
<StackPanel Orientation="Horizontal"
|
|
|
|
|
|
IsVisible="{Binding !!McnText}">
|
|
|
|
|
|
<TextBlock Text="{Binding McnLabel}" />
|
|
|
|
|
|
<TextBox IsReadOnly="True"
|
|
|
|
|
|
Text="{Binding McnText}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel IsVisible="{Binding !!IsrcList.Count}">
|
2023-10-05 01:52:48 +01:00
|
|
|
|
<TextBlock Text="{Binding IsrCsLabel}" />
|
2023-09-25 22:58:48 +01:00
|
|
|
|
<DataGrid ItemsSource="{Binding IsrcList}">
|
2020-04-12 14:19:12 +01:00
|
|
|
|
<DataGrid.Columns>
|
2024-05-01 04:05:22 +01:00
|
|
|
|
<DataGridTextColumn Binding="{Binding Track}"
|
|
|
|
|
|
Header="{Binding TrackLabel}" />
|
|
|
|
|
|
<DataGridTextColumn Binding="{Binding ISRC}"
|
|
|
|
|
|
Header="{Binding ISRCLabel}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
</DataGrid.Columns>
|
|
|
|
|
|
</DataGrid>
|
|
|
|
|
|
</StackPanel>
|
2024-05-01 04:05:22 +01:00
|
|
|
|
<Button Command="{Binding SaveCdPmaCommand}"
|
|
|
|
|
|
IsVisible="{Binding CdPmaVisible}">
|
2022-11-16 21:40:54 +00:00
|
|
|
|
<TextBlock Text="{Binding SaveCdPmaLabel}" />
|
2020-04-12 14:19:12 +01:00
|
|
|
|
</Button>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
</TabControl>
|
|
|
|
|
|
</UserControl>
|