mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
Work on EBU STL preview (show/hide box) - thx BlueMeow7 :)
Work on #8045
This commit is contained in:
parent
e73b79c8f1
commit
66ca5566ec
@ -6,6 +6,7 @@ using Nikse.SubtitleEdit.Logic.VideoPlayers;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Nikse.SubtitleEdit.Controls
|
||||
@ -545,11 +546,35 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
|
||||
if (oldSub.Header != null && oldSub.Header.Length > 20 && oldSub.Header.Substring(3, 3) == "STL")
|
||||
{
|
||||
subtitle.Header = subtitle.Header.Replace("Style: Default,", "Style: Box,arial,20,&H00FFFFFF,&H0300FFFF,&H00000000,&H02000000,0,0,0,0,100,100,0,0,3,2,0,2,10,10,10,1" +
|
||||
subtitle.Header = subtitle.Header.Replace("Style: Default,", "Style: Box," +
|
||||
Configuration.Settings.General.VideoPlayerPreviewFontName + "," +
|
||||
Configuration.Settings.General.VideoPlayerPreviewFontSize + ",&H00FFFFFF,&H0300FFFF,&H00000000,&H02000000," +
|
||||
(Configuration.Settings.General.VideoPlayerPreviewFontBold ? "-1" : "0") + ",0,0,0,100,100,0,0,3,2,0,2,10,10,10,1" +
|
||||
Environment.NewLine + "Style: Default,");
|
||||
for (var index = 0; index < subtitle.Paragraphs.Count; index++)
|
||||
{
|
||||
var p = subtitle.Paragraphs[index];
|
||||
|
||||
p.Extra = "Default";
|
||||
|
||||
if (Configuration.Settings.SubtitleSettings.EbuStlTeletextUseBox)
|
||||
{
|
||||
try
|
||||
{
|
||||
var encoding = Ebu.GetEncoding(oldSub.Header.Substring(0, 3));
|
||||
var buffer = encoding.GetBytes(oldSub.Header);
|
||||
var header = Ebu.ReadHeader(buffer);
|
||||
if (header.DisplayStandardCode != "0")
|
||||
{
|
||||
p.Extra = "Box";
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
|
||||
if (p.Text.Contains("<box>"))
|
||||
{
|
||||
p.Extra = "Box";
|
||||
|
142
src/ui/Forms/AudioToText/WhisperAudioToText.Designer.cs
generated
142
src/ui/Forms/AudioToText/WhisperAudioToText.Designer.cs
generated
@ -36,9 +36,11 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
this.labelInfo = new System.Windows.Forms.Label();
|
||||
this.groupBoxModels = new System.Windows.Forms.GroupBox();
|
||||
this.labelChooseLanguage = new System.Windows.Forms.Label();
|
||||
this.comboBoxLanguages = new Nikse.SubtitleEdit.Controls.NikseComboBox();
|
||||
this.buttonDownload = new System.Windows.Forms.Button();
|
||||
this.linkLabelOpenModelsFolder = new System.Windows.Forms.LinkLabel();
|
||||
this.labelModel = new System.Windows.Forms.Label();
|
||||
this.comboBoxModels = new Nikse.SubtitleEdit.Controls.NikseComboBox();
|
||||
this.linkLabeWhisperWebSite = new System.Windows.Forms.LinkLabel();
|
||||
this.labelTime = new System.Windows.Forms.Label();
|
||||
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
||||
@ -67,8 +69,6 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
this.labelAdvanced = new System.Windows.Forms.Label();
|
||||
this.linkLabelPostProcessingConfigure = new System.Windows.Forms.LinkLabel();
|
||||
this.comboBoxWhisperEngine = new Nikse.SubtitleEdit.Controls.NikseComboBox();
|
||||
this.comboBoxLanguages = new Nikse.SubtitleEdit.Controls.NikseComboBox();
|
||||
this.comboBoxModels = new Nikse.SubtitleEdit.Controls.NikseComboBox();
|
||||
this.textBoxLog = new Nikse.SubtitleEdit.Controls.NikseTextBox();
|
||||
this.groupBoxModels.SuspendLayout();
|
||||
this.groupBoxInputFiles.SuspendLayout();
|
||||
@ -80,9 +80,9 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.buttonCancel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.buttonCancel.Location = new System.Drawing.Point(622, 457);
|
||||
this.buttonCancel.Location = new System.Drawing.Point(628, 464);
|
||||
this.buttonCancel.Name = "buttonCancel";
|
||||
this.buttonCancel.Size = new System.Drawing.Size(75, 23);
|
||||
this.buttonCancel.Size = new System.Drawing.Size(95, 23);
|
||||
this.buttonCancel.TabIndex = 94;
|
||||
this.buttonCancel.Text = "C&ancel";
|
||||
this.buttonCancel.UseVisualStyleBackColor = true;
|
||||
@ -92,7 +92,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
//
|
||||
this.buttonGenerate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonGenerate.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.buttonGenerate.Location = new System.Drawing.Point(373, 457);
|
||||
this.buttonGenerate.Location = new System.Drawing.Point(379, 464);
|
||||
this.buttonGenerate.Name = "buttonGenerate";
|
||||
this.buttonGenerate.Size = new System.Drawing.Size(125, 23);
|
||||
this.buttonGenerate.TabIndex = 90;
|
||||
@ -104,9 +104,9 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
//
|
||||
this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.progressBar1.Location = new System.Drawing.Point(12, 457);
|
||||
this.progressBar1.Location = new System.Drawing.Point(12, 464);
|
||||
this.progressBar1.Name = "progressBar1";
|
||||
this.progressBar1.Size = new System.Drawing.Size(355, 12);
|
||||
this.progressBar1.Size = new System.Drawing.Size(361, 12);
|
||||
this.progressBar1.TabIndex = 7;
|
||||
this.progressBar1.Visible = false;
|
||||
//
|
||||
@ -114,7 +114,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
//
|
||||
this.labelProgress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.labelProgress.AutoSize = true;
|
||||
this.labelProgress.Location = new System.Drawing.Point(12, 439);
|
||||
this.labelProgress.Location = new System.Drawing.Point(12, 446);
|
||||
this.labelProgress.Name = "labelProgress";
|
||||
this.labelProgress.Size = new System.Drawing.Size(70, 13);
|
||||
this.labelProgress.TabIndex = 6;
|
||||
@ -141,7 +141,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
this.groupBoxModels.Controls.Add(this.comboBoxModels);
|
||||
this.groupBoxModels.Location = new System.Drawing.Point(15, 59);
|
||||
this.groupBoxModels.Name = "groupBoxModels";
|
||||
this.groupBoxModels.Size = new System.Drawing.Size(682, 83);
|
||||
this.groupBoxModels.Size = new System.Drawing.Size(708, 83);
|
||||
this.groupBoxModels.TabIndex = 10;
|
||||
this.groupBoxModels.TabStop = false;
|
||||
this.groupBoxModels.Text = "Language and models";
|
||||
@ -155,6 +155,30 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
this.labelChooseLanguage.TabIndex = 4;
|
||||
this.labelChooseLanguage.Text = "Choose language";
|
||||
//
|
||||
// comboBoxLanguages
|
||||
//
|
||||
this.comboBoxLanguages.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.comboBoxLanguages.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
|
||||
this.comboBoxLanguages.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179)))));
|
||||
this.comboBoxLanguages.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120)))));
|
||||
this.comboBoxLanguages.ButtonForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.comboBoxLanguages.ButtonForeColorDown = System.Drawing.Color.Orange;
|
||||
this.comboBoxLanguages.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215)))));
|
||||
this.comboBoxLanguages.DropDownHeight = 400;
|
||||
this.comboBoxLanguages.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBoxLanguages.DropDownWidth = 240;
|
||||
this.comboBoxLanguages.FormattingEnabled = true;
|
||||
this.comboBoxLanguages.Location = new System.Drawing.Point(6, 44);
|
||||
this.comboBoxLanguages.MaxLength = 32767;
|
||||
this.comboBoxLanguages.Name = "comboBoxLanguages";
|
||||
this.comboBoxLanguages.SelectedIndex = -1;
|
||||
this.comboBoxLanguages.SelectedItem = null;
|
||||
this.comboBoxLanguages.SelectedText = "";
|
||||
this.comboBoxLanguages.Size = new System.Drawing.Size(240, 21);
|
||||
this.comboBoxLanguages.TabIndex = 0;
|
||||
this.comboBoxLanguages.UsePopupWindow = false;
|
||||
this.comboBoxLanguages.SelectedIndexChanged += new System.EventHandler(this.comboBoxLanguages_SelectedIndexChanged);
|
||||
//
|
||||
// buttonDownload
|
||||
//
|
||||
this.buttonDownload.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
@ -186,6 +210,29 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
this.labelModel.TabIndex = 0;
|
||||
this.labelModel.Text = "Choose speech recognition model";
|
||||
//
|
||||
// comboBoxModels
|
||||
//
|
||||
this.comboBoxModels.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.comboBoxModels.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
|
||||
this.comboBoxModels.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179)))));
|
||||
this.comboBoxModels.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120)))));
|
||||
this.comboBoxModels.ButtonForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.comboBoxModels.ButtonForeColorDown = System.Drawing.Color.Orange;
|
||||
this.comboBoxModels.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215)))));
|
||||
this.comboBoxModels.DropDownHeight = 400;
|
||||
this.comboBoxModels.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBoxModels.DropDownWidth = 240;
|
||||
this.comboBoxModels.FormattingEnabled = true;
|
||||
this.comboBoxModels.Location = new System.Drawing.Point(280, 44);
|
||||
this.comboBoxModels.MaxLength = 32767;
|
||||
this.comboBoxModels.Name = "comboBoxModels";
|
||||
this.comboBoxModels.SelectedIndex = -1;
|
||||
this.comboBoxModels.SelectedItem = null;
|
||||
this.comboBoxModels.SelectedText = "";
|
||||
this.comboBoxModels.Size = new System.Drawing.Size(240, 21);
|
||||
this.comboBoxModels.TabIndex = 1;
|
||||
this.comboBoxModels.UsePopupWindow = false;
|
||||
//
|
||||
// linkLabeWhisperWebSite
|
||||
//
|
||||
this.linkLabeWhisperWebSite.AutoSize = true;
|
||||
@ -201,7 +248,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
//
|
||||
this.labelTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.labelTime.AutoSize = true;
|
||||
this.labelTime.Location = new System.Drawing.Point(12, 472);
|
||||
this.labelTime.Location = new System.Drawing.Point(12, 479);
|
||||
this.labelTime.Name = "labelTime";
|
||||
this.labelTime.Size = new System.Drawing.Size(88, 13);
|
||||
this.labelTime.TabIndex = 6;
|
||||
@ -225,7 +272,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
//
|
||||
this.buttonBatchMode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonBatchMode.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.buttonBatchMode.Location = new System.Drawing.Point(504, 457);
|
||||
this.buttonBatchMode.Location = new System.Drawing.Point(510, 464);
|
||||
this.buttonBatchMode.Name = "buttonBatchMode";
|
||||
this.buttonBatchMode.Size = new System.Drawing.Size(112, 23);
|
||||
this.buttonBatchMode.TabIndex = 92;
|
||||
@ -244,7 +291,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
this.groupBoxInputFiles.Controls.Add(this.listViewInputFiles);
|
||||
this.groupBoxInputFiles.Location = new System.Drawing.Point(15, 246);
|
||||
this.groupBoxInputFiles.Name = "groupBoxInputFiles";
|
||||
this.groupBoxInputFiles.Size = new System.Drawing.Size(682, 169);
|
||||
this.groupBoxInputFiles.Size = new System.Drawing.Size(708, 176);
|
||||
this.groupBoxInputFiles.TabIndex = 30;
|
||||
this.groupBoxInputFiles.TabStop = false;
|
||||
this.groupBoxInputFiles.Text = "Input files";
|
||||
@ -252,7 +299,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
// buttonClear
|
||||
//
|
||||
this.buttonClear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonClear.Location = new System.Drawing.Point(602, 73);
|
||||
this.buttonClear.Location = new System.Drawing.Point(628, 73);
|
||||
this.buttonClear.Name = "buttonClear";
|
||||
this.buttonClear.Size = new System.Drawing.Size(74, 23);
|
||||
this.buttonClear.TabIndex = 3;
|
||||
@ -263,7 +310,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
// buttonRemoveFile
|
||||
//
|
||||
this.buttonRemoveFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonRemoveFile.Location = new System.Drawing.Point(603, 46);
|
||||
this.buttonRemoveFile.Location = new System.Drawing.Point(629, 46);
|
||||
this.buttonRemoveFile.Name = "buttonRemoveFile";
|
||||
this.buttonRemoveFile.Size = new System.Drawing.Size(74, 23);
|
||||
this.buttonRemoveFile.TabIndex = 2;
|
||||
@ -274,7 +321,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
// buttonAddFile
|
||||
//
|
||||
this.buttonAddFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonAddFile.Location = new System.Drawing.Point(603, 19);
|
||||
this.buttonAddFile.Location = new System.Drawing.Point(629, 19);
|
||||
this.buttonAddFile.Name = "buttonAddFile";
|
||||
this.buttonAddFile.Size = new System.Drawing.Size(73, 23);
|
||||
this.buttonAddFile.TabIndex = 1;
|
||||
@ -294,7 +341,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
this.listViewInputFiles.HideSelection = false;
|
||||
this.listViewInputFiles.Location = new System.Drawing.Point(6, 18);
|
||||
this.listViewInputFiles.Name = "listViewInputFiles";
|
||||
this.listViewInputFiles.Size = new System.Drawing.Size(591, 134);
|
||||
this.listViewInputFiles.Size = new System.Drawing.Size(617, 141);
|
||||
this.listViewInputFiles.TabIndex = 0;
|
||||
this.listViewInputFiles.UseCompatibleStateImageBehavior = false;
|
||||
this.listViewInputFiles.View = System.Windows.Forms.View.Details;
|
||||
@ -311,7 +358,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
//
|
||||
this.labelFC.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.labelFC.ForeColor = System.Drawing.Color.Gray;
|
||||
this.labelFC.Location = new System.Drawing.Point(247, 472);
|
||||
this.labelFC.Location = new System.Drawing.Point(253, 479);
|
||||
this.labelFC.Name = "labelFC";
|
||||
this.labelFC.Size = new System.Drawing.Size(120, 17);
|
||||
this.labelFC.TabIndex = 19;
|
||||
@ -331,7 +378,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
// labelElapsed
|
||||
//
|
||||
this.labelElapsed.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.labelElapsed.Location = new System.Drawing.Point(215, 438);
|
||||
this.labelElapsed.Location = new System.Drawing.Point(215, 445);
|
||||
this.labelElapsed.Name = "labelElapsed";
|
||||
this.labelElapsed.Size = new System.Drawing.Size(152, 13);
|
||||
this.labelElapsed.TabIndex = 22;
|
||||
@ -413,7 +460,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
//
|
||||
this.labelEngine.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.labelEngine.AutoSize = true;
|
||||
this.labelEngine.Location = new System.Drawing.Point(475, 12);
|
||||
this.labelEngine.Location = new System.Drawing.Point(501, 12);
|
||||
this.labelEngine.Name = "labelEngine";
|
||||
this.labelEngine.Size = new System.Drawing.Size(40, 13);
|
||||
this.labelEngine.TabIndex = 27;
|
||||
@ -422,7 +469,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
// buttonAdvanced
|
||||
//
|
||||
this.buttonAdvanced.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonAdvanced.Location = new System.Drawing.Point(541, 147);
|
||||
this.buttonAdvanced.Location = new System.Drawing.Point(567, 147);
|
||||
this.buttonAdvanced.Name = "buttonAdvanced";
|
||||
this.buttonAdvanced.Size = new System.Drawing.Size(156, 23);
|
||||
this.buttonAdvanced.TabIndex = 28;
|
||||
@ -434,7 +481,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
//
|
||||
this.labelAdvanced.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.labelAdvanced.AutoSize = true;
|
||||
this.labelAdvanced.Location = new System.Drawing.Point(541, 177);
|
||||
this.labelAdvanced.Location = new System.Drawing.Point(567, 177);
|
||||
this.labelAdvanced.Name = "labelAdvanced";
|
||||
this.labelAdvanced.Size = new System.Drawing.Size(65, 13);
|
||||
this.labelAdvanced.TabIndex = 29;
|
||||
@ -465,7 +512,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
this.comboBoxWhisperEngine.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBoxWhisperEngine.DropDownWidth = 180;
|
||||
this.comboBoxWhisperEngine.FormattingEnabled = false;
|
||||
this.comboBoxWhisperEngine.Location = new System.Drawing.Point(521, 9);
|
||||
this.comboBoxWhisperEngine.Location = new System.Drawing.Point(547, 9);
|
||||
this.comboBoxWhisperEngine.MaxLength = 32767;
|
||||
this.comboBoxWhisperEngine.Name = "comboBoxWhisperEngine";
|
||||
this.comboBoxWhisperEngine.SelectedIndex = -1;
|
||||
@ -476,53 +523,6 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
this.comboBoxWhisperEngine.UsePopupWindow = false;
|
||||
this.comboBoxWhisperEngine.SelectedIndexChanged += new System.EventHandler(this.comboBoxWhisperEngine_SelectedIndexChanged);
|
||||
//
|
||||
// comboBoxLanguages
|
||||
//
|
||||
this.comboBoxLanguages.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.comboBoxLanguages.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
|
||||
this.comboBoxLanguages.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179)))));
|
||||
this.comboBoxLanguages.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120)))));
|
||||
this.comboBoxLanguages.ButtonForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.comboBoxLanguages.ButtonForeColorDown = System.Drawing.Color.Orange;
|
||||
this.comboBoxLanguages.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215)))));
|
||||
this.comboBoxLanguages.DropDownHeight = 400;
|
||||
this.comboBoxLanguages.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBoxLanguages.DropDownWidth = 240;
|
||||
this.comboBoxLanguages.FormattingEnabled = true;
|
||||
this.comboBoxLanguages.Location = new System.Drawing.Point(6, 44);
|
||||
this.comboBoxLanguages.MaxLength = 32767;
|
||||
this.comboBoxLanguages.Name = "comboBoxLanguages";
|
||||
this.comboBoxLanguages.SelectedIndex = -1;
|
||||
this.comboBoxLanguages.SelectedItem = null;
|
||||
this.comboBoxLanguages.SelectedText = "";
|
||||
this.comboBoxLanguages.Size = new System.Drawing.Size(240, 21);
|
||||
this.comboBoxLanguages.TabIndex = 0;
|
||||
this.comboBoxLanguages.UsePopupWindow = false;
|
||||
this.comboBoxLanguages.SelectedIndexChanged += new System.EventHandler(this.comboBoxLanguages_SelectedIndexChanged);
|
||||
//
|
||||
// comboBoxModels
|
||||
//
|
||||
this.comboBoxModels.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.comboBoxModels.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
|
||||
this.comboBoxModels.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179)))));
|
||||
this.comboBoxModels.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120)))));
|
||||
this.comboBoxModels.ButtonForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.comboBoxModels.ButtonForeColorDown = System.Drawing.Color.Orange;
|
||||
this.comboBoxModels.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215)))));
|
||||
this.comboBoxModels.DropDownHeight = 400;
|
||||
this.comboBoxModels.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBoxModels.DropDownWidth = 240;
|
||||
this.comboBoxModels.FormattingEnabled = true;
|
||||
this.comboBoxModels.Location = new System.Drawing.Point(280, 44);
|
||||
this.comboBoxModels.MaxLength = 32767;
|
||||
this.comboBoxModels.Name = "comboBoxModels";
|
||||
this.comboBoxModels.SelectedIndex = -1;
|
||||
this.comboBoxModels.SelectedItem = null;
|
||||
this.comboBoxModels.SelectedText = "";
|
||||
this.comboBoxModels.Size = new System.Drawing.Size(240, 21);
|
||||
this.comboBoxModels.TabIndex = 1;
|
||||
this.comboBoxModels.UsePopupWindow = false;
|
||||
//
|
||||
// textBoxLog
|
||||
//
|
||||
this.textBoxLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
@ -534,14 +534,14 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
this.textBoxLog.Name = "textBoxLog";
|
||||
this.textBoxLog.ReadOnly = true;
|
||||
this.textBoxLog.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||
this.textBoxLog.Size = new System.Drawing.Size(168, 65);
|
||||
this.textBoxLog.Size = new System.Drawing.Size(194, 72);
|
||||
this.textBoxLog.TabIndex = 0;
|
||||
//
|
||||
// WhisperAudioToText
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(709, 494);
|
||||
this.ClientSize = new System.Drawing.Size(735, 501);
|
||||
this.Controls.Add(this.linkLabelPostProcessingConfigure);
|
||||
this.Controls.Add(this.labelTime);
|
||||
this.Controls.Add(this.labelAdvanced);
|
||||
|
Loading…
Reference in New Issue
Block a user