Files
Aaru/DiscImageChef.Gui/Forms/frmDump.xeto

111 lines
6.2 KiB
Plaintext
Raw Normal View History

2018-09-30 22:29:52 +01:00
<?xml version="1.0" encoding="UTF-8"?><!--
// /***************************************************************************
// The Disc Image Chef
// ============================================================================
//
2018-12-29 15:26:00 +00:00
// Filename : frmDump.xeto
2018-09-30 22:29:52 +01:00
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
2018-12-29 15:26:00 +00:00
// Component : Media dump window.
2018-09-30 22:29:52 +01:00
//
// ==[ Description ] ==========================================================
//
2018-12-29 15:26:00 +00:00
// Defines the structure for the media dump GUI window.
2018-09-30 22:29:52 +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/>.
//
// ============================================================================
2018-12-29 17:34:38 +00:00
// Copyright © 2011-2019 Natalia Portillo
2018-09-30 22:29:52 +01:00
// ****************************************************************************/
-->
2019-04-21 11:04:36 +01:00
<Form xmlns="http://schema.picoe.ca/eto.forms" Title="DiscImageChef" ClientSize="600, 450" Padding="10">
2018-09-30 22:29:52 +01:00
<StackLayout Orientation="Vertical" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch">
2019-04-21 11:04:36 +01:00
<StackLayout Orientation="Vertical" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"
ID="stkOptions">
<Label Text="Output format"/>
<ComboBox ID="cmbFormat" ReadOnly="True" SelectedIndexChanged="OnCmbFormatSelectedIndexChanged"/>
<StackLayout Orientation="Horizontal" HorizontalContentAlignment="Stretch"
VerticalContentAlignment="Stretch">
<StackLayoutItem Expand="True">
<TextBox ID="txtDestination" ReadOnly="True"/>
</StackLayoutItem>
<Button ID="btnDestination" Text="Choose..." Click="OnBtnDestinationClick" Enabled="False"/>
</StackLayout>
<CheckBox ID="chkStopOnError" Text="Stop media dump on first error"/>
<CheckBox ID="chkForce" Text="Continue dumping whatever happens"/>
<StackLayout Orientation="Horizontal" HorizontalContentAlignment="Stretch"
VerticalContentAlignment="Stretch">
<NumericStepper ID="stpRetries" MinValue="0"/>
<Label Text="Retry passes"/>
</StackLayout>
<CheckBox ID="chkPersistent" Text="Try to recover partial or incorrect data"/>
<CheckBox ID="chkResume" Text="Create/use resume mapfile" CheckedChanged="OnChkResumeCheckedChanged"/>
<CheckBox ID="chkTrack1Pregap" Text="Try to read track 1 pregap"/>
<StackLayout Orientation="Horizontal" HorizontalContentAlignment="Stretch"
VerticalContentAlignment="Stretch">
<NumericStepper ID="stpSkipped" MinValue="1"/>
<Label Text="Skipped sectors on error"/>
</StackLayout>
<CheckBox ID="chkSidecar" Text="Create CICM XML metadata sidecar"
CheckedChanged="OnChkSidecarCheckedChanged"/>
<CheckBox ID="chkTrim" Text="Trim errors from skipped sectors"/>
<CheckBox ID="chkExistingMetadata" Text="Take metadata from existing CICM XML sidecar"
CheckedChanged="OnChkExistingMetadataCheckedChanged"/>
<Label ID="lblEncoding" Text="Encoding to use on metadata sidecar creation"/>
<ComboBox ID="cmbEncoding" ReadOnly="True"/>
<GroupBox ID="grpOptions" Text="Options" Visible="False"/>
2018-09-30 22:29:52 +01:00
</StackLayout>
<StackLayout Orientation="Vertical" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"
ID="stkProgress" Visible="False">
<StackLayoutItem HorizontalAlignment="Left" Expand="True">
<StackLayout Orientation="Horizontal">
<Label ID="lblDestinationLabel">Writing image to:</Label>
<Label ID="lblDestination"/>
</StackLayout>
2018-09-30 22:29:52 +01:00
</StackLayoutItem>
<StackLayoutItem Expand="True">
2019-04-21 11:04:36 +01:00
<GroupBox Text="Log">
<TextArea ID="txtLog" ReadOnly="True"/>
</GroupBox>
2018-09-30 22:29:52 +01:00
</StackLayoutItem>
<StackLayout Orientation="Vertical" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"
ID="stkProgress1" Visible="False">
<StackLayoutItem HorizontalAlignment="Center" Expand="True">
<Label ID="lblProgress"/>
</StackLayoutItem>
<StackLayoutItem HorizontalAlignment="Center" Expand="True">
<ProgressBar ID="prgProgress"/>
</StackLayoutItem>
</StackLayout>
<StackLayout Orientation="Vertical" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"
ID="stkProgress2" Visible="False">
<StackLayoutItem HorizontalAlignment="Center" Expand="True">
<Label ID="lblProgress2"/>
</StackLayoutItem>
<StackLayoutItem HorizontalAlignment="Center" Expand="True">
<ProgressBar ID="prgProgress2"/>
</StackLayoutItem>
</StackLayout>
2018-09-30 22:29:52 +01:00
</StackLayout>
<StackLayoutItem HorizontalAlignment="Right" Expand="True">
<StackLayout Orientation="Horizontal" HorizontalContentAlignment="Right" VerticalContentAlignment="Bottom">
<Button ID="btnStart" Text="Start" Click="OnBtnDumpClick"/>
<Button ID="btnClose" Text="Close" Click="OnBtnCloseClick"/>
<Button ID="btnStop" Text="Stop" Visible="False" Click="OnBtnStopClick"/>
</StackLayout>
</StackLayoutItem>
2018-09-30 22:29:52 +01:00
</StackLayout>
</Form>