Files
Aaru/Aaru.Gui/Views/Windows/ViewSector.xaml

53 lines
3.1 KiB
Plaintext
Raw Normal View History

<!--
// /***************************************************************************
2020-04-17 21:45:50 +01:00
// Aaru Data Preservation Suite
//
//
2020-04-17 21:45:50 +01:00
// Filename : ViewSector.xaml
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
2020-04-17 21:45:50 +01:00
// Component : GUI windows.
//
2020-04-17 21:45:50 +01:00
// [ Description ]
//
2020-04-17 21:45:50 +01:00
// Sector viewing window.
//
2020-04-17 21:45:50 +01:00
// [ 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/>.
//
2020-04-17 21:45:50 +01:00
//
// Copyright © 20112020 Natalia Portillo
// ****************************************************************************/
-->
<Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
2020-04-16 20:40:25 +01:00
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:windows="clr-namespace:Aaru.Gui.ViewModels.Windows" mc:Ignorable="d" d:DesignWidth="800"
2020-04-16 21:29:40 +01:00
d:DesignHeight="450" Width="480" Height="320" x:Class="Aaru.Gui.Views.Windows.ViewSector"
Icon="/Assets/aaru-logo.png" CanResize="False" Title="{Binding Title}">
<Design.DataContext>
2020-04-16 20:40:25 +01:00
<windows:ViewSectorViewModel />
</Design.DataContext>
<StackPanel Orientation="Vertical">
<StackPanel Orientation="Horizontal">
<TextBlock Text="Sector" /> <NumericUpDown Value="{Binding SectorNumber}" />
<TextBlock Text="{Binding TotalSectorsText}" />
</StackPanel>
<CheckBox IsChecked="{Binding LongSectorChecked}" IsVisible="{Binding LongSectorVisible}">
<TextBlock Text="Show long sector" />
</CheckBox>
<TextBox IsReadOnly="True" Text="{Binding PrintHexText}" />
</StackPanel>
</Window>