mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Work on #7793
This commit is contained in:
parent
c9f818463f
commit
02f87d15e7
66
src/ui/Forms/Options/Settings.Designer.cs
generated
66
src/ui/Forms/Options/Settings.Designer.cs
generated
@ -327,6 +327,9 @@
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.checkBoxShowFrameRate = new System.Windows.Forms.CheckBox();
|
||||
this.groupBoxShowToolBarButtons = new System.Windows.Forms.GroupBox();
|
||||
this.labelTBOpenVideo = new System.Windows.Forms.Label();
|
||||
this.pictureBoxTBOpenVideo = new System.Windows.Forms.PictureBox();
|
||||
this.checkBoxTBOpenVideo = new System.Windows.Forms.CheckBox();
|
||||
this.pictureBoxWebVttStyle = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBoxEbuProperties = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBoxWebVttProperties = new System.Windows.Forms.PictureBox();
|
||||
@ -503,9 +506,6 @@
|
||||
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();
|
||||
@ -539,6 +539,7 @@
|
||||
this.panelToolBar.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.groupBoxShowToolBarButtons.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxTBOpenVideo)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWebVttStyle)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxEbuProperties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWebVttProperties)).BeginInit();
|
||||
@ -589,7 +590,6 @@
|
||||
this.groupBoxLibreTranslate.SuspendLayout();
|
||||
this.groupBoxNllbServe.SuspendLayout();
|
||||
this.groupBoxNllbApi.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxTBOpenVideo)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// buttonOK
|
||||
@ -5110,6 +5110,33 @@
|
||||
this.groupBoxShowToolBarButtons.TabStop = false;
|
||||
this.groupBoxShowToolBarButtons.Text = "Show toolbar buttons";
|
||||
//
|
||||
// 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(62, 13);
|
||||
this.labelTBOpenVideo.TabIndex = 63;
|
||||
this.labelTBOpenVideo.Text = "Open video";
|
||||
//
|
||||
// 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;
|
||||
//
|
||||
// checkBoxTBOpenVideo
|
||||
//
|
||||
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;
|
||||
//
|
||||
// pictureBoxWebVttStyle
|
||||
//
|
||||
this.pictureBoxWebVttStyle.Location = new System.Drawing.Point(285, 400);
|
||||
@ -5585,7 +5612,7 @@
|
||||
this.pictureBoxTBOpen.TabIndex = 5;
|
||||
this.pictureBoxTBOpen.TabStop = false;
|
||||
//
|
||||
// checkBoxTBpen
|
||||
// checkBoxTBOpen
|
||||
//
|
||||
this.checkBoxTBOpen.AutoSize = true;
|
||||
this.checkBoxTBOpen.Location = new System.Drawing.Point(126, 81);
|
||||
@ -6988,33 +7015,6 @@
|
||||
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);
|
||||
@ -7104,6 +7104,7 @@
|
||||
this.groupBox2.PerformLayout();
|
||||
this.groupBoxShowToolBarButtons.ResumeLayout(false);
|
||||
this.groupBoxShowToolBarButtons.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxTBOpenVideo)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWebVttStyle)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxEbuProperties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWebVttProperties)).EndInit();
|
||||
@ -7170,7 +7171,6 @@
|
||||
this.groupBoxNllbServe.PerformLayout();
|
||||
this.groupBoxNllbApi.ResumeLayout(false);
|
||||
this.groupBoxNllbApi.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxTBOpenVideo)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
|
@ -146,6 +146,7 @@ namespace Nikse.SubtitleEdit.Forms.Options
|
||||
|
||||
checkBoxToolbarNew.Checked = gs.ShowToolbarNew;
|
||||
checkBoxTBOpen.Checked = gs.ShowToolbarOpen;
|
||||
checkBoxTBOpenVideo.Checked = gs.ShowToolbarOpenVideo;
|
||||
checkBoxTBSave.Checked = gs.ShowToolbarSave;
|
||||
checkBoxTBSaveAs.Checked = gs.ShowToolbarSaveAs;
|
||||
checkBoxTBFind.Checked = gs.ShowToolbarFind;
|
||||
@ -422,6 +423,7 @@ namespace Nikse.SubtitleEdit.Forms.Options
|
||||
labelToolbarIconTheme.Text = language.Theme;
|
||||
checkBoxToolbarNew.Text = LanguageSettings.Current.General.Visible;
|
||||
checkBoxTBOpen.Text = LanguageSettings.Current.General.Visible;
|
||||
checkBoxTBOpenVideo.Text = LanguageSettings.Current.General.Visible;
|
||||
checkBoxTBSave.Text = LanguageSettings.Current.General.Visible;
|
||||
checkBoxTBSaveAs.Text = LanguageSettings.Current.General.Visible;
|
||||
checkBoxTBFind.Text = LanguageSettings.Current.General.Visible;
|
||||
@ -448,8 +450,8 @@ namespace Nikse.SubtitleEdit.Forms.Options
|
||||
tbTabIndex++;
|
||||
|
||||
labelTBOpenVideo.Left = Math.Max(labelTBOpen.Right, checkBoxTBOpen.Right) + 18;
|
||||
pictureBoxTBOpenVideo.Left = labelTBSave.Left;
|
||||
checkBoxTBOpenVideo.Left = labelTBSave.Left;
|
||||
pictureBoxTBOpenVideo.Left = labelTBOpenVideo.Left;
|
||||
checkBoxTBOpenVideo.Left = labelTBOpenVideo.Left;
|
||||
checkBoxTBOpenVideo.TabIndex = tbTabIndex;
|
||||
tbTabIndex++;
|
||||
|
||||
@ -2082,6 +2084,7 @@ namespace Nikse.SubtitleEdit.Forms.Options
|
||||
pictureBoxFileNew.Image = (Image)newFile.Clone();
|
||||
pictureBoxPreview1.Image = (Image)newFile.Clone();
|
||||
pictureBoxTBOpen.Image = (Image)openFile.Clone();
|
||||
pictureBoxTBOpenVideo.Image = (Image)openVideo.Clone();
|
||||
pictureBoxPreview2.Image = (Image)openFile.Clone();
|
||||
pictureBoxTBSave.Image = (Image)saveFile.Clone();
|
||||
pictureBoxPreview3.Image = (Image)saveFile.Clone();
|
||||
@ -2105,6 +2108,7 @@ namespace Nikse.SubtitleEdit.Forms.Options
|
||||
|
||||
gs.ShowToolbarNew = checkBoxToolbarNew.Checked;
|
||||
gs.ShowToolbarOpen = checkBoxTBOpen.Checked;
|
||||
gs.ShowToolbarOpenVideo = checkBoxTBOpenVideo.Checked;
|
||||
gs.ShowToolbarSave = checkBoxTBSave.Checked;
|
||||
gs.ShowToolbarSaveAs = checkBoxTBSaveAs.Checked;
|
||||
gs.ShowToolbarFind = checkBoxTBFind.Checked;
|
||||
|
Loading…
Reference in New Issue
Block a user