diff --git a/Changelog.txt b/Changelog.txt index e15a77aea..846388ab6 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -2,15 +2,17 @@ 4.0.5 (xth May 2024) BETA * NEW: + * Add "Open video" toolbar button/image - thx jmaraujouy/Cyberyoda1411 * Add support for S_HDMV/TEXTST in MKV in batch/cmd-line - thx ipsi * Add French interjections + * Add a few quick setting buttons for Purfview's Faster Whisper Advanced * IMPROVED: * Make "Timed Text IMSC 1.1" more compatible * Improve EBU STL preview regarding box - thx BlueMeow7 * Update libmpv to 2024-03-17 * Update yt-dlp to 2024-03-10 * FIXED: - * Fix for Whisper Post-processing - thx Purfview/cvrle77 + * Fix for Whisper post-processing - thx Purfview/cvrle77 * Fix crash in "Fix common errors" - thx Joe diff --git a/Icons/Black/OpenVideo.png b/Icons/Black/OpenVideo.png new file mode 100644 index 000000000..13fd6b8a7 Binary files /dev/null and b/Icons/Black/OpenVideo.png differ diff --git a/Icons/DarkTheme/OpenVideo.png b/Icons/DarkTheme/OpenVideo.png new file mode 100644 index 000000000..deedd0e2c Binary files /dev/null and b/Icons/DarkTheme/OpenVideo.png differ diff --git a/Icons/DefaultTheme/OpenVideo.png b/Icons/DefaultTheme/OpenVideo.png new file mode 100644 index 000000000..9ba7dd330 Binary files /dev/null and b/Icons/DefaultTheme/OpenVideo.png differ diff --git a/Icons/Legacy/OpenVideo.png b/Icons/Legacy/OpenVideo.png new file mode 100644 index 000000000..5f683794a Binary files /dev/null and b/Icons/Legacy/OpenVideo.png differ diff --git a/Icons/icons/Black/OpenVideo.png b/Icons/icons/Black/OpenVideo.png new file mode 100644 index 000000000..13fd6b8a7 Binary files /dev/null and b/Icons/icons/Black/OpenVideo.png differ diff --git a/Icons/icons/DarkTheme/OpenVideo.png b/Icons/icons/DarkTheme/OpenVideo.png new file mode 100644 index 000000000..deedd0e2c Binary files /dev/null and b/Icons/icons/DarkTheme/OpenVideo.png differ diff --git a/Icons/icons/DefaultTheme/OpenVideo.png b/Icons/icons/DefaultTheme/OpenVideo.png new file mode 100644 index 000000000..9ba7dd330 Binary files /dev/null and b/Icons/icons/DefaultTheme/OpenVideo.png differ diff --git a/Icons/icons/Legacy/OpenVideo.png b/Icons/icons/Legacy/OpenVideo.png new file mode 100644 index 000000000..5f683794a Binary files /dev/null and b/Icons/icons/Legacy/OpenVideo.png differ diff --git a/src/libse/Common/Settings.cs b/src/libse/Common/Settings.cs index 6a85915c6..cdc55a77e 100644 --- a/src/libse/Common/Settings.cs +++ b/src/libse/Common/Settings.cs @@ -1337,6 +1337,7 @@ $HorzAlign = Center public string CurrentProfile { get; set; } public bool ShowToolbarNew { get; set; } public bool ShowToolbarOpen { get; set; } + public bool ShowToolbarOpenVideo { get; set; } public bool ShowToolbarSave { get; set; } public bool ShowToolbarSaveAs { get; set; } public bool ShowToolbarFind { get; set; } @@ -3549,6 +3550,12 @@ $HorzAlign = Center settings.General.ShowToolbarOpen = Convert.ToBoolean(subNode.InnerText, CultureInfo.InvariantCulture); } + subNode = node.SelectSingleNode("ShowToolbarOpenVideo"); + if (subNode != null) + { + settings.General.ShowToolbarOpenVideo = Convert.ToBoolean(subNode.InnerText, CultureInfo.InvariantCulture); + } + subNode = node.SelectSingleNode("ShowToolbarSave"); if (subNode != null) { @@ -11512,6 +11519,7 @@ $HorzAlign = Center textWriter.WriteElementString("CurrentProfile", settings.General.CurrentProfile); textWriter.WriteElementString("ShowToolbarNew", settings.General.ShowToolbarNew.ToString(CultureInfo.InvariantCulture)); textWriter.WriteElementString("ShowToolbarOpen", settings.General.ShowToolbarOpen.ToString(CultureInfo.InvariantCulture)); + textWriter.WriteElementString("ShowToolbarOpenVideo", settings.General.ShowToolbarOpenVideo.ToString(CultureInfo.InvariantCulture)); textWriter.WriteElementString("ShowToolbarSave", settings.General.ShowToolbarSave.ToString(CultureInfo.InvariantCulture)); textWriter.WriteElementString("ShowToolbarSaveAs", settings.General.ShowToolbarSaveAs.ToString(CultureInfo.InvariantCulture)); textWriter.WriteElementString("ShowToolbarFind", settings.General.ShowToolbarFind.ToString(CultureInfo.InvariantCulture)); diff --git a/src/ui/Forms/Main.Designer.cs b/src/ui/Forms/Main.Designer.cs index 611d111bd..30586e49e 100644 --- a/src/ui/Forms/Main.Designer.cs +++ b/src/ui/Forms/Main.Designer.cs @@ -40,9 +40,9 @@ namespace Nikse.SubtitleEdit.Forms { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main)); - Nikse.SubtitleEdit.Core.Common.TimeCode timeCode1 = new Nikse.SubtitleEdit.Core.Common.TimeCode(); - Nikse.SubtitleEdit.Core.Common.TimeCode timeCode2 = new Nikse.SubtitleEdit.Core.Common.TimeCode(); - Nikse.SubtitleEdit.Core.Common.TimeCode timeCode3 = new Nikse.SubtitleEdit.Core.Common.TimeCode(); + Nikse.SubtitleEdit.Core.Common.TimeCode timeCode7 = new Nikse.SubtitleEdit.Core.Common.TimeCode(); + Nikse.SubtitleEdit.Core.Common.TimeCode timeCode8 = new Nikse.SubtitleEdit.Core.Common.TimeCode(); + Nikse.SubtitleEdit.Core.Common.TimeCode timeCode9 = new Nikse.SubtitleEdit.Core.Common.TimeCode(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.labelStatus = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripSelected = new System.Windows.Forms.ToolStripStatusLabel(); @@ -50,6 +50,7 @@ namespace Nikse.SubtitleEdit.Forms this.toolStripStatusNetworking = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStripButtonFileNew = new System.Windows.Forms.ToolStripButton(); + this.toolStripButtonVideoOpen = new System.Windows.Forms.ToolStripButton(); this.toolStripButtonFileOpen = new System.Windows.Forms.ToolStripButton(); this.toolStripButtonSave = new System.Windows.Forms.ToolStripButton(); this.toolStripButtonSaveAs = new System.Windows.Forms.ToolStripButton(); @@ -105,6 +106,7 @@ namespace Nikse.SubtitleEdit.Forms this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuItemOpenContainingFolder = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItemCompare = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItemVerifyCompleteness = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItemStatistics = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItemPlugins = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); @@ -577,7 +579,6 @@ namespace Nikse.SubtitleEdit.Forms this.timerOriginalTextUndo = new System.Windows.Forms.Timer(this.components); this.contextMenuStripShowVideoControls = new System.Windows.Forms.ContextMenuStrip(this.components); this.toolStripMenuItemShowVideoControls = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItemVerifyCompleteness = new System.Windows.Forms.ToolStripMenuItem(); this.statusStrip1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.menuStrip1.SuspendLayout(); @@ -675,6 +676,7 @@ namespace Nikse.SubtitleEdit.Forms this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripButtonFileNew, this.toolStripButtonFileOpen, + this.toolStripButtonVideoOpen, this.toolStripButtonSave, this.toolStripButtonSaveAs, this.toolStripSeparatorFindReplace, @@ -728,6 +730,19 @@ namespace Nikse.SubtitleEdit.Forms this.toolStripButtonFileNew.ToolTipText = "New"; this.toolStripButtonFileNew.Click += new System.EventHandler(this.ToolStripButtonFileNewClick); // + // toolStripButtonOpenVideo + // + this.toolStripButtonVideoOpen.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.toolStripButtonVideoOpen.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.toolStripButtonVideoOpen.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonOpenVideo.Image"))); + this.toolStripButtonVideoOpen.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.toolStripButtonVideoOpen.ImageTransparentColor = System.Drawing.Color.Transparent; + this.toolStripButtonVideoOpen.Name = "toolStripButtonVideoOpen"; + this.toolStripButtonVideoOpen.Size = new System.Drawing.Size(36, 37); + this.toolStripButtonVideoOpen.Text = "toolStripButtonOpen"; + this.toolStripButtonVideoOpen.ToolTipText = "Open"; + this.toolStripButtonVideoOpen.Click += new System.EventHandler(this.ToolStripButtonVideoOpenClick); + // // toolStripButtonFileOpen // this.toolStripButtonFileOpen.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; @@ -1013,7 +1028,7 @@ namespace Nikse.SubtitleEdit.Forms // toolStripLabelSubtitleFormat // this.toolStripLabelSubtitleFormat.Name = "toolStripLabelSubtitleFormat"; - this.toolStripLabelSubtitleFormat.Size = new System.Drawing.Size(86, 37); + this.toolStripLabelSubtitleFormat.Size = new System.Drawing.Size(86, 15); this.toolStripLabelSubtitleFormat.Text = "Subtitle format"; // // comboBoxSubtitleFormats @@ -1295,6 +1310,13 @@ namespace Nikse.SubtitleEdit.Forms this.toolStripMenuItemCompare.Text = "Compare..."; this.toolStripMenuItemCompare.Click += new System.EventHandler(this.ToolStripMenuItemCompareClick); // + // toolStripMenuItemVerifyCompleteness + // + this.toolStripMenuItemVerifyCompleteness.Name = "toolStripMenuItemVerifyCompleteness"; + this.toolStripMenuItemVerifyCompleteness.Size = new System.Drawing.Size(269, 22); + this.toolStripMenuItemVerifyCompleteness.Text = "Verify completeness..."; + this.toolStripMenuItemVerifyCompleteness.Click += new System.EventHandler(this.ToolStripMenuItemVerifyCompletenessClick); + // // toolStripMenuItemStatistics // this.toolStripMenuItemStatistics.Name = "toolStripMenuItemStatistics"; @@ -3868,14 +3890,14 @@ namespace Nikse.SubtitleEdit.Forms this.timeUpDownVideoPosition.Size = new System.Drawing.Size(113, 23); this.timeUpDownVideoPosition.TabIndex = 12; this.timeUpDownVideoPosition.TabStop = false; - timeCode1.Hours = 0; - timeCode1.Milliseconds = 0; - timeCode1.Minutes = 0; - timeCode1.Seconds = 0; - timeCode1.TimeSpan = System.TimeSpan.Parse("00:00:00"); - timeCode1.TotalMilliseconds = 0D; - timeCode1.TotalSeconds = 0D; - this.timeUpDownVideoPosition.TimeCode = timeCode1; + timeCode7.Hours = 0; + timeCode7.Milliseconds = 0; + timeCode7.Minutes = 0; + timeCode7.Seconds = 0; + timeCode7.TimeSpan = System.TimeSpan.Parse("00:00:00"); + timeCode7.TotalMilliseconds = 0D; + timeCode7.TotalSeconds = 0D; + this.timeUpDownVideoPosition.TimeCode = timeCode7; this.timeUpDownVideoPosition.UseVideoOffset = false; // // buttonGotoSub @@ -4148,14 +4170,14 @@ namespace Nikse.SubtitleEdit.Forms this.timeUpDownVideoPositionAdjust.Size = new System.Drawing.Size(113, 23); this.timeUpDownVideoPositionAdjust.TabIndex = 13; this.timeUpDownVideoPositionAdjust.TabStop = false; - timeCode2.Hours = 0; - timeCode2.Milliseconds = 0; - timeCode2.Minutes = 0; - timeCode2.Seconds = 0; - timeCode2.TimeSpan = System.TimeSpan.Parse("00:00:00"); - timeCode2.TotalMilliseconds = 0D; - timeCode2.TotalSeconds = 0D; - this.timeUpDownVideoPositionAdjust.TimeCode = timeCode2; + timeCode8.Hours = 0; + timeCode8.Milliseconds = 0; + timeCode8.Minutes = 0; + timeCode8.Seconds = 0; + timeCode8.TimeSpan = System.TimeSpan.Parse("00:00:00"); + timeCode8.TotalMilliseconds = 0D; + timeCode8.TotalSeconds = 0D; + this.timeUpDownVideoPositionAdjust.TimeCode = timeCode8; this.timeUpDownVideoPositionAdjust.UseVideoOffset = false; // // buttonAdjustSetEndTime @@ -5496,14 +5518,14 @@ namespace Nikse.SubtitleEdit.Forms this.timeUpDownStartTime.Size = new System.Drawing.Size(113, 23); this.timeUpDownStartTime.TabIndex = 0; this.timeUpDownStartTime.TabStop = false; - timeCode3.Hours = 0; - timeCode3.Milliseconds = 0; - timeCode3.Minutes = 0; - timeCode3.Seconds = 0; - timeCode3.TimeSpan = System.TimeSpan.Parse("00:00:00"); - timeCode3.TotalMilliseconds = 0D; - timeCode3.TotalSeconds = 0D; - this.timeUpDownStartTime.TimeCode = timeCode3; + timeCode9.Hours = 0; + timeCode9.Milliseconds = 0; + timeCode9.Minutes = 0; + timeCode9.Seconds = 0; + timeCode9.TimeSpan = System.TimeSpan.Parse("00:00:00"); + timeCode9.TotalMilliseconds = 0D; + timeCode9.TotalSeconds = 0D; + this.timeUpDownStartTime.TimeCode = timeCode9; this.timeUpDownStartTime.UseVideoOffset = false; // // numericUpDownDuration @@ -5857,13 +5879,6 @@ namespace Nikse.SubtitleEdit.Forms this.toolStripMenuItemShowVideoControls.Text = "Show video controls"; this.toolStripMenuItemShowVideoControls.Click += new System.EventHandler(this.ToolStripMenuItemShowVideoControlsClick); // - // toolStripMenuItemVerifyCompleteness - // - this.toolStripMenuItemVerifyCompleteness.Name = "toolStripMenuItemVerifyCompleteness"; - this.toolStripMenuItemVerifyCompleteness.Size = new System.Drawing.Size(269, 22); - this.toolStripMenuItemVerifyCompleteness.Text = "Verify completeness..."; - this.toolStripMenuItemVerifyCompleteness.Click += new System.EventHandler(this.ToolStripMenuItemVerifyCompletenessClick); - // // Main // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -6481,5 +6496,6 @@ namespace Nikse.SubtitleEdit.Forms private System.Windows.Forms.ToolStripMenuItem autotranslateNLLBToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemEvenlyDistributeLines; private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemVerifyCompleteness; + private System.Windows.Forms.ToolStripButton toolStripButtonVideoOpen; } } \ No newline at end of file diff --git a/src/ui/Forms/Main.cs b/src/ui/Forms/Main.cs index 187a4991b..cee7a7871 100644 --- a/src/ui/Forms/Main.cs +++ b/src/ui/Forms/Main.cs @@ -1860,6 +1860,7 @@ namespace Nikse.SubtitleEdit.Forms toolStripButtonFileNew.ToolTipText = _language.Menu.ToolBar.New; toolStripButtonFileOpen.ToolTipText = _language.Menu.ToolBar.Open; + toolStripButtonVideoOpen.ToolTipText = _language.Menu.Video.OpenVideo.Replace("&", string.Empty); toolStripButtonSave.ToolTipText = _language.Menu.ToolBar.Save; toolStripButtonSaveAs.ToolTipText = _language.Menu.ToolBar.SaveAs; toolStripButtonFind.ToolTipText = _language.Menu.ToolBar.Find; @@ -5647,7 +5648,7 @@ namespace Nikse.SubtitleEdit.Forms var oldDarkThemeShowListViewGridLines = Configuration.Settings.General.DarkThemeShowListViewGridLines; using (var settings = new Options.Settings()) { - settings.Initialize(Icon, toolStripButtonFileNew.Image, toolStripButtonFileOpen.Image, toolStripButtonSave.Image, toolStripButtonSaveAs.Image, toolStripButtonFind.Image, + settings.Initialize(Icon, toolStripButtonFileNew.Image, toolStripButtonFileOpen.Image, toolStripButtonVideoOpen.Image, toolStripButtonSave.Image, toolStripButtonSaveAs.Image, toolStripButtonFind.Image, toolStripButtonReplace.Image, toolStripButtonFixCommonErrors.Image, toolStripButtonRemoveTextForHi.Image, toolStripButtonVisualSync.Image, toolStripButtonBurnIn.Image, toolStripButtonSpellCheck.Image, toolStripButtonNetflixQualityCheck.Image, toolStripButtonBeautifyTimeCodes.Image, toolStripButtonSettings.Image, toolStripButtonHelp.Image, toolStripButtonSourceView.Image); @@ -6124,6 +6125,7 @@ namespace Nikse.SubtitleEdit.Forms { TryLoadIcon(toolStripButtonFileNew, "New"); TryLoadIcon(toolStripButtonFileOpen, "Open"); + TryLoadIcon(toolStripButtonVideoOpen, "OpenVideo"); TryLoadIcon(toolStripButtonSave, "Save"); TryLoadIcon(toolStripButtonSaveAs, "SaveAs"); TryLoadIcon(toolStripButtonFind, "Find"); @@ -6160,6 +6162,7 @@ namespace Nikse.SubtitleEdit.Forms toolStripButtonFileNew.Visible = gs.ShowToolbarNew; toolStripButtonFileOpen.Visible = gs.ShowToolbarOpen; + toolStripButtonVideoOpen.Visible = gs.ShowToolbarOpenVideo; toolStripButtonSave.Visible = gs.ShowToolbarSave; toolStripButtonSaveAs.Visible = gs.ShowToolbarSaveAs; toolStripButtonFind.Visible = gs.ShowToolbarFind; @@ -6185,7 +6188,7 @@ namespace Nikse.SubtitleEdit.Forms toolStripSeparatorFixSyncSpell.Visible = gs.ShowToolbarFixCommonErrors || gs.ShowToolbarVisualSync || gs.ShowToolbarSpellCheck || gs.ShowToolbarSettings; toolStripSeparatorHelp.Visible = gs.ShowToolbarHelp; - toolStrip1.Visible = gs.ShowToolbarNew || gs.ShowToolbarOpen || gs.ShowToolbarSave || gs.ShowToolbarSaveAs || gs.ShowToolbarFind || gs.ShowToolbarReplace || + toolStrip1.Visible = gs.ShowToolbarNew || gs.ShowToolbarOpen || gs.ShowToolbarOpenVideo || gs.ShowToolbarSave || gs.ShowToolbarSaveAs || gs.ShowToolbarFind || gs.ShowToolbarReplace || gs.ShowToolbarFixCommonErrors || gs.ShowToolbarVisualSync || gs.ShowToolbarSpellCheck || gs.ShowToolbarNetflixGlyphCheck || gs.ShowToolbarBeautifyTimeCodes || gs.ShowToolbarSettings || gs.ShowToolbarHelp; @@ -36610,5 +36613,10 @@ namespace Nikse.SubtitleEdit.Forms MessageBox.Show(sb.ToString() + sbTrackInfo.ToString()); } + + private void ToolStripButtonVideoOpenClick(object sender, EventArgs e) + { + OpenVideoDialog(); + } } } \ No newline at end of file diff --git a/src/ui/Forms/Main.resx b/src/ui/Forms/Main.resx index 00439894c..0cc3ca17f 100644 --- a/src/ui/Forms/Main.resx +++ b/src/ui/Forms/Main.resx @@ -148,6 +148,44 @@ OFGZYn3P7LOMuWOFSTh9MRMG7Ulj2hVgf3x8/Ef8jyYYDKofDjU1Nf9YtwI9CAe6kfNZFlI+TkRqaRLS yl5UYp9yPhFnvj2J5OOJV8gymVapZ8DQ44YOGDps6gVDSfeow553PUHP2aejz507COpQbsJa4nuJrcba QUNkkGV7Blj7DD1g6CFDjxh69F8WPelNBllGxcX9Bb3GzFtcbliFAAAAAEl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xLgwCowEEugEAFEsWFELGAoME0K+gHP2BgAABpZBhW3VPvKwAAAABJRU5E + DFXdqMFgMGowlDdqMCUG0yxLgwCowEEugEAFEsWFELGAoME0K+gHP2BgAAB0dRgW6Ba+bgAAAABJRU5E rkJggg== @@ -769,12 +810,12 @@ 981, 56 - - 668, 17 - 193, 17 + + 668, 17 + 17, 95 diff --git a/src/ui/Forms/Options/Settings.Designer.cs b/src/ui/Forms/Options/Settings.Designer.cs index a07d576af..9aec50bde 100644 --- a/src/ui/Forms/Options/Settings.Designer.cs +++ b/src/ui/Forms/Options/Settings.Designer.cs @@ -381,7 +381,7 @@ this.checkBoxTBSave = new System.Windows.Forms.CheckBox(); this.labelTBOpen = new System.Windows.Forms.Label(); this.pictureBoxTBOpen = new System.Windows.Forms.PictureBox(); - this.checkBoxTBpen = new System.Windows.Forms.CheckBox(); + this.checkBoxTBOpen = new System.Windows.Forms.CheckBox(); this.labelTBNew = new System.Windows.Forms.Label(); this.pictureBoxFileNew = new System.Windows.Forms.PictureBox(); this.checkBoxToolbarNew = new System.Windows.Forms.CheckBox(); @@ -503,6 +503,9 @@ this.labelNllbApiUrl = new System.Windows.Forms.Label(); this.linkLabelNllbApi = new System.Windows.Forms.LinkLabel(); this.label5 = new System.Windows.Forms.Label(); + this.labelTBOpenVideo = new System.Windows.Forms.Label(); + this.pictureBoxTBOpenVideo = new System.Windows.Forms.PictureBox(); + this.checkBoxTBOpenVideo = new System.Windows.Forms.CheckBox(); this.panelGeneral.SuspendLayout(); this.groupBoxMiscellaneous.SuspendLayout(); this.groupBoxGeneralRules.SuspendLayout(); @@ -586,6 +589,7 @@ this.groupBoxLibreTranslate.SuspendLayout(); this.groupBoxNllbServe.SuspendLayout(); this.groupBoxNllbApi.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxTBOpenVideo)).BeginInit(); this.SuspendLayout(); // // buttonOK @@ -5038,6 +5042,9 @@ // this.groupBoxShowToolBarButtons.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); + this.groupBoxShowToolBarButtons.Controls.Add(this.labelTBOpenVideo); + this.groupBoxShowToolBarButtons.Controls.Add(this.pictureBoxTBOpenVideo); + this.groupBoxShowToolBarButtons.Controls.Add(this.checkBoxTBOpenVideo); this.groupBoxShowToolBarButtons.Controls.Add(this.pictureBoxWebVttStyle); this.groupBoxShowToolBarButtons.Controls.Add(this.pictureBoxEbuProperties); this.groupBoxShowToolBarButtons.Controls.Add(this.pictureBoxWebVttProperties); @@ -5092,7 +5099,7 @@ this.groupBoxShowToolBarButtons.Controls.Add(this.checkBoxTBSave); this.groupBoxShowToolBarButtons.Controls.Add(this.labelTBOpen); this.groupBoxShowToolBarButtons.Controls.Add(this.pictureBoxTBOpen); - this.groupBoxShowToolBarButtons.Controls.Add(this.checkBoxTBpen); + this.groupBoxShowToolBarButtons.Controls.Add(this.checkBoxTBOpen); this.groupBoxShowToolBarButtons.Controls.Add(this.labelTBNew); this.groupBoxShowToolBarButtons.Controls.Add(this.pictureBoxFileNew); this.groupBoxShowToolBarButtons.Controls.Add(this.checkBoxToolbarNew); @@ -5321,7 +5328,7 @@ // labelTBFixCommonErrors // this.labelTBFixCommonErrors.AutoSize = true; - this.labelTBFixCommonErrors.Location = new System.Drawing.Point(597, 22); + this.labelTBFixCommonErrors.Location = new System.Drawing.Point(675, 22); this.labelTBFixCommonErrors.Name = "labelTBFixCommonErrors"; this.labelTBFixCommonErrors.Size = new System.Drawing.Size(95, 13); this.labelTBFixCommonErrors.TabIndex = 36; @@ -5329,7 +5336,7 @@ // // pictureBoxTBFixCommonErrors // - this.pictureBoxTBFixCommonErrors.Location = new System.Drawing.Point(610, 41); + this.pictureBoxTBFixCommonErrors.Location = new System.Drawing.Point(688, 41); this.pictureBoxTBFixCommonErrors.Name = "pictureBoxTBFixCommonErrors"; this.pictureBoxTBFixCommonErrors.Size = new System.Drawing.Size(32, 32); this.pictureBoxTBFixCommonErrors.TabIndex = 35; @@ -5338,7 +5345,7 @@ // checkBoxTBFixCommonErrors // this.checkBoxTBFixCommonErrors.AutoSize = true; - this.checkBoxTBFixCommonErrors.Location = new System.Drawing.Point(613, 81); + this.checkBoxTBFixCommonErrors.Location = new System.Drawing.Point(691, 81); this.checkBoxTBFixCommonErrors.Name = "checkBoxTBFixCommonErrors"; this.checkBoxTBFixCommonErrors.Size = new System.Drawing.Size(55, 17); this.checkBoxTBFixCommonErrors.TabIndex = 17; @@ -5456,7 +5463,7 @@ // labelTBReplace // this.labelTBReplace.AutoSize = true; - this.labelTBReplace.Location = new System.Drawing.Point(521, 22); + this.labelTBReplace.Location = new System.Drawing.Point(599, 22); this.labelTBReplace.Name = "labelTBReplace"; this.labelTBReplace.Size = new System.Drawing.Size(45, 13); this.labelTBReplace.TabIndex = 18; @@ -5464,7 +5471,7 @@ // // pictureBoxTBReplace // - this.pictureBoxTBReplace.Location = new System.Drawing.Point(526, 41); + this.pictureBoxTBReplace.Location = new System.Drawing.Point(604, 41); this.pictureBoxTBReplace.Name = "pictureBoxTBReplace"; this.pictureBoxTBReplace.Size = new System.Drawing.Size(32, 32); this.pictureBoxTBReplace.TabIndex = 17; @@ -5473,7 +5480,7 @@ // checkBoxTBReplace // this.checkBoxTBReplace.AutoSize = true; - this.checkBoxTBReplace.Location = new System.Drawing.Point(529, 81); + this.checkBoxTBReplace.Location = new System.Drawing.Point(607, 81); this.checkBoxTBReplace.Name = "checkBoxTBReplace"; this.checkBoxTBReplace.Size = new System.Drawing.Size(55, 17); this.checkBoxTBReplace.TabIndex = 16; @@ -5483,7 +5490,7 @@ // labelTBFind // this.labelTBFind.AutoSize = true; - this.labelTBFind.Location = new System.Drawing.Point(425, 22); + this.labelTBFind.Location = new System.Drawing.Point(503, 22); this.labelTBFind.Name = "labelTBFind"; this.labelTBFind.Size = new System.Drawing.Size(27, 13); this.labelTBFind.TabIndex = 15; @@ -5491,7 +5498,7 @@ // // pictureBoxTBFind // - this.pictureBoxTBFind.Location = new System.Drawing.Point(423, 41); + this.pictureBoxTBFind.Location = new System.Drawing.Point(501, 41); this.pictureBoxTBFind.Name = "pictureBoxTBFind"; this.pictureBoxTBFind.Size = new System.Drawing.Size(32, 32); this.pictureBoxTBFind.TabIndex = 14; @@ -5500,7 +5507,7 @@ // checkBoxTBFind // this.checkBoxTBFind.AutoSize = true; - this.checkBoxTBFind.Location = new System.Drawing.Point(426, 81); + this.checkBoxTBFind.Location = new System.Drawing.Point(504, 81); this.checkBoxTBFind.Name = "checkBoxTBFind"; this.checkBoxTBFind.Size = new System.Drawing.Size(55, 17); this.checkBoxTBFind.TabIndex = 13; @@ -5510,7 +5517,7 @@ // labelTBSaveAs // this.labelTBSaveAs.AutoSize = true; - this.labelTBSaveAs.Location = new System.Drawing.Point(316, 22); + this.labelTBSaveAs.Location = new System.Drawing.Point(394, 22); this.labelTBSaveAs.Name = "labelTBSaveAs"; this.labelTBSaveAs.Size = new System.Drawing.Size(45, 13); this.labelTBSaveAs.TabIndex = 12; @@ -5518,7 +5525,7 @@ // // pictureBoxTBSaveAs // - this.pictureBoxTBSaveAs.Location = new System.Drawing.Point(322, 41); + this.pictureBoxTBSaveAs.Location = new System.Drawing.Point(400, 41); this.pictureBoxTBSaveAs.Name = "pictureBoxTBSaveAs"; this.pictureBoxTBSaveAs.Size = new System.Drawing.Size(32, 32); this.pictureBoxTBSaveAs.TabIndex = 11; @@ -5527,7 +5534,7 @@ // checkBoxTBSaveAs // this.checkBoxTBSaveAs.AutoSize = true; - this.checkBoxTBSaveAs.Location = new System.Drawing.Point(325, 81); + this.checkBoxTBSaveAs.Location = new System.Drawing.Point(403, 81); this.checkBoxTBSaveAs.Name = "checkBoxTBSaveAs"; this.checkBoxTBSaveAs.Size = new System.Drawing.Size(55, 17); this.checkBoxTBSaveAs.TabIndex = 10; @@ -5537,7 +5544,7 @@ // labelTBSave // this.labelTBSave.AutoSize = true; - this.labelTBSave.Location = new System.Drawing.Point(225, 22); + this.labelTBSave.Location = new System.Drawing.Point(303, 22); this.labelTBSave.Name = "labelTBSave"; this.labelTBSave.Size = new System.Drawing.Size(31, 13); this.labelTBSave.TabIndex = 9; @@ -5545,7 +5552,7 @@ // // pictureBoxTBSave // - this.pictureBoxTBSave.Location = new System.Drawing.Point(224, 41); + this.pictureBoxTBSave.Location = new System.Drawing.Point(302, 41); this.pictureBoxTBSave.Name = "pictureBoxTBSave"; this.pictureBoxTBSave.Size = new System.Drawing.Size(32, 32); this.pictureBoxTBSave.TabIndex = 8; @@ -5554,7 +5561,7 @@ // checkBoxTBSave // this.checkBoxTBSave.AutoSize = true; - this.checkBoxTBSave.Location = new System.Drawing.Point(227, 81); + this.checkBoxTBSave.Location = new System.Drawing.Point(305, 81); this.checkBoxTBSave.Name = "checkBoxTBSave"; this.checkBoxTBSave.Size = new System.Drawing.Size(55, 17); this.checkBoxTBSave.TabIndex = 7; @@ -5580,13 +5587,13 @@ // // checkBoxTBpen // - this.checkBoxTBpen.AutoSize = true; - this.checkBoxTBpen.Location = new System.Drawing.Point(126, 81); - this.checkBoxTBpen.Name = "checkBoxTBpen"; - this.checkBoxTBpen.Size = new System.Drawing.Size(55, 17); - this.checkBoxTBpen.TabIndex = 4; - this.checkBoxTBpen.Text = "Visible"; - this.checkBoxTBpen.UseVisualStyleBackColor = true; + this.checkBoxTBOpen.AutoSize = true; + this.checkBoxTBOpen.Location = new System.Drawing.Point(126, 81); + this.checkBoxTBOpen.Name = "checkBoxTBOpen"; + this.checkBoxTBOpen.Size = new System.Drawing.Size(55, 17); + this.checkBoxTBOpen.TabIndex = 4; + this.checkBoxTBOpen.Text = "Visible"; + this.checkBoxTBOpen.UseVisualStyleBackColor = true; // // labelTBNew // @@ -6981,11 +6988,39 @@ this.label5.Size = new System.Drawing.Size(0, 13); this.label5.TabIndex = 25; // + // labelTBOpenVideo + // + this.labelTBOpenVideo.AutoSize = true; + this.labelTBOpenVideo.Location = new System.Drawing.Point(213, 22); + this.labelTBOpenVideo.Name = "labelTBOpenVideo"; + this.labelTBOpenVideo.Size = new System.Drawing.Size(33, 13); + this.labelTBOpenVideo.TabIndex = 63; + this.labelTBOpenVideo.Text = "Open"; + // + // pictureBoxTBOpenVideo + // + this.pictureBoxTBOpenVideo.Location = new System.Drawing.Point(212, 41); + this.pictureBoxTBOpenVideo.Name = "pictureBoxTBOpenVideo"; + this.pictureBoxTBOpenVideo.Size = new System.Drawing.Size(32, 32); + this.pictureBoxTBOpenVideo.TabIndex = 62; + this.pictureBoxTBOpenVideo.TabStop = false; + // + // checkBoxTBpenVideo + // + this.checkBoxTBOpenVideo.AutoSize = true; + this.checkBoxTBOpenVideo.Location = new System.Drawing.Point(215, 81); + this.checkBoxTBOpenVideo.Name = "checkBoxTBOpenVideo"; + this.checkBoxTBOpenVideo.Size = new System.Drawing.Size(55, 17); + this.checkBoxTBOpenVideo.TabIndex = 61; + this.checkBoxTBOpenVideo.Text = "Visible"; + this.checkBoxTBOpenVideo.UseVisualStyleBackColor = true; + // // Settings // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1092, 574); + this.Controls.Add(this.panelToolBar); this.Controls.Add(this.panelAutoTranslate); this.Controls.Add(this.panelShortcuts); this.Controls.Add(this.panelVideoPlayer); @@ -6996,7 +7031,6 @@ this.Controls.Add(this.panelFont); this.Controls.Add(this.panelSubtitleFormats); this.Controls.Add(this.panelWaveform); - this.Controls.Add(this.panelToolBar); this.Controls.Add(this.panelFileTypeAssociations); this.Controls.Add(this.panelSyntaxColoring); this.Controls.Add(this.listBoxSection); @@ -7136,6 +7170,7 @@ this.groupBoxNllbServe.PerformLayout(); this.groupBoxNllbApi.ResumeLayout(false); this.groupBoxNllbApi.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxTBOpenVideo)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -7171,7 +7206,7 @@ private System.Windows.Forms.CheckBox checkBoxTBSave; private System.Windows.Forms.Label labelTBOpen; private System.Windows.Forms.PictureBox pictureBoxTBOpen; - private System.Windows.Forms.CheckBox checkBoxTBpen; + private System.Windows.Forms.CheckBox checkBoxTBOpen; private System.Windows.Forms.Label labelTBNew; private System.Windows.Forms.Label labelTBHelp; private System.Windows.Forms.PictureBox pictureBoxTBHelp; @@ -7617,5 +7652,8 @@ private Controls.NikseComboBox nikseComboBoxChatGptModel; private System.Windows.Forms.Label labelShortcutsFilter; private Controls.NikseComboBox nikseComboBoxShortcutsFilter; + private System.Windows.Forms.Label labelTBOpenVideo; + private System.Windows.Forms.PictureBox pictureBoxTBOpenVideo; + private System.Windows.Forms.CheckBox checkBoxTBOpenVideo; } } \ No newline at end of file diff --git a/src/ui/Forms/Options/Settings.cs b/src/ui/Forms/Options/Settings.cs index 227a27371..5d64fa0fa 100644 --- a/src/ui/Forms/Options/Settings.cs +++ b/src/ui/Forms/Options/Settings.cs @@ -145,7 +145,7 @@ namespace Nikse.SubtitleEdit.Forms.Options listBoxSection.SelectedIndex = GeneralSection; checkBoxToolbarNew.Checked = gs.ShowToolbarNew; - checkBoxTBpen.Checked = gs.ShowToolbarOpen; + checkBoxTBOpen.Checked = gs.ShowToolbarOpen; checkBoxTBSave.Checked = gs.ShowToolbarSave; checkBoxTBSaveAs.Checked = gs.ShowToolbarSaveAs; checkBoxTBFind.Checked = gs.ShowToolbarFind; @@ -421,7 +421,7 @@ namespace Nikse.SubtitleEdit.Forms.Options labelTBHelp.Text = language.Help; labelToolbarIconTheme.Text = language.Theme; checkBoxToolbarNew.Text = LanguageSettings.Current.General.Visible; - checkBoxTBpen.Text = LanguageSettings.Current.General.Visible; + checkBoxTBOpen.Text = LanguageSettings.Current.General.Visible; checkBoxTBSave.Text = LanguageSettings.Current.General.Visible; checkBoxTBSaveAs.Text = LanguageSettings.Current.General.Visible; checkBoxTBFind.Text = LanguageSettings.Current.General.Visible; @@ -443,11 +443,17 @@ namespace Nikse.SubtitleEdit.Forms.Options labelTBOpen.Left = Math.Max(labelTBNew.Right, checkBoxToolbarNew.Right) + 18; pictureBoxTBOpen.Left = labelTBOpen.Left; - checkBoxTBpen.Left = labelTBOpen.Left; - checkBoxTBpen.TabIndex = tbTabIndex; + checkBoxTBOpen.Left = labelTBOpen.Left; + checkBoxTBOpen.TabIndex = tbTabIndex; tbTabIndex++; - labelTBSave.Left = Math.Max(labelTBOpen.Right, checkBoxTBpen.Right) + 18; + labelTBOpenVideo.Left = Math.Max(labelTBOpen.Right, checkBoxTBOpen.Right) + 18; + pictureBoxTBOpenVideo.Left = labelTBSave.Left; + checkBoxTBOpenVideo.Left = labelTBSave.Left; + checkBoxTBOpenVideo.TabIndex = tbTabIndex; + tbTabIndex++; + + labelTBSave.Left = Math.Max(labelTBOpenVideo.Right, checkBoxTBOpenVideo.Right) + 18; pictureBoxTBSave.Left = labelTBSave.Left; checkBoxTBSave.Left = labelTBSave.Left; checkBoxTBSave.TabIndex = tbTabIndex; @@ -2069,7 +2075,7 @@ namespace Nikse.SubtitleEdit.Forms.Options } } - public void Initialize(Icon icon, Image newFile, Image openFile, Image saveFile, Image saveFileAs, Image find, Image replace, Image fixCommonErrors, Image removeTextForHi, + public void Initialize(Icon icon, Image newFile, Image openFile, Image openVideo, Image saveFile, Image saveFileAs, Image find, Image replace, Image fixCommonErrors, Image removeTextForHi, Image visualSync, Image burnIn, Image spellCheck, Image netflixGlyphCheck, Image beautifyTimeCodes, Image settings, Image help, Image toggleSourceView) { Icon = (Icon)icon.Clone(); @@ -2098,7 +2104,7 @@ namespace Nikse.SubtitleEdit.Forms.Options var gs = Configuration.Settings.General; gs.ShowToolbarNew = checkBoxToolbarNew.Checked; - gs.ShowToolbarOpen = checkBoxTBpen.Checked; + gs.ShowToolbarOpen = checkBoxTBOpen.Checked; gs.ShowToolbarSave = checkBoxTBSave.Checked; gs.ShowToolbarSaveAs = checkBoxTBSaveAs.Checked; gs.ShowToolbarFind = checkBoxTBFind.Checked;