This commit is contained in:
niksedk 2024-03-25 13:56:27 +01:00
parent 0ed898923a
commit c9f818463f
15 changed files with 196 additions and 77 deletions

View File

@ -2,15 +2,17 @@
4.0.5 (xth May 2024) BETA 4.0.5 (xth May 2024) BETA
* NEW: * 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 support for S_HDMV/TEXTST in MKV in batch/cmd-line - thx ipsi
* Add French interjections * Add French interjections
* Add a few quick setting buttons for Purfview's Faster Whisper Advanced
* IMPROVED: * IMPROVED:
* Make "Timed Text IMSC 1.1" more compatible * Make "Timed Text IMSC 1.1" more compatible
* Improve EBU STL preview regarding box - thx BlueMeow7 * Improve EBU STL preview regarding box - thx BlueMeow7
* Update libmpv to 2024-03-17 * Update libmpv to 2024-03-17
* Update yt-dlp to 2024-03-10 * Update yt-dlp to 2024-03-10
* FIXED: * 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 * Fix crash in "Fix common errors" - thx Joe

BIN
Icons/Black/OpenVideo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
Icons/Legacy/OpenVideo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -1337,6 +1337,7 @@ $HorzAlign = Center
public string CurrentProfile { get; set; } public string CurrentProfile { get; set; }
public bool ShowToolbarNew { get; set; } public bool ShowToolbarNew { get; set; }
public bool ShowToolbarOpen { get; set; } public bool ShowToolbarOpen { get; set; }
public bool ShowToolbarOpenVideo { get; set; }
public bool ShowToolbarSave { get; set; } public bool ShowToolbarSave { get; set; }
public bool ShowToolbarSaveAs { get; set; } public bool ShowToolbarSaveAs { get; set; }
public bool ShowToolbarFind { get; set; } public bool ShowToolbarFind { get; set; }
@ -3549,6 +3550,12 @@ $HorzAlign = Center
settings.General.ShowToolbarOpen = Convert.ToBoolean(subNode.InnerText, CultureInfo.InvariantCulture); 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"); subNode = node.SelectSingleNode("ShowToolbarSave");
if (subNode != null) if (subNode != null)
{ {
@ -11512,6 +11519,7 @@ $HorzAlign = Center
textWriter.WriteElementString("CurrentProfile", settings.General.CurrentProfile); textWriter.WriteElementString("CurrentProfile", settings.General.CurrentProfile);
textWriter.WriteElementString("ShowToolbarNew", settings.General.ShowToolbarNew.ToString(CultureInfo.InvariantCulture)); textWriter.WriteElementString("ShowToolbarNew", settings.General.ShowToolbarNew.ToString(CultureInfo.InvariantCulture));
textWriter.WriteElementString("ShowToolbarOpen", settings.General.ShowToolbarOpen.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("ShowToolbarSave", settings.General.ShowToolbarSave.ToString(CultureInfo.InvariantCulture));
textWriter.WriteElementString("ShowToolbarSaveAs", settings.General.ShowToolbarSaveAs.ToString(CultureInfo.InvariantCulture)); textWriter.WriteElementString("ShowToolbarSaveAs", settings.General.ShowToolbarSaveAs.ToString(CultureInfo.InvariantCulture));
textWriter.WriteElementString("ShowToolbarFind", settings.General.ShowToolbarFind.ToString(CultureInfo.InvariantCulture)); textWriter.WriteElementString("ShowToolbarFind", settings.General.ShowToolbarFind.ToString(CultureInfo.InvariantCulture));

View File

@ -40,9 +40,9 @@ namespace Nikse.SubtitleEdit.Forms
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main)); 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 timeCode7 = new Nikse.SubtitleEdit.Core.Common.TimeCode();
Nikse.SubtitleEdit.Core.Common.TimeCode timeCode2 = new Nikse.SubtitleEdit.Core.Common.TimeCode(); Nikse.SubtitleEdit.Core.Common.TimeCode timeCode8 = new Nikse.SubtitleEdit.Core.Common.TimeCode();
Nikse.SubtitleEdit.Core.Common.TimeCode timeCode3 = 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.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.labelStatus = new System.Windows.Forms.ToolStripStatusLabel(); this.labelStatus = new System.Windows.Forms.ToolStripStatusLabel();
this.toolStripSelected = 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.toolStripStatusNetworking = new System.Windows.Forms.ToolStripStatusLabel();
this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripButtonFileNew = new System.Windows.Forms.ToolStripButton(); this.toolStripButtonFileNew = new System.Windows.Forms.ToolStripButton();
this.toolStripButtonVideoOpen = new System.Windows.Forms.ToolStripButton();
this.toolStripButtonFileOpen = new System.Windows.Forms.ToolStripButton(); this.toolStripButtonFileOpen = new System.Windows.Forms.ToolStripButton();
this.toolStripButtonSave = new System.Windows.Forms.ToolStripButton(); this.toolStripButtonSave = new System.Windows.Forms.ToolStripButton();
this.toolStripButtonSaveAs = 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.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripMenuItemOpenContainingFolder = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItemOpenContainingFolder = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItemCompare = 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.toolStripMenuItemStatistics = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItemPlugins = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItemPlugins = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); 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.timerOriginalTextUndo = new System.Windows.Forms.Timer(this.components);
this.contextMenuStripShowVideoControls = new System.Windows.Forms.ContextMenuStrip(this.components); this.contextMenuStripShowVideoControls = new System.Windows.Forms.ContextMenuStrip(this.components);
this.toolStripMenuItemShowVideoControls = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItemShowVideoControls = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItemVerifyCompleteness = new System.Windows.Forms.ToolStripMenuItem();
this.statusStrip1.SuspendLayout(); this.statusStrip1.SuspendLayout();
this.toolStrip1.SuspendLayout(); this.toolStrip1.SuspendLayout();
this.menuStrip1.SuspendLayout(); this.menuStrip1.SuspendLayout();
@ -675,6 +676,7 @@ namespace Nikse.SubtitleEdit.Forms
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripButtonFileNew, this.toolStripButtonFileNew,
this.toolStripButtonFileOpen, this.toolStripButtonFileOpen,
this.toolStripButtonVideoOpen,
this.toolStripButtonSave, this.toolStripButtonSave,
this.toolStripButtonSaveAs, this.toolStripButtonSaveAs,
this.toolStripSeparatorFindReplace, this.toolStripSeparatorFindReplace,
@ -728,6 +730,19 @@ namespace Nikse.SubtitleEdit.Forms
this.toolStripButtonFileNew.ToolTipText = "New"; this.toolStripButtonFileNew.ToolTipText = "New";
this.toolStripButtonFileNew.Click += new System.EventHandler(this.ToolStripButtonFileNewClick); 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 // toolStripButtonFileOpen
// //
this.toolStripButtonFileOpen.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripButtonFileOpen.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
@ -1013,7 +1028,7 @@ namespace Nikse.SubtitleEdit.Forms
// toolStripLabelSubtitleFormat // toolStripLabelSubtitleFormat
// //
this.toolStripLabelSubtitleFormat.Name = "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"; this.toolStripLabelSubtitleFormat.Text = "Subtitle format";
// //
// comboBoxSubtitleFormats // comboBoxSubtitleFormats
@ -1295,6 +1310,13 @@ namespace Nikse.SubtitleEdit.Forms
this.toolStripMenuItemCompare.Text = "Compare..."; this.toolStripMenuItemCompare.Text = "Compare...";
this.toolStripMenuItemCompare.Click += new System.EventHandler(this.ToolStripMenuItemCompareClick); 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 // toolStripMenuItemStatistics
// //
this.toolStripMenuItemStatistics.Name = "toolStripMenuItemStatistics"; this.toolStripMenuItemStatistics.Name = "toolStripMenuItemStatistics";
@ -3868,14 +3890,14 @@ namespace Nikse.SubtitleEdit.Forms
this.timeUpDownVideoPosition.Size = new System.Drawing.Size(113, 23); this.timeUpDownVideoPosition.Size = new System.Drawing.Size(113, 23);
this.timeUpDownVideoPosition.TabIndex = 12; this.timeUpDownVideoPosition.TabIndex = 12;
this.timeUpDownVideoPosition.TabStop = false; this.timeUpDownVideoPosition.TabStop = false;
timeCode1.Hours = 0; timeCode7.Hours = 0;
timeCode1.Milliseconds = 0; timeCode7.Milliseconds = 0;
timeCode1.Minutes = 0; timeCode7.Minutes = 0;
timeCode1.Seconds = 0; timeCode7.Seconds = 0;
timeCode1.TimeSpan = System.TimeSpan.Parse("00:00:00"); timeCode7.TimeSpan = System.TimeSpan.Parse("00:00:00");
timeCode1.TotalMilliseconds = 0D; timeCode7.TotalMilliseconds = 0D;
timeCode1.TotalSeconds = 0D; timeCode7.TotalSeconds = 0D;
this.timeUpDownVideoPosition.TimeCode = timeCode1; this.timeUpDownVideoPosition.TimeCode = timeCode7;
this.timeUpDownVideoPosition.UseVideoOffset = false; this.timeUpDownVideoPosition.UseVideoOffset = false;
// //
// buttonGotoSub // buttonGotoSub
@ -4148,14 +4170,14 @@ namespace Nikse.SubtitleEdit.Forms
this.timeUpDownVideoPositionAdjust.Size = new System.Drawing.Size(113, 23); this.timeUpDownVideoPositionAdjust.Size = new System.Drawing.Size(113, 23);
this.timeUpDownVideoPositionAdjust.TabIndex = 13; this.timeUpDownVideoPositionAdjust.TabIndex = 13;
this.timeUpDownVideoPositionAdjust.TabStop = false; this.timeUpDownVideoPositionAdjust.TabStop = false;
timeCode2.Hours = 0; timeCode8.Hours = 0;
timeCode2.Milliseconds = 0; timeCode8.Milliseconds = 0;
timeCode2.Minutes = 0; timeCode8.Minutes = 0;
timeCode2.Seconds = 0; timeCode8.Seconds = 0;
timeCode2.TimeSpan = System.TimeSpan.Parse("00:00:00"); timeCode8.TimeSpan = System.TimeSpan.Parse("00:00:00");
timeCode2.TotalMilliseconds = 0D; timeCode8.TotalMilliseconds = 0D;
timeCode2.TotalSeconds = 0D; timeCode8.TotalSeconds = 0D;
this.timeUpDownVideoPositionAdjust.TimeCode = timeCode2; this.timeUpDownVideoPositionAdjust.TimeCode = timeCode8;
this.timeUpDownVideoPositionAdjust.UseVideoOffset = false; this.timeUpDownVideoPositionAdjust.UseVideoOffset = false;
// //
// buttonAdjustSetEndTime // buttonAdjustSetEndTime
@ -5496,14 +5518,14 @@ namespace Nikse.SubtitleEdit.Forms
this.timeUpDownStartTime.Size = new System.Drawing.Size(113, 23); this.timeUpDownStartTime.Size = new System.Drawing.Size(113, 23);
this.timeUpDownStartTime.TabIndex = 0; this.timeUpDownStartTime.TabIndex = 0;
this.timeUpDownStartTime.TabStop = false; this.timeUpDownStartTime.TabStop = false;
timeCode3.Hours = 0; timeCode9.Hours = 0;
timeCode3.Milliseconds = 0; timeCode9.Milliseconds = 0;
timeCode3.Minutes = 0; timeCode9.Minutes = 0;
timeCode3.Seconds = 0; timeCode9.Seconds = 0;
timeCode3.TimeSpan = System.TimeSpan.Parse("00:00:00"); timeCode9.TimeSpan = System.TimeSpan.Parse("00:00:00");
timeCode3.TotalMilliseconds = 0D; timeCode9.TotalMilliseconds = 0D;
timeCode3.TotalSeconds = 0D; timeCode9.TotalSeconds = 0D;
this.timeUpDownStartTime.TimeCode = timeCode3; this.timeUpDownStartTime.TimeCode = timeCode9;
this.timeUpDownStartTime.UseVideoOffset = false; this.timeUpDownStartTime.UseVideoOffset = false;
// //
// numericUpDownDuration // numericUpDownDuration
@ -5857,13 +5879,6 @@ namespace Nikse.SubtitleEdit.Forms
this.toolStripMenuItemShowVideoControls.Text = "Show video controls"; this.toolStripMenuItemShowVideoControls.Text = "Show video controls";
this.toolStripMenuItemShowVideoControls.Click += new System.EventHandler(this.ToolStripMenuItemShowVideoControlsClick); 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 // Main
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 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 autotranslateNLLBToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemEvenlyDistributeLines; private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemEvenlyDistributeLines;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemVerifyCompleteness; private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemVerifyCompleteness;
private System.Windows.Forms.ToolStripButton toolStripButtonVideoOpen;
} }
} }

View File

@ -1860,6 +1860,7 @@ namespace Nikse.SubtitleEdit.Forms
toolStripButtonFileNew.ToolTipText = _language.Menu.ToolBar.New; toolStripButtonFileNew.ToolTipText = _language.Menu.ToolBar.New;
toolStripButtonFileOpen.ToolTipText = _language.Menu.ToolBar.Open; toolStripButtonFileOpen.ToolTipText = _language.Menu.ToolBar.Open;
toolStripButtonVideoOpen.ToolTipText = _language.Menu.Video.OpenVideo.Replace("&", string.Empty);
toolStripButtonSave.ToolTipText = _language.Menu.ToolBar.Save; toolStripButtonSave.ToolTipText = _language.Menu.ToolBar.Save;
toolStripButtonSaveAs.ToolTipText = _language.Menu.ToolBar.SaveAs; toolStripButtonSaveAs.ToolTipText = _language.Menu.ToolBar.SaveAs;
toolStripButtonFind.ToolTipText = _language.Menu.ToolBar.Find; toolStripButtonFind.ToolTipText = _language.Menu.ToolBar.Find;
@ -5647,7 +5648,7 @@ namespace Nikse.SubtitleEdit.Forms
var oldDarkThemeShowListViewGridLines = Configuration.Settings.General.DarkThemeShowListViewGridLines; var oldDarkThemeShowListViewGridLines = Configuration.Settings.General.DarkThemeShowListViewGridLines;
using (var settings = new Options.Settings()) 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, toolStripButtonReplace.Image, toolStripButtonFixCommonErrors.Image, toolStripButtonRemoveTextForHi.Image, toolStripButtonVisualSync.Image, toolStripButtonBurnIn.Image,
toolStripButtonSpellCheck.Image, toolStripButtonNetflixQualityCheck.Image, toolStripButtonBeautifyTimeCodes.Image, toolStripButtonSettings.Image, toolStripButtonHelp.Image, toolStripButtonSpellCheck.Image, toolStripButtonNetflixQualityCheck.Image, toolStripButtonBeautifyTimeCodes.Image, toolStripButtonSettings.Image, toolStripButtonHelp.Image,
toolStripButtonSourceView.Image); toolStripButtonSourceView.Image);
@ -6124,6 +6125,7 @@ namespace Nikse.SubtitleEdit.Forms
{ {
TryLoadIcon(toolStripButtonFileNew, "New"); TryLoadIcon(toolStripButtonFileNew, "New");
TryLoadIcon(toolStripButtonFileOpen, "Open"); TryLoadIcon(toolStripButtonFileOpen, "Open");
TryLoadIcon(toolStripButtonVideoOpen, "OpenVideo");
TryLoadIcon(toolStripButtonSave, "Save"); TryLoadIcon(toolStripButtonSave, "Save");
TryLoadIcon(toolStripButtonSaveAs, "SaveAs"); TryLoadIcon(toolStripButtonSaveAs, "SaveAs");
TryLoadIcon(toolStripButtonFind, "Find"); TryLoadIcon(toolStripButtonFind, "Find");
@ -6160,6 +6162,7 @@ namespace Nikse.SubtitleEdit.Forms
toolStripButtonFileNew.Visible = gs.ShowToolbarNew; toolStripButtonFileNew.Visible = gs.ShowToolbarNew;
toolStripButtonFileOpen.Visible = gs.ShowToolbarOpen; toolStripButtonFileOpen.Visible = gs.ShowToolbarOpen;
toolStripButtonVideoOpen.Visible = gs.ShowToolbarOpenVideo;
toolStripButtonSave.Visible = gs.ShowToolbarSave; toolStripButtonSave.Visible = gs.ShowToolbarSave;
toolStripButtonSaveAs.Visible = gs.ShowToolbarSaveAs; toolStripButtonSaveAs.Visible = gs.ShowToolbarSaveAs;
toolStripButtonFind.Visible = gs.ShowToolbarFind; toolStripButtonFind.Visible = gs.ShowToolbarFind;
@ -6185,7 +6188,7 @@ namespace Nikse.SubtitleEdit.Forms
toolStripSeparatorFixSyncSpell.Visible = gs.ShowToolbarFixCommonErrors || gs.ShowToolbarVisualSync || gs.ShowToolbarSpellCheck || gs.ShowToolbarSettings; toolStripSeparatorFixSyncSpell.Visible = gs.ShowToolbarFixCommonErrors || gs.ShowToolbarVisualSync || gs.ShowToolbarSpellCheck || gs.ShowToolbarSettings;
toolStripSeparatorHelp.Visible = gs.ShowToolbarHelp; 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.ShowToolbarFixCommonErrors || gs.ShowToolbarVisualSync || gs.ShowToolbarSpellCheck || gs.ShowToolbarNetflixGlyphCheck ||
gs.ShowToolbarBeautifyTimeCodes || gs.ShowToolbarSettings || gs.ShowToolbarHelp; gs.ShowToolbarBeautifyTimeCodes || gs.ShowToolbarSettings || gs.ShowToolbarHelp;
@ -36610,5 +36613,10 @@ namespace Nikse.SubtitleEdit.Forms
MessageBox.Show(sb.ToString() + sbTrackInfo.ToString()); MessageBox.Show(sb.ToString() + sbTrackInfo.ToString());
} }
private void ToolStripButtonVideoOpenClick(object sender, EventArgs e)
{
OpenVideoDialog();
}
} }
} }

View File

@ -148,6 +148,44 @@
OFGZYn3P7LOMuWOFSTh9MRMG7Ulj2hVgf3x8/Ef8jyYYDKofDjU1Nf9YtwI9CAe6kfNZFlI+TkRqaRLS OFGZYn3P7LOMuWOFSTh9MRMG7Ulj2hVgf3x8/Ef8jyYYDKofDjU1Nf9YtwI9CAe6kfNZFlI+TkRqaRLS
yl5UYp9yPhFnvj2J5OOJV8gymVapZ8DQ44YOGDps6gVDSfeow553PUHP2aejz507COpQbsJa4nuJrcba yl5UYp9yPhFnvj2J5OOJV8gymVapZ8DQ44YOGDps6gVDSfeow553PUHP2aejz507COpQbsJa4nuJrcba
QUNkkGV7Blj7DD1g6CFDjxh69F8WPelNBllGxcX9Bb3GzFtcbliFAAAAAElFTkSuQmCC QUNkkGV7Blj7DD1g6CFDjxh69F8WPelNBllGxcX9Bb3GzFtcbliFAAAAAElFTkSuQmCC
</value>
</data>
<data name="toolStripButtonVideoOpen.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
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
</value> </value>
</data> </data>
<data name="toolStripButtonFileOpen.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButtonFileOpen.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@ -687,6 +725,9 @@
<metadata name="toolStripWaveControls.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="toolStripWaveControls.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>652, 56</value> <value>652, 56</value>
</metadata> </metadata>
<metadata name="toolStripWaveControls.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>652, 56</value>
</metadata>
<data name="toolStripButtonWaveformZoomOut.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButtonWaveformZoomOut.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
@ -730,9 +771,9 @@
<data name="toolStripButtonLockCenter.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButtonLockCenter.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACJSURBVEhLYxjioPT6M4aKawVQHvEApAekFydIu/6bofx6 YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACJSURBVEhLYxjioPT6M4aKawVQHvEApAekFydIuf6bofx6
A5RHPADpAenFCbAZXHk1ACi2nqHi6n44BokhA5INrrpiwFBx/T9Q7DxYHILPg8VAcjBAssEgNsgQdACx A5RHPADpAenFCbAZXHk1ACi2nqHi6n44BokhA5INrrpiwFBx/T9Q7DxYHILPg8VAcjBAssEgNsgQdACx
DFXdqMFgMGowlDdqMCUG0yxLgwCowEEugEAFEsWFELGAoME0K+gHP2BgAABpZBhW3VPvKwAAAABJRU5E DFXdqMFgMGowlDdqMCUG0yxLgwCowEEugEAFEsWFELGAoME0K+gHP2BgAAB0dRgW6Ba+bgAAAABJRU5E
rkJggg== rkJggg==
</value> </value>
</data> </data>
@ -769,12 +810,12 @@
<metadata name="imageListBookmarks.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="imageListBookmarks.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>981, 56</value> <value>981, 56</value>
</metadata> </metadata>
<metadata name="contextMenuStripTextBoxListView.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>668, 17</value>
</metadata>
<metadata name="contextMenuStripTextBoxSourceView.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="contextMenuStripTextBoxSourceView.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>193, 17</value> <value>193, 17</value>
</metadata> </metadata>
<metadata name="contextMenuStripTextBoxListView.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>668, 17</value>
</metadata>
<metadata name="contextMenuStripEmpty.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="contextMenuStripEmpty.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 95</value> <value>17, 95</value>
</metadata> </metadata>

View File

@ -381,7 +381,7 @@
this.checkBoxTBSave = new System.Windows.Forms.CheckBox(); this.checkBoxTBSave = new System.Windows.Forms.CheckBox();
this.labelTBOpen = new System.Windows.Forms.Label(); this.labelTBOpen = new System.Windows.Forms.Label();
this.pictureBoxTBOpen = new System.Windows.Forms.PictureBox(); 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.labelTBNew = new System.Windows.Forms.Label();
this.pictureBoxFileNew = new System.Windows.Forms.PictureBox(); this.pictureBoxFileNew = new System.Windows.Forms.PictureBox();
this.checkBoxToolbarNew = new System.Windows.Forms.CheckBox(); this.checkBoxToolbarNew = new System.Windows.Forms.CheckBox();
@ -503,6 +503,9 @@
this.labelNllbApiUrl = new System.Windows.Forms.Label(); this.labelNllbApiUrl = new System.Windows.Forms.Label();
this.linkLabelNllbApi = new System.Windows.Forms.LinkLabel(); this.linkLabelNllbApi = new System.Windows.Forms.LinkLabel();
this.label5 = new System.Windows.Forms.Label(); 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.panelGeneral.SuspendLayout();
this.groupBoxMiscellaneous.SuspendLayout(); this.groupBoxMiscellaneous.SuspendLayout();
this.groupBoxGeneralRules.SuspendLayout(); this.groupBoxGeneralRules.SuspendLayout();
@ -586,6 +589,7 @@
this.groupBoxLibreTranslate.SuspendLayout(); this.groupBoxLibreTranslate.SuspendLayout();
this.groupBoxNllbServe.SuspendLayout(); this.groupBoxNllbServe.SuspendLayout();
this.groupBoxNllbApi.SuspendLayout(); this.groupBoxNllbApi.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxTBOpenVideo)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
// buttonOK // buttonOK
@ -5038,6 +5042,9 @@
// //
this.groupBoxShowToolBarButtons.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) this.groupBoxShowToolBarButtons.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | 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.pictureBoxWebVttStyle);
this.groupBoxShowToolBarButtons.Controls.Add(this.pictureBoxEbuProperties); this.groupBoxShowToolBarButtons.Controls.Add(this.pictureBoxEbuProperties);
this.groupBoxShowToolBarButtons.Controls.Add(this.pictureBoxWebVttProperties); this.groupBoxShowToolBarButtons.Controls.Add(this.pictureBoxWebVttProperties);
@ -5092,7 +5099,7 @@
this.groupBoxShowToolBarButtons.Controls.Add(this.checkBoxTBSave); this.groupBoxShowToolBarButtons.Controls.Add(this.checkBoxTBSave);
this.groupBoxShowToolBarButtons.Controls.Add(this.labelTBOpen); this.groupBoxShowToolBarButtons.Controls.Add(this.labelTBOpen);
this.groupBoxShowToolBarButtons.Controls.Add(this.pictureBoxTBOpen); 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.labelTBNew);
this.groupBoxShowToolBarButtons.Controls.Add(this.pictureBoxFileNew); this.groupBoxShowToolBarButtons.Controls.Add(this.pictureBoxFileNew);
this.groupBoxShowToolBarButtons.Controls.Add(this.checkBoxToolbarNew); this.groupBoxShowToolBarButtons.Controls.Add(this.checkBoxToolbarNew);
@ -5321,7 +5328,7 @@
// labelTBFixCommonErrors // labelTBFixCommonErrors
// //
this.labelTBFixCommonErrors.AutoSize = true; 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.Name = "labelTBFixCommonErrors";
this.labelTBFixCommonErrors.Size = new System.Drawing.Size(95, 13); this.labelTBFixCommonErrors.Size = new System.Drawing.Size(95, 13);
this.labelTBFixCommonErrors.TabIndex = 36; this.labelTBFixCommonErrors.TabIndex = 36;
@ -5329,7 +5336,7 @@
// //
// pictureBoxTBFixCommonErrors // 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.Name = "pictureBoxTBFixCommonErrors";
this.pictureBoxTBFixCommonErrors.Size = new System.Drawing.Size(32, 32); this.pictureBoxTBFixCommonErrors.Size = new System.Drawing.Size(32, 32);
this.pictureBoxTBFixCommonErrors.TabIndex = 35; this.pictureBoxTBFixCommonErrors.TabIndex = 35;
@ -5338,7 +5345,7 @@
// checkBoxTBFixCommonErrors // checkBoxTBFixCommonErrors
// //
this.checkBoxTBFixCommonErrors.AutoSize = true; 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.Name = "checkBoxTBFixCommonErrors";
this.checkBoxTBFixCommonErrors.Size = new System.Drawing.Size(55, 17); this.checkBoxTBFixCommonErrors.Size = new System.Drawing.Size(55, 17);
this.checkBoxTBFixCommonErrors.TabIndex = 17; this.checkBoxTBFixCommonErrors.TabIndex = 17;
@ -5456,7 +5463,7 @@
// labelTBReplace // labelTBReplace
// //
this.labelTBReplace.AutoSize = true; 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.Name = "labelTBReplace";
this.labelTBReplace.Size = new System.Drawing.Size(45, 13); this.labelTBReplace.Size = new System.Drawing.Size(45, 13);
this.labelTBReplace.TabIndex = 18; this.labelTBReplace.TabIndex = 18;
@ -5464,7 +5471,7 @@
// //
// pictureBoxTBReplace // 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.Name = "pictureBoxTBReplace";
this.pictureBoxTBReplace.Size = new System.Drawing.Size(32, 32); this.pictureBoxTBReplace.Size = new System.Drawing.Size(32, 32);
this.pictureBoxTBReplace.TabIndex = 17; this.pictureBoxTBReplace.TabIndex = 17;
@ -5473,7 +5480,7 @@
// checkBoxTBReplace // checkBoxTBReplace
// //
this.checkBoxTBReplace.AutoSize = true; 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.Name = "checkBoxTBReplace";
this.checkBoxTBReplace.Size = new System.Drawing.Size(55, 17); this.checkBoxTBReplace.Size = new System.Drawing.Size(55, 17);
this.checkBoxTBReplace.TabIndex = 16; this.checkBoxTBReplace.TabIndex = 16;
@ -5483,7 +5490,7 @@
// labelTBFind // labelTBFind
// //
this.labelTBFind.AutoSize = true; 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.Name = "labelTBFind";
this.labelTBFind.Size = new System.Drawing.Size(27, 13); this.labelTBFind.Size = new System.Drawing.Size(27, 13);
this.labelTBFind.TabIndex = 15; this.labelTBFind.TabIndex = 15;
@ -5491,7 +5498,7 @@
// //
// pictureBoxTBFind // 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.Name = "pictureBoxTBFind";
this.pictureBoxTBFind.Size = new System.Drawing.Size(32, 32); this.pictureBoxTBFind.Size = new System.Drawing.Size(32, 32);
this.pictureBoxTBFind.TabIndex = 14; this.pictureBoxTBFind.TabIndex = 14;
@ -5500,7 +5507,7 @@
// checkBoxTBFind // checkBoxTBFind
// //
this.checkBoxTBFind.AutoSize = true; 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.Name = "checkBoxTBFind";
this.checkBoxTBFind.Size = new System.Drawing.Size(55, 17); this.checkBoxTBFind.Size = new System.Drawing.Size(55, 17);
this.checkBoxTBFind.TabIndex = 13; this.checkBoxTBFind.TabIndex = 13;
@ -5510,7 +5517,7 @@
// labelTBSaveAs // labelTBSaveAs
// //
this.labelTBSaveAs.AutoSize = true; 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.Name = "labelTBSaveAs";
this.labelTBSaveAs.Size = new System.Drawing.Size(45, 13); this.labelTBSaveAs.Size = new System.Drawing.Size(45, 13);
this.labelTBSaveAs.TabIndex = 12; this.labelTBSaveAs.TabIndex = 12;
@ -5518,7 +5525,7 @@
// //
// pictureBoxTBSaveAs // 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.Name = "pictureBoxTBSaveAs";
this.pictureBoxTBSaveAs.Size = new System.Drawing.Size(32, 32); this.pictureBoxTBSaveAs.Size = new System.Drawing.Size(32, 32);
this.pictureBoxTBSaveAs.TabIndex = 11; this.pictureBoxTBSaveAs.TabIndex = 11;
@ -5527,7 +5534,7 @@
// checkBoxTBSaveAs // checkBoxTBSaveAs
// //
this.checkBoxTBSaveAs.AutoSize = true; 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.Name = "checkBoxTBSaveAs";
this.checkBoxTBSaveAs.Size = new System.Drawing.Size(55, 17); this.checkBoxTBSaveAs.Size = new System.Drawing.Size(55, 17);
this.checkBoxTBSaveAs.TabIndex = 10; this.checkBoxTBSaveAs.TabIndex = 10;
@ -5537,7 +5544,7 @@
// labelTBSave // labelTBSave
// //
this.labelTBSave.AutoSize = true; 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.Name = "labelTBSave";
this.labelTBSave.Size = new System.Drawing.Size(31, 13); this.labelTBSave.Size = new System.Drawing.Size(31, 13);
this.labelTBSave.TabIndex = 9; this.labelTBSave.TabIndex = 9;
@ -5545,7 +5552,7 @@
// //
// pictureBoxTBSave // 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.Name = "pictureBoxTBSave";
this.pictureBoxTBSave.Size = new System.Drawing.Size(32, 32); this.pictureBoxTBSave.Size = new System.Drawing.Size(32, 32);
this.pictureBoxTBSave.TabIndex = 8; this.pictureBoxTBSave.TabIndex = 8;
@ -5554,7 +5561,7 @@
// checkBoxTBSave // checkBoxTBSave
// //
this.checkBoxTBSave.AutoSize = true; 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.Name = "checkBoxTBSave";
this.checkBoxTBSave.Size = new System.Drawing.Size(55, 17); this.checkBoxTBSave.Size = new System.Drawing.Size(55, 17);
this.checkBoxTBSave.TabIndex = 7; this.checkBoxTBSave.TabIndex = 7;
@ -5580,13 +5587,13 @@
// //
// checkBoxTBpen // checkBoxTBpen
// //
this.checkBoxTBpen.AutoSize = true; this.checkBoxTBOpen.AutoSize = true;
this.checkBoxTBpen.Location = new System.Drawing.Point(126, 81); this.checkBoxTBOpen.Location = new System.Drawing.Point(126, 81);
this.checkBoxTBpen.Name = "checkBoxTBpen"; this.checkBoxTBOpen.Name = "checkBoxTBOpen";
this.checkBoxTBpen.Size = new System.Drawing.Size(55, 17); this.checkBoxTBOpen.Size = new System.Drawing.Size(55, 17);
this.checkBoxTBpen.TabIndex = 4; this.checkBoxTBOpen.TabIndex = 4;
this.checkBoxTBpen.Text = "Visible"; this.checkBoxTBOpen.Text = "Visible";
this.checkBoxTBpen.UseVisualStyleBackColor = true; this.checkBoxTBOpen.UseVisualStyleBackColor = true;
// //
// labelTBNew // labelTBNew
// //
@ -6981,11 +6988,39 @@
this.label5.Size = new System.Drawing.Size(0, 13); this.label5.Size = new System.Drawing.Size(0, 13);
this.label5.TabIndex = 25; 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 // Settings
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1092, 574); this.ClientSize = new System.Drawing.Size(1092, 574);
this.Controls.Add(this.panelToolBar);
this.Controls.Add(this.panelAutoTranslate); this.Controls.Add(this.panelAutoTranslate);
this.Controls.Add(this.panelShortcuts); this.Controls.Add(this.panelShortcuts);
this.Controls.Add(this.panelVideoPlayer); this.Controls.Add(this.panelVideoPlayer);
@ -6996,7 +7031,6 @@
this.Controls.Add(this.panelFont); this.Controls.Add(this.panelFont);
this.Controls.Add(this.panelSubtitleFormats); this.Controls.Add(this.panelSubtitleFormats);
this.Controls.Add(this.panelWaveform); this.Controls.Add(this.panelWaveform);
this.Controls.Add(this.panelToolBar);
this.Controls.Add(this.panelFileTypeAssociations); this.Controls.Add(this.panelFileTypeAssociations);
this.Controls.Add(this.panelSyntaxColoring); this.Controls.Add(this.panelSyntaxColoring);
this.Controls.Add(this.listBoxSection); this.Controls.Add(this.listBoxSection);
@ -7136,6 +7170,7 @@
this.groupBoxNllbServe.PerformLayout(); this.groupBoxNllbServe.PerformLayout();
this.groupBoxNllbApi.ResumeLayout(false); this.groupBoxNllbApi.ResumeLayout(false);
this.groupBoxNllbApi.PerformLayout(); this.groupBoxNllbApi.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxTBOpenVideo)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
@ -7171,7 +7206,7 @@
private System.Windows.Forms.CheckBox checkBoxTBSave; private System.Windows.Forms.CheckBox checkBoxTBSave;
private System.Windows.Forms.Label labelTBOpen; private System.Windows.Forms.Label labelTBOpen;
private System.Windows.Forms.PictureBox pictureBoxTBOpen; 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 labelTBNew;
private System.Windows.Forms.Label labelTBHelp; private System.Windows.Forms.Label labelTBHelp;
private System.Windows.Forms.PictureBox pictureBoxTBHelp; private System.Windows.Forms.PictureBox pictureBoxTBHelp;
@ -7617,5 +7652,8 @@
private Controls.NikseComboBox nikseComboBoxChatGptModel; private Controls.NikseComboBox nikseComboBoxChatGptModel;
private System.Windows.Forms.Label labelShortcutsFilter; private System.Windows.Forms.Label labelShortcutsFilter;
private Controls.NikseComboBox nikseComboBoxShortcutsFilter; private Controls.NikseComboBox nikseComboBoxShortcutsFilter;
private System.Windows.Forms.Label labelTBOpenVideo;
private System.Windows.Forms.PictureBox pictureBoxTBOpenVideo;
private System.Windows.Forms.CheckBox checkBoxTBOpenVideo;
} }
} }

View File

@ -145,7 +145,7 @@ namespace Nikse.SubtitleEdit.Forms.Options
listBoxSection.SelectedIndex = GeneralSection; listBoxSection.SelectedIndex = GeneralSection;
checkBoxToolbarNew.Checked = gs.ShowToolbarNew; checkBoxToolbarNew.Checked = gs.ShowToolbarNew;
checkBoxTBpen.Checked = gs.ShowToolbarOpen; checkBoxTBOpen.Checked = gs.ShowToolbarOpen;
checkBoxTBSave.Checked = gs.ShowToolbarSave; checkBoxTBSave.Checked = gs.ShowToolbarSave;
checkBoxTBSaveAs.Checked = gs.ShowToolbarSaveAs; checkBoxTBSaveAs.Checked = gs.ShowToolbarSaveAs;
checkBoxTBFind.Checked = gs.ShowToolbarFind; checkBoxTBFind.Checked = gs.ShowToolbarFind;
@ -421,7 +421,7 @@ namespace Nikse.SubtitleEdit.Forms.Options
labelTBHelp.Text = language.Help; labelTBHelp.Text = language.Help;
labelToolbarIconTheme.Text = language.Theme; labelToolbarIconTheme.Text = language.Theme;
checkBoxToolbarNew.Text = LanguageSettings.Current.General.Visible; checkBoxToolbarNew.Text = LanguageSettings.Current.General.Visible;
checkBoxTBpen.Text = LanguageSettings.Current.General.Visible; checkBoxTBOpen.Text = LanguageSettings.Current.General.Visible;
checkBoxTBSave.Text = LanguageSettings.Current.General.Visible; checkBoxTBSave.Text = LanguageSettings.Current.General.Visible;
checkBoxTBSaveAs.Text = LanguageSettings.Current.General.Visible; checkBoxTBSaveAs.Text = LanguageSettings.Current.General.Visible;
checkBoxTBFind.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; labelTBOpen.Left = Math.Max(labelTBNew.Right, checkBoxToolbarNew.Right) + 18;
pictureBoxTBOpen.Left = labelTBOpen.Left; pictureBoxTBOpen.Left = labelTBOpen.Left;
checkBoxTBpen.Left = labelTBOpen.Left; checkBoxTBOpen.Left = labelTBOpen.Left;
checkBoxTBpen.TabIndex = tbTabIndex; checkBoxTBOpen.TabIndex = tbTabIndex;
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; pictureBoxTBSave.Left = labelTBSave.Left;
checkBoxTBSave.Left = labelTBSave.Left; checkBoxTBSave.Left = labelTBSave.Left;
checkBoxTBSave.TabIndex = tbTabIndex; 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) Image visualSync, Image burnIn, Image spellCheck, Image netflixGlyphCheck, Image beautifyTimeCodes, Image settings, Image help, Image toggleSourceView)
{ {
Icon = (Icon)icon.Clone(); Icon = (Icon)icon.Clone();
@ -2098,7 +2104,7 @@ namespace Nikse.SubtitleEdit.Forms.Options
var gs = Configuration.Settings.General; var gs = Configuration.Settings.General;
gs.ShowToolbarNew = checkBoxToolbarNew.Checked; gs.ShowToolbarNew = checkBoxToolbarNew.Checked;
gs.ShowToolbarOpen = checkBoxTBpen.Checked; gs.ShowToolbarOpen = checkBoxTBOpen.Checked;
gs.ShowToolbarSave = checkBoxTBSave.Checked; gs.ShowToolbarSave = checkBoxTBSave.Checked;
gs.ShowToolbarSaveAs = checkBoxTBSaveAs.Checked; gs.ShowToolbarSaveAs = checkBoxTBSaveAs.Checked;
gs.ShowToolbarFind = checkBoxTBFind.Checked; gs.ShowToolbarFind = checkBoxTBFind.Checked;