From 261d6942f03fe870700fe2a53d4dcc29452ce515 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Thu, 15 Mar 2018 17:29:10 +0000 Subject: [PATCH] Add tooltips to GUI. --- osrepodbmgr.Eto/dlgAdd.xeto.cs | 22 ++++++++++++++++++ osrepodbmgr.Eto/dlgBlockMedia.xeto.cs | 32 ++++++++++++++++++++++++++ osrepodbmgr.Eto/dlgMetadata.xeto.cs | 10 ++++++++ osrepodbmgr.Eto/dlgOpticalDisc.xeto.cs | 23 ++++++++++++++++++ 4 files changed, 87 insertions(+) diff --git a/osrepodbmgr.Eto/dlgAdd.xeto.cs b/osrepodbmgr.Eto/dlgAdd.xeto.cs index c07f4c4..4a1d2b1 100644 --- a/osrepodbmgr.Eto/dlgAdd.xeto.cs +++ b/osrepodbmgr.Eto/dlgAdd.xeto.cs @@ -174,6 +174,28 @@ namespace osrepodbmgr.Eto }); treeOSes.AllowMultipleSelection = false; + + txtArchitecture.ToolTip = "This field contains a comma separated list of architectures the operating system can run on. To edit its contents use the metadata editor."; + txtDescription.ToolTip = "This field contains a free-form text description of this operating system."; + txtDeveloper.ToolTip = "This field contains the developer of the operating system."; + txtFormat.ToolTip = "This field is contains the name of the format of the disk images, when it is not a byte-by-byte format like .iso or .img."; + txtLanguages.ToolTip = "This field contains a comma separated list of languages the operating sysetm includes."; + txtProduct.ToolTip = "This field contains the operating system name."; + txtMachine.ToolTip = "This field contains a comma separated list of computers this operating system can run on."; + txtVersion.ToolTip = "This field contains the operating system version."; + chkFiles.ToolTip = "If this field is checked it indicates the operating system is already installed."; + chkNetinstall.ToolTip = "If this field is checked it indicates the operating system comes as an installer (one or several files), but it's not installed neither disk images."; + chkOem.ToolTip = "If this field is checked it indicates the operating system came bundled with hardware (aka OEM distributed)."; + chkSource.ToolTip = "If this field is checked it indicates this is the source code for the operating system."; + chkUpdate.ToolTip = "If this field is checked it indicates this version is a minor version update that requires a previous version of the operating system already installed."; + chkUpgrade.ToolTip = "If this field is checked it indicates this version is a major version upgrade that requires a previous version of the operating system already installed."; + txtArchitecture.ReadOnly = true; + txtDeveloper.ReadOnly = true; + txtFormat.ReadOnly = true; + txtLanguages.ReadOnly = true; + txtProduct.ReadOnly = true; + txtMachine.ReadOnly = true; + txtVersion.ReadOnly = true; } public event OnAddedOSDelegate OnAddedOS; diff --git a/osrepodbmgr.Eto/dlgBlockMedia.xeto.cs b/osrepodbmgr.Eto/dlgBlockMedia.xeto.cs index 9fdc6eb..e424ae7 100644 --- a/osrepodbmgr.Eto/dlgBlockMedia.xeto.cs +++ b/osrepodbmgr.Eto/dlgBlockMedia.xeto.cs @@ -591,6 +591,38 @@ namespace osrepodbmgr.Eto }); treeAdditionalInformation.DataStore = lstAdditionalInformation; treeAdditionalInformation.AllowMultipleSelection = false; + + txtImage.ToolTip = "This is the disk image containing this media."; + txtFormat.ToolTip = "This is the format of the disk image."; + txtOffset.ToolTip = "Byte offset where the media dump starts in the disk image."; + txtSize.ToolTip = "Size of the disk dump."; + txtManufacturer.ToolTip = "Disk manufacturer."; + txtModel.ToolTip = "Disk model."; + txtSerial.ToolTip = "Disk serial number."; + txtFirmware.ToolTip = "Disk firmware revision."; + txtInterface.ToolTip = "Disk interface."; + txtCopyProtection.ToolTip = "Disk copy protection."; + txtMediaType.ToolTip = "Disk type."; + txtMediaSubtype.ToolTip = "Disk subtype."; + chkSequence.ToolTip = "If checked means this disk is one in a sequence of several."; + txtMediaTitle.ToolTip = "Title of disk."; + spSequence.ToolTip = "Number of this disk in the sequence."; + spTotalMedia.ToolTip = "How many disks make the sequence."; + spSide.ToolTip = "On flippy disks, which side of the disk is represented by this dump."; + spLayer.ToolTip = "On PTP layered disks, which layer of the side of the disk is represented by this dump."; + txtBlocks.ToolTip = "How many individual blocks (sectors) are in this dump."; + spPhysicalBlockSize.ToolTip = "Size of the biggest physical block in bytes."; + spLogicalBlockSize.ToolTip = "Size of the biggest logical block in bytes."; + spCylinders.ToolTip = "Cylinders of disk."; + spHeads.ToolTip = "Heads of disk."; + spSectors.ToolTip = "Sectors per track of disk."; + chkDimensions.ToolTip = "If checked, physical dimensions of disk are known."; + chkRound.ToolTip = "If checked, disk is physicaly round."; + spDiameter.ToolTip = "Diameter in milimeters of disk."; + spHeight.ToolTip = "Height in milimeters of disk."; + spWidth.ToolTip = "Width in milimeters of disk."; + spThickness.ToolTip = "Thickness in milimeters of disk."; + chkATA.ToolTip = "If checked, disk dump contains ATA(PI) IDENTIFY information."; } public void FillFields() diff --git a/osrepodbmgr.Eto/dlgMetadata.xeto.cs b/osrepodbmgr.Eto/dlgMetadata.xeto.cs index 71a3d79..94c20bd 100644 --- a/osrepodbmgr.Eto/dlgMetadata.xeto.cs +++ b/osrepodbmgr.Eto/dlgMetadata.xeto.cs @@ -183,6 +183,16 @@ namespace osrepodbmgr.Eto FillLanguagesCombo(); FillArchitecturesCombo(); FillFilesCombos(); + + txtDeveloper.ToolTip = "Who developed the operating system."; + txtPublisher.ToolTip = "Who published the operating system."; + txtAuthor.ToolTip = "Author of the audiovisual media."; + txtPerformer.ToolTip = "Performer of the audiovisual media."; + txtName.ToolTip = "Operating system name."; + txtVersion.ToolTip = "Operating system version."; + txtPartNumber.ToolTip = "Part number of the operating system distribution."; + txtSerialNumber.ToolTip = + "Serial number of the operating system distribution. Not to be confused with serial number required to install."; } void FillBarcodeCombo() diff --git a/osrepodbmgr.Eto/dlgOpticalDisc.xeto.cs b/osrepodbmgr.Eto/dlgOpticalDisc.xeto.cs index 488bcae..c0bb8c5 100644 --- a/osrepodbmgr.Eto/dlgOpticalDisc.xeto.cs +++ b/osrepodbmgr.Eto/dlgOpticalDisc.xeto.cs @@ -822,6 +822,29 @@ namespace osrepodbmgr.Eto spExtentStart.MaxValue = double.MaxValue; spExtentEnd.MaxValue = double.MaxValue; + + txtImage.ToolTip = "This is the disc image containing this media."; + txtFormat.ToolTip = "This is the format of the disc image."; + txtOffset.ToolTip = "Byte offset where the media dump starts in the disc image."; + txtSize.ToolTip = "Size of the disc dump."; + txtWriteOffset.ToolTip = "Write offset in bytes (can be negative)."; + txtMediaTracks.ToolTip = "How many tracks?"; + txtMediaSessions.ToolTip = "How many sessions?"; + txtCopyProtection.ToolTip = "Disc copy protection."; + txtDiscType.ToolTip = "Disc type."; + txtDiscSubtype.ToolTip = "Disc subtype."; + chkSequence.ToolTip = "If checked means this disc is one in a sequence of several."; + txtDiscTitle.ToolTip = "Title of disc."; + spSequence.ToolTip = "Number of this disc in the sequence."; + spTotalMedia.ToolTip = "How many diskc make the sequence."; + spSide.ToolTip = "On double sided discs, which side of the disc is represented by this dump."; + spLayer.ToolTip = "On PTP layered discs, which layer of the side of the disc is represented by this dump."; + chkDimensions.ToolTip = "If checked, physical dimensions of disk are known."; + chkRound.ToolTip = "If checked, disk is physicaly round."; + spDiameter.ToolTip = "Diameter in milimeters of disk."; + spHeight.ToolTip = "Height in milimeters of disk."; + spWidth.ToolTip = "Width in milimeters of disk."; + spThickness.ToolTip = "Thickness in milimeters of disk."; } public void FillFields()