[longomatch/newui: 145/157] Polish UI for the preferences panel
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/newui: 145/157] Polish UI for the preferences panel
- Date: Mon, 1 Sep 2014 09:53:34 +0000 (UTC)
commit 52a7d70fef6fc036e0a631331aaed91b82efe8b9
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Fri Aug 29 18:19:10 2014 +0200
Polish UI for the preferences panel
.../Gui/Component/VideoPreferencesPanel.cs | 35 ++-
LongoMatch.GUI/Gui/Panel/PreferencesPanel.cs | 6 +-
LongoMatch.GUI/LongoMatch.GUI.mdp | 1 -
...oMatch.Gui.Component.GeneralPreferencesPanel.cs | 9 +-
...oMatch.Gui.Component.LiveAnalysisPreferences.cs | 67 ++---
...ngoMatch.Gui.Component.VideoPreferencesPanel.cs | 77 +++---
.../LongoMatch.Gui.Panel.NewProjectPanel.cs | 2 +-
LongoMatch.GUI/gtk-gui/gui.stetic | 297 ++++++++++----------
8 files changed, 264 insertions(+), 230 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/VideoPreferencesPanel.cs
b/LongoMatch.GUI/Gui/Component/VideoPreferencesPanel.cs
index 3272c50..9d41403 100644
--- a/LongoMatch.GUI/Gui/Component/VideoPreferencesPanel.cs
+++ b/LongoMatch.GUI/Gui/Component/VideoPreferencesPanel.cs
@@ -54,23 +54,38 @@ namespace LongoMatch.Gui.Component
renderqualcombo.Changed += HandleQualityChanged;
captureimagecombo.Changed += HandleImageChanged;
- enableSound = new CheckButton();
+ enableSound = new CheckButton ();
rendertable.Attach (enableSound, 1, 2, 3, 4,
- AttachOptions.Fill,
- AttachOptions.Fill, 0, 0);
+ AttachOptions.Fill,
+ AttachOptions.Fill, 0, 0);
enableSound.CanFocus = false;
- enableSound.Show();
+ enableSound.Show ();
enableSound.Active = Config.EnableAudio;
- enableSound.Toggled += (sender, e) => {Config.EnableAudio = enableSound.Active;};
+ enableSound.Toggled += (sender, e) => {
+ Config.EnableAudio = enableSound.Active;};
- overlayTitle = new CheckButton();
+ overlayTitle = new CheckButton ();
rendertable.Attach (overlayTitle, 1, 2, 4, 5,
- AttachOptions.Fill,
- AttachOptions.Fill, 0, 0);
+ AttachOptions.Fill,
+ AttachOptions.Fill, 0, 0);
overlayTitle.CanFocus = false;
- overlayTitle.Show();
+ overlayTitle.Show ();
overlayTitle.Active = Config.OverlayTitle;
- overlayTitle.Toggled += (sender, e) => {Config.OverlayTitle = overlayTitle.Active;};
+ overlayTitle.Toggled += (sender, e) => {
+ Config.OverlayTitle = overlayTitle.Active;};
+
+ SizeGroup sgroup = new SizeGroup (SizeGroupMode.Horizontal);
+ foreach (Widget w in capturetable) {
+ if (w is Label) {
+ sgroup.AddWidget (w);
+ }
+ }
+ foreach (Widget w in rendertable) {
+ if (w is Label) {
+ sgroup.AddWidget (w);
+ }
+ }
+ sgroup.AddWidget (fameratelabel);
}
void HandleFPSChanged (object sender, EventArgs e)
diff --git a/LongoMatch.GUI/Gui/Panel/PreferencesPanel.cs b/LongoMatch.GUI/Gui/Panel/PreferencesPanel.cs
index cfd7d08..4f1fc85 100644
--- a/LongoMatch.GUI/Gui/Panel/PreferencesPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/PreferencesPanel.cs
@@ -56,13 +56,13 @@ namespace LongoMatch.Gui.Panel
void AddPanels () {
AddPane (Catalog.GetString ("General"),
- Stetic.IconLoader.LoadIcon(this, "gtk-preferences", IconSize.Dialog),
+ Stetic.IconLoader.LoadIcon(this, "longomatch-preferences", IconSize.Dialog),
new GeneralPreferencesPanel());
AddPane (Catalog.GetString ("Video"),
- Stetic.IconLoader.LoadIcon(this, "gtk-media-record", IconSize.Dialog),
+ Stetic.IconLoader.LoadIcon(this, "longomatch-control-record",
IconSize.Dialog),
new VideoPreferencesPanel());
AddPane (Catalog.GetString ("Live analysis"),
- Pixbuf.LoadFromResource ("camera-video.png"),
+ Stetic.IconLoader.LoadIcon(this, "longomatch-video-device", IconSize.Dialog),
new LiveAnalysisPreferences());
}
diff --git a/LongoMatch.GUI/LongoMatch.GUI.mdp b/LongoMatch.GUI/LongoMatch.GUI.mdp
index b64dcc0..b828a0d 100644
--- a/LongoMatch.GUI/LongoMatch.GUI.mdp
+++ b/LongoMatch.GUI/LongoMatch.GUI.mdp
@@ -71,7 +71,6 @@
<File subtype="Directory" buildaction="Compile" name="." />
<File subtype="Code" buildaction="Compile" name="Gui/Dialog/About.cs" />
<File subtype="Code" buildaction="EmbedAsResource" name="../images/video.png" />
- <File subtype="Code" buildaction="EmbedAsResource" name="../images/camera-video.png" />
<File subtype="Directory" buildaction="Compile" name="Gui/Component" />
<File subtype="Code" buildaction="Compile" name="Gui/GUIToolkit.cs" />
<File subtype="Directory" buildaction="Compile" name="." />
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.GeneralPreferencesPanel.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.GeneralPreferencesPanel.cs
index 8b7b9c8..427aaac 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.GeneralPreferencesPanel.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.GeneralPreferencesPanel.cs
@@ -18,29 +18,35 @@ namespace LongoMatch.Gui.Component
global::Stetic.BinContainer.Attach (this);
this.Name = "LongoMatch.Gui.Component.GeneralPreferencesPanel";
// Container child
LongoMatch.Gui.Component.GeneralPreferencesPanel.Gtk.Container+ContainerChild
- this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false);
+ this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), true);
this.table1.Name = "table1";
this.table1.RowSpacing = ((uint)(6));
this.table1.ColumnSpacing = ((uint)(6));
+ this.table1.BorderWidth = ((uint)(20));
// Container child table1.Gtk.Table+TableChild
this.label1 = new global::Gtk.Label ();
this.label1.Name = "label1";
+ this.label1.Xalign = 0F;
this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Interface language:");
this.table1.Add (this.label1);
global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1
[this.label1]));
+ w1.XOptions = ((global::Gtk.AttachOptions)(4));
w1.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild
this.label2 = new global::Gtk.Label ();
this.label2.Name = "label2";
+ this.label2.Xalign = 0F;
this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Autosave projects");
this.table1.Add (this.label2);
global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1
[this.label2]));
w2.TopAttach = ((uint)(1));
w2.BottomAttach = ((uint)(2));
+ w2.XOptions = ((global::Gtk.AttachOptions)(4));
w2.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild
this.label3 = new global::Gtk.Label ();
this.label3.Name = "label3";
+ this.label3.Xalign = 0F;
this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Default analysis
template");
this.table1.Add (this.label3);
global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1
[this.label3]));
@@ -55,6 +61,7 @@ namespace LongoMatch.Gui.Component
global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1
[this.langcombobox]));
w4.LeftAttach = ((uint)(1));
w4.RightAttach = ((uint)(2));
+ w4.XOptions = ((global::Gtk.AttachOptions)(4));
w4.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild
this.templatescombobox = global::Gtk.ComboBox.NewText ();
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.LiveAnalysisPreferences.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.LiveAnalysisPreferences.cs
index 715c629..16cadad 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.LiveAnalysisPreferences.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.LiveAnalysisPreferences.cs
@@ -4,7 +4,6 @@ namespace LongoMatch.Gui.Component
{
public partial class LiveAnalysisPreferences
{
- private global::Gtk.ScrolledWindow scrolledwindow1;
private global::Gtk.Table table1;
private global::Gtk.HBox hbox1;
private global::Gtk.Label dirlabel;
@@ -20,18 +19,11 @@ namespace LongoMatch.Gui.Component
global::Stetic.BinContainer.Attach (this);
this.Name = "LongoMatch.Gui.Component.LiveAnalysisPreferences";
// Container child
LongoMatch.Gui.Component.LiveAnalysisPreferences.Gtk.Container+ContainerChild
- this.scrolledwindow1 = new global::Gtk.ScrolledWindow ();
- this.scrolledwindow1.CanFocus = true;
- this.scrolledwindow1.Name = "scrolledwindow1";
- this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
- // Container child scrolledwindow1.Gtk.Container+ContainerChild
- global::Gtk.Viewport w1 = new global::Gtk.Viewport ();
- w1.ShadowType = ((global::Gtk.ShadowType)(0));
- // Container child GtkViewport.Gtk.Container+ContainerChild
- this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false);
+ this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), true);
this.table1.Name = "table1";
this.table1.RowSpacing = ((uint)(6));
this.table1.ColumnSpacing = ((uint)(6));
+ this.table1.BorderWidth = ((uint)(20));
// Container child table1.Gtk.Table+TableChild
this.hbox1 = new global::Gtk.HBox ();
this.hbox1.Name = "hbox1";
@@ -43,8 +35,8 @@ namespace LongoMatch.Gui.Component
this.dirlabel.Ellipsize = ((global::Pango.EllipsizeMode)(1));
this.dirlabel.MaxWidthChars = 20;
this.hbox1.Add (this.dirlabel);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1
[this.dirlabel]));
- w2.Position = 0;
+ global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1
[this.dirlabel]));
+ w1.Position = 0;
// Container child hbox1.Gtk.Box+BoxChild
this.dirbutton = new global::Gtk.Button ();
this.dirbutton.CanFocus = true;
@@ -53,39 +45,40 @@ namespace LongoMatch.Gui.Component
this.dirbutton.UseUnderline = true;
this.dirbutton.Label = "gtk-open";
this.hbox1.Add (this.dirbutton);
- global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1
[this.dirbutton]));
- w3.Position = 1;
- w3.Expand = false;
- w3.Fill = false;
+ global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1
[this.dirbutton]));
+ w2.Position = 1;
+ w2.Expand = false;
+ w2.Fill = false;
this.table1.Add (this.hbox1);
- global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1
[this.hbox1]));
- w4.TopAttach = ((uint)(1));
- w4.BottomAttach = ((uint)(2));
- w4.LeftAttach = ((uint)(1));
- w4.RightAttach = ((uint)(2));
- w4.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1
[this.hbox1]));
+ w3.TopAttach = ((uint)(1));
+ w3.BottomAttach = ((uint)(2));
+ w3.LeftAttach = ((uint)(1));
+ w3.RightAttach = ((uint)(2));
+ w3.XOptions = ((global::Gtk.AttachOptions)(4));
+ w3.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild
this.label1 = new global::Gtk.Label ();
this.label1.Name = "label1";
this.label1.Xalign = 0F;
this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Review plays in the
same window");
this.table1.Add (this.label1);
- global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1
[this.label1]));
- w5.TopAttach = ((uint)(2));
- w5.BottomAttach = ((uint)(3));
- w5.XOptions = ((global::Gtk.AttachOptions)(4));
- w5.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1
[this.label1]));
+ w4.TopAttach = ((uint)(2));
+ w4.BottomAttach = ((uint)(3));
+ w4.XOptions = ((global::Gtk.AttachOptions)(4));
+ w4.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild
this.label3 = new global::Gtk.Label ();
this.label3.Name = "label3";
this.label3.Xalign = 0F;
this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Output directory");
this.table1.Add (this.label3);
- global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1
[this.label3]));
- w6.TopAttach = ((uint)(1));
- w6.BottomAttach = ((uint)(2));
- w6.XOptions = ((global::Gtk.AttachOptions)(4));
- w6.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1
[this.label3]));
+ w5.TopAttach = ((uint)(1));
+ w5.BottomAttach = ((uint)(2));
+ w5.XOptions = ((global::Gtk.AttachOptions)(4));
+ w5.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild
this.label4 = new global::Gtk.Label ();
this.label4.Name = "label4";
@@ -93,12 +86,10 @@ namespace LongoMatch.Gui.Component
this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Render new plays
automatically\n(Requires a powerful CPU)");
this.label4.UseMarkup = true;
this.table1.Add (this.label4);
- global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1
[this.label4]));
- w7.XOptions = ((global::Gtk.AttachOptions)(4));
- w7.YOptions = ((global::Gtk.AttachOptions)(4));
- w1.Add (this.table1);
- this.scrolledwindow1.Add (w1);
- this.Add (this.scrolledwindow1);
+ global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1
[this.label4]));
+ w6.XOptions = ((global::Gtk.AttachOptions)(4));
+ w6.YOptions = ((global::Gtk.AttachOptions)(4));
+ this.Add (this.table1);
if ((this.Child != null)) {
this.Child.ShowAll ();
}
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.VideoPreferencesPanel.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.VideoPreferencesPanel.cs
index a05d4b6..cf11e44 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.VideoPreferencesPanel.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.VideoPreferencesPanel.cs
@@ -6,7 +6,7 @@ namespace LongoMatch.Gui.Component
{
private global::Gtk.VBox vbox2;
private global::Gtk.HBox hbox1;
- private global::Gtk.Label label7;
+ private global::Gtk.Label fameratelabel;
private global::Gtk.ComboBox fpscombobox;
private global::Gtk.Frame frame1;
private global::Gtk.Alignment GtkAlignment;
@@ -22,7 +22,7 @@ namespace LongoMatch.Gui.Component
private global::Gtk.Label GtkLabel;
private global::Gtk.Frame frame2;
private global::Gtk.Alignment GtkAlignment1;
- private global::Gtk.Table table2;
+ private global::Gtk.Table capturetable;
private global::Gtk.ComboBox captureenccombo;
private global::Gtk.ComboBox captureimagecombo;
private global::Gtk.ComboBox capturequalcombo;
@@ -41,19 +41,22 @@ namespace LongoMatch.Gui.Component
this.vbox2 = new global::Gtk.VBox ();
this.vbox2.Name = "vbox2";
this.vbox2.Spacing = 6;
+ this.vbox2.BorderWidth = ((uint)(20));
// Container child vbox2.Gtk.Box+BoxChild
this.hbox1 = new global::Gtk.HBox ();
this.hbox1.Name = "hbox1";
this.hbox1.Spacing = 6;
// Container child hbox1.Gtk.Box+BoxChild
- this.label7 = new global::Gtk.Label ();
- this.label7.Name = "label7";
- this.label7.Xalign = 0F;
- this.label7.LabelProp = global::Mono.Unix.Catalog.GetString (" <b>Framerate</b>");
- this.label7.UseMarkup = true;
- this.hbox1.Add (this.label7);
- global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label7]));
+ this.fameratelabel = new global::Gtk.Label ();
+ this.fameratelabel.Name = "fameratelabel";
+ this.fameratelabel.Xalign = 0F;
+ this.fameratelabel.LabelProp = global::Mono.Unix.Catalog.GetString ("
<b>Framerate</b>");
+ this.fameratelabel.UseMarkup = true;
+ this.hbox1.Add (this.fameratelabel);
+ global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1
[this.fameratelabel]));
w1.Position = 0;
+ w1.Expand = false;
+ w1.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild
this.fpscombobox = global::Gtk.ComboBox.NewText ();
this.fpscombobox.AppendText (global::Mono.Unix.Catalog.GetString ("25 fps"));
@@ -79,7 +82,7 @@ namespace LongoMatch.Gui.Component
this.GtkAlignment.Name = "GtkAlignment";
this.GtkAlignment.LeftPadding = ((uint)(12));
// Container child GtkAlignment.Gtk.Container+ContainerChild
- this.rendertable = new global::Gtk.Table (((uint)(5)), ((uint)(2)), false);
+ this.rendertable = new global::Gtk.Table (((uint)(5)), ((uint)(2)), true);
this.rendertable.Name = "rendertable";
this.rendertable.RowSpacing = ((uint)(6));
this.rendertable.ColumnSpacing = ((uint)(6));
@@ -101,6 +104,7 @@ namespace LongoMatch.Gui.Component
global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.rendertable
[this.label2]));
w5.TopAttach = ((uint)(1));
w5.BottomAttach = ((uint)(2));
+ w5.XOptions = ((global::Gtk.AttachOptions)(4));
w5.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child rendertable.Gtk.Table+TableChild
this.label3 = new global::Gtk.Label ();
@@ -144,6 +148,7 @@ namespace LongoMatch.Gui.Component
w9.BottomAttach = ((uint)(2));
w9.LeftAttach = ((uint)(1));
w9.RightAttach = ((uint)(2));
+ w9.XOptions = ((global::Gtk.AttachOptions)(4));
w9.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child rendertable.Gtk.Table+TableChild
this.renderimagecombo = global::Gtk.ComboBox.NewText ();
@@ -152,6 +157,7 @@ namespace LongoMatch.Gui.Component
global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.rendertable
[this.renderimagecombo]));
w10.LeftAttach = ((uint)(1));
w10.RightAttach = ((uint)(2));
+ w10.XOptions = ((global::Gtk.AttachOptions)(4));
w10.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child rendertable.Gtk.Table+TableChild
this.renderqualcombo = global::Gtk.ComboBox.NewText ();
@@ -162,6 +168,7 @@ namespace LongoMatch.Gui.Component
w11.BottomAttach = ((uint)(3));
w11.LeftAttach = ((uint)(1));
w11.RightAttach = ((uint)(2));
+ w11.XOptions = ((global::Gtk.AttachOptions)(4));
w11.YOptions = ((global::Gtk.AttachOptions)(4));
this.GtkAlignment.Add (this.rendertable);
this.frame1.Add (this.GtkAlignment);
@@ -183,69 +190,73 @@ namespace LongoMatch.Gui.Component
this.GtkAlignment1.Name = "GtkAlignment1";
this.GtkAlignment1.LeftPadding = ((uint)(12));
// Container child GtkAlignment1.Gtk.Container+ContainerChild
- this.table2 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false);
- this.table2.Name = "table2";
- this.table2.RowSpacing = ((uint)(6));
- this.table2.ColumnSpacing = ((uint)(6));
- // Container child table2.Gtk.Table+TableChild
+ this.capturetable = new global::Gtk.Table (((uint)(3)), ((uint)(2)), true);
+ this.capturetable.Name = "capturetable";
+ this.capturetable.RowSpacing = ((uint)(6));
+ this.capturetable.ColumnSpacing = ((uint)(6));
+ // Container child capturetable.Gtk.Table+TableChild
this.captureenccombo = global::Gtk.ComboBox.NewText ();
this.captureenccombo.Name = "captureenccombo";
- this.table2.Add (this.captureenccombo);
- global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2
[this.captureenccombo]));
+ this.capturetable.Add (this.captureenccombo);
+ global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.capturetable
[this.captureenccombo]));
w15.TopAttach = ((uint)(1));
w15.BottomAttach = ((uint)(2));
w15.LeftAttach = ((uint)(1));
w15.RightAttach = ((uint)(2));
+ w15.XOptions = ((global::Gtk.AttachOptions)(4));
w15.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table2.Gtk.Table+TableChild
+ // Container child capturetable.Gtk.Table+TableChild
this.captureimagecombo = global::Gtk.ComboBox.NewText ();
this.captureimagecombo.Name = "captureimagecombo";
- this.table2.Add (this.captureimagecombo);
- global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2
[this.captureimagecombo]));
+ this.capturetable.Add (this.captureimagecombo);
+ global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.capturetable
[this.captureimagecombo]));
w16.LeftAttach = ((uint)(1));
w16.RightAttach = ((uint)(2));
+ w16.XOptions = ((global::Gtk.AttachOptions)(4));
w16.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table2.Gtk.Table+TableChild
+ // Container child capturetable.Gtk.Table+TableChild
this.capturequalcombo = global::Gtk.ComboBox.NewText ();
this.capturequalcombo.Name = "capturequalcombo";
- this.table2.Add (this.capturequalcombo);
- global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2
[this.capturequalcombo]));
+ this.capturetable.Add (this.capturequalcombo);
+ global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.capturetable
[this.capturequalcombo]));
w17.TopAttach = ((uint)(2));
w17.BottomAttach = ((uint)(3));
w17.LeftAttach = ((uint)(1));
w17.RightAttach = ((uint)(2));
+ w17.XOptions = ((global::Gtk.AttachOptions)(4));
w17.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table2.Gtk.Table+TableChild
+ // Container child capturetable.Gtk.Table+TableChild
this.label4 = new global::Gtk.Label ();
this.label4.Name = "label4";
this.label4.Xalign = 0F;
this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Quality");
- this.table2.Add (this.label4);
- global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2
[this.label4]));
+ this.capturetable.Add (this.label4);
+ global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.capturetable
[this.label4]));
w18.TopAttach = ((uint)(2));
w18.BottomAttach = ((uint)(3));
w18.XOptions = ((global::Gtk.AttachOptions)(4));
w18.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table2.Gtk.Table+TableChild
+ // Container child capturetable.Gtk.Table+TableChild
this.label5 = new global::Gtk.Label ();
this.label5.Name = "label5";
this.label5.Xalign = 0F;
this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Encoding format");
- this.table2.Add (this.label5);
- global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2
[this.label5]));
+ this.capturetable.Add (this.label5);
+ global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.capturetable
[this.label5]));
w19.TopAttach = ((uint)(1));
w19.BottomAttach = ((uint)(2));
+ w19.XOptions = ((global::Gtk.AttachOptions)(4));
w19.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table2.Gtk.Table+TableChild
+ // Container child capturetable.Gtk.Table+TableChild
this.label6 = new global::Gtk.Label ();
this.label6.Name = "label6";
this.label6.Xalign = 0F;
this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Image format");
- this.table2.Add (this.label6);
- global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2
[this.label6]));
+ this.capturetable.Add (this.label6);
+ global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.capturetable
[this.label6]));
w20.XOptions = ((global::Gtk.AttachOptions)(4));
w20.YOptions = ((global::Gtk.AttachOptions)(4));
- this.GtkAlignment1.Add (this.table2);
+ this.GtkAlignment1.Add (this.capturetable);
this.frame2.Add (this.GtkAlignment1);
this.GtkLabel1 = new global::Gtk.Label ();
this.GtkLabel1.Name = "GtkLabel1";
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.NewProjectPanel.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.NewProjectPanel.cs
index 86723c4..c9755d2 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.NewProjectPanel.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.NewProjectPanel.cs
@@ -103,7 +103,7 @@ namespace LongoMatch.Gui.Panel
this.notebook1 = new global::Gtk.Notebook ();
this.notebook1.CanFocus = true;
this.notebook1.Name = "notebook1";
- this.notebook1.CurrentPage = 1;
+ this.notebook1.CurrentPage = 0;
this.notebook1.ShowBorder = false;
this.notebook1.Scrollable = true;
// Container child notebook1.Gtk.Notebook+NotebookChild
diff --git a/LongoMatch.GUI/gtk-gui/gui.stetic b/LongoMatch.GUI/gtk-gui/gui.stetic
index 23aef00..cefa69a 100644
--- a/LongoMatch.GUI/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI/gtk-gui/gui.stetic
@@ -4881,7 +4881,7 @@ You can continue with the current capture, cancel it or save your project.
</widget>
</child>
</widget>
- <widget class="Gtk.Bin" id="LongoMatch.Gui.Component.GeneralPreferencesPanel" design-size="300 300">
+ <widget class="Gtk.Bin" id="LongoMatch.Gui.Component.GeneralPreferencesPanel" design-size="408 300">
<property name="MemberName" />
<property name="Visible">False</property>
<child>
@@ -4889,20 +4889,24 @@ You can continue with the current capture, cancel it or save your project.
<property name="MemberName" />
<property name="NRows">3</property>
<property name="NColumns">2</property>
+ <property name="Homogeneous">True</property>
<property name="RowSpacing">6</property>
<property name="ColumnSpacing">6</property>
+ <property name="BorderWidth">20</property>
<child>
<placeholder />
</child>
<child>
<widget class="Gtk.Label" id="label1">
<property name="MemberName" />
+ <property name="Xalign">0</property>
<property name="LabelProp" translatable="yes">Interface language:</property>
</widget>
<packing>
<property name="AutoSize">False</property>
+ <property name="XOptions">Fill</property>
<property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
+ <property name="XExpand">False</property>
<property name="XFill">True</property>
<property name="XShrink">False</property>
<property name="YExpand">False</property>
@@ -4913,14 +4917,16 @@ You can continue with the current capture, cancel it or save your project.
<child>
<widget class="Gtk.Label" id="label2">
<property name="MemberName" />
+ <property name="Xalign">0</property>
<property name="LabelProp" translatable="yes">Autosave projects</property>
</widget>
<packing>
<property name="TopAttach">1</property>
<property name="BottomAttach">2</property>
<property name="AutoSize">False</property>
+ <property name="XOptions">Fill</property>
<property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
+ <property name="XExpand">False</property>
<property name="XFill">True</property>
<property name="XShrink">False</property>
<property name="YExpand">False</property>
@@ -4931,12 +4937,13 @@ You can continue with the current capture, cancel it or save your project.
<child>
<widget class="Gtk.Label" id="label3">
<property name="MemberName" />
+ <property name="Xalign">0</property>
<property name="LabelProp" translatable="yes">Default analysis template</property>
</widget>
<packing>
<property name="TopAttach">2</property>
<property name="BottomAttach">3</property>
- <property name="AutoSize">True</property>
+ <property name="AutoSize">False</property>
<property name="XOptions">Fill</property>
<property name="YOptions">Fill</property>
<property name="XExpand">False</property>
@@ -4957,8 +4964,9 @@ You can continue with the current capture, cancel it or save your project.
<property name="LeftAttach">1</property>
<property name="RightAttach">2</property>
<property name="AutoSize">False</property>
+ <property name="XOptions">Fill</property>
<property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
+ <property name="XExpand">False</property>
<property name="XFill">True</property>
<property name="XShrink">False</property>
<property name="YExpand">False</property>
@@ -4991,19 +4999,20 @@ You can continue with the current capture, cancel it or save your project.
</widget>
</child>
</widget>
- <widget class="Gtk.Bin" id="LongoMatch.Gui.Component.VideoPreferencesPanel" design-size="535 337">
+ <widget class="Gtk.Bin" id="LongoMatch.Gui.Component.VideoPreferencesPanel" design-size="1092 405">
<property name="MemberName" />
<property name="Visible">False</property>
<child>
<widget class="Gtk.VBox" id="vbox2">
<property name="MemberName" />
<property name="Spacing">6</property>
+ <property name="BorderWidth">20</property>
<child>
<widget class="Gtk.HBox" id="hbox1">
<property name="MemberName" />
<property name="Spacing">6</property>
<child>
- <widget class="Gtk.Label" id="label7">
+ <widget class="Gtk.Label" id="fameratelabel">
<property name="MemberName" />
<property name="Xalign">0</property>
<property name="LabelProp" translatable="yes"> <b>Framerate</b></property>
@@ -5012,6 +5021,8 @@ You can continue with the current capture, cancel it or save your project.
<packing>
<property name="Position">0</property>
<property name="AutoSize">False</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
</packing>
</child>
<child>
@@ -5052,6 +5063,7 @@ You can continue with the current capture, cancel it or save your project.
<property name="MemberName" />
<property name="NRows">5</property>
<property name="NColumns">2</property>
+ <property name="Homogeneous">True</property>
<property name="RowSpacing">6</property>
<property name="ColumnSpacing">6</property>
<child>
@@ -5088,8 +5100,9 @@ You can continue with the current capture, cancel it or save your project.
<property name="TopAttach">1</property>
<property name="BottomAttach">2</property>
<property name="AutoSize">False</property>
+ <property name="XOptions">Fill</property>
<property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
+ <property name="XExpand">False</property>
<property name="XFill">True</property>
<property name="XShrink">False</property>
<property name="YExpand">False</property>
@@ -5169,8 +5182,9 @@ You can continue with the current capture, cancel it or save your project.
<property name="LeftAttach">1</property>
<property name="RightAttach">2</property>
<property name="AutoSize">False</property>
+ <property name="XOptions">Fill</property>
<property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
+ <property name="XExpand">False</property>
<property name="XFill">True</property>
<property name="XShrink">False</property>
<property name="YExpand">False</property>
@@ -5188,8 +5202,9 @@ You can continue with the current capture, cancel it or save your project.
<property name="LeftAttach">1</property>
<property name="RightAttach">2</property>
<property name="AutoSize">False</property>
+ <property name="XOptions">Fill</property>
<property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
+ <property name="XExpand">False</property>
<property name="XFill">True</property>
<property name="XShrink">False</property>
<property name="YExpand">False</property>
@@ -5209,8 +5224,9 @@ You can continue with the current capture, cancel it or save your project.
<property name="LeftAttach">1</property>
<property name="RightAttach">2</property>
<property name="AutoSize">False</property>
+ <property name="XOptions">Fill</property>
<property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
+ <property name="XExpand">False</property>
<property name="XFill">True</property>
<property name="XShrink">False</property>
<property name="YExpand">False</property>
@@ -5250,10 +5266,11 @@ You can continue with the current capture, cancel it or save your project.
<property name="Yalign">0</property>
<property name="LeftPadding">12</property>
<child>
- <widget class="Gtk.Table" id="table2">
+ <widget class="Gtk.Table" id="capturetable">
<property name="MemberName" />
<property name="NRows">3</property>
<property name="NColumns">2</property>
+ <property name="Homogeneous">True</property>
<property name="RowSpacing">6</property>
<property name="ColumnSpacing">6</property>
<child>
@@ -5268,8 +5285,9 @@ You can continue with the current capture, cancel it or save your project.
<property name="LeftAttach">1</property>
<property name="RightAttach">2</property>
<property name="AutoSize">False</property>
+ <property name="XOptions">Fill</property>
<property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
+ <property name="XExpand">False</property>
<property name="XFill">True</property>
<property name="XShrink">False</property>
<property name="YExpand">False</property>
@@ -5287,8 +5305,9 @@ You can continue with the current capture, cancel it or save your project.
<property name="LeftAttach">1</property>
<property name="RightAttach">2</property>
<property name="AutoSize">False</property>
+ <property name="XOptions">Fill</property>
<property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
+ <property name="XExpand">False</property>
<property name="XFill">True</property>
<property name="XShrink">False</property>
<property name="YExpand">False</property>
@@ -5308,8 +5327,9 @@ You can continue with the current capture, cancel it or save your project.
<property name="LeftAttach">1</property>
<property name="RightAttach">2</property>
<property name="AutoSize">False</property>
+ <property name="XOptions">Fill</property>
<property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
+ <property name="XExpand">False</property>
<property name="XFill">True</property>
<property name="XShrink">False</property>
<property name="YExpand">False</property>
@@ -5347,8 +5367,9 @@ You can continue with the current capture, cancel it or save your project.
<property name="TopAttach">1</property>
<property name="BottomAttach">2</property>
<property name="AutoSize">False</property>
+ <property name="XOptions">Fill</property>
<property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
+ <property name="XExpand">False</property>
<property name="XFill">True</property>
<property name="XShrink">False</property>
<property name="YExpand">False</property>
@@ -5363,7 +5384,7 @@ You can continue with the current capture, cancel it or save your project.
<property name="LabelProp" translatable="yes">Image format</property>
</widget>
<packing>
- <property name="AutoSize">True</property>
+ <property name="AutoSize">False</property>
<property name="XOptions">Fill</property>
<property name="YOptions">Fill</property>
<property name="XExpand">False</property>
@@ -5398,143 +5419,133 @@ You can continue with the current capture, cancel it or save your project.
</widget>
</child>
</widget>
- <widget class="Gtk.Bin" id="LongoMatch.Gui.Component.LiveAnalysisPreferences" design-size="588 118">
+ <widget class="Gtk.Bin" id="LongoMatch.Gui.Component.LiveAnalysisPreferences" design-size="776 240">
<property name="MemberName" />
<property name="Visible">False</property>
<child>
- <widget class="Gtk.ScrolledWindow" id="scrolledwindow1">
+ <widget class="Gtk.Table" id="table1">
<property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
+ <property name="NRows">3</property>
+ <property name="NColumns">2</property>
+ <property name="Homogeneous">True</property>
+ <property name="RowSpacing">6</property>
+ <property name="ColumnSpacing">6</property>
+ <property name="BorderWidth">20</property>
<child>
- <widget class="Gtk.Viewport" id="GtkViewport">
+ <placeholder />
+ </child>
+ <child>
+ <placeholder />
+ </child>
+ <child>
+ <widget class="Gtk.HBox" id="hbox1">
<property name="MemberName" />
- <property name="ShadowType">None</property>
+ <property name="Spacing">6</property>
<child>
- <widget class="Gtk.Table" id="table1">
+ <widget class="Gtk.Label" id="dirlabel">
<property name="MemberName" />
- <property name="NRows">3</property>
- <property name="NColumns">2</property>
- <property name="RowSpacing">6</property>
- <property name="ColumnSpacing">6</property>
- <child>
- <placeholder />
- </child>
- <child>
- <placeholder />
- </child>
- <child>
- <widget class="Gtk.HBox" id="hbox1">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Label" id="dirlabel">
- <property name="MemberName" />
- <property name="Wrap">True</property>
- <property name="Ellipsize">Start</property>
- <property name="MaxWidthChars">20</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="dirbutton">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-open</property>
- <signal name="Clicked" handler="OnDirbuttonClicked" />
- <property name="label">gtk-open</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">False</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label1">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Review plays in the same window</property>
- </widget>
- <packing>
- <property name="TopAttach">2</property>
- <property name="BottomAttach">3</property>
- <property name="AutoSize">False</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label3">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Output directory</property>
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="AutoSize">False</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label4">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Render new plays automatically
-(Requires a powerful CPU)</property>
- <property name="UseMarkup">True</property>
- </widget>
- <packing>
- <property name="AutoSize">False</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
+ <property name="Wrap">True</property>
+ <property name="Ellipsize">Start</property>
+ <property name="MaxWidthChars">20</property>
</widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">False</property>
+ </packing>
</child>
+ <child>
+ <widget class="Gtk.Button" id="dirbutton">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="UseStock">True</property>
+ <property name="Type">StockItem</property>
+ <property name="StockId">gtk-open</property>
+ <signal name="Clicked" handler="OnDirbuttonClicked" />
+ <property name="label">gtk-open</property>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="TopAttach">1</property>
+ <property name="BottomAttach">2</property>
+ <property name="LeftAttach">1</property>
+ <property name="RightAttach">2</property>
+ <property name="AutoSize">False</property>
+ <property name="XOptions">Fill</property>
+ <property name="YOptions">Fill</property>
+ <property name="XExpand">False</property>
+ <property name="XFill">True</property>
+ <property name="XShrink">False</property>
+ <property name="YExpand">False</property>
+ <property name="YFill">True</property>
+ <property name="YShrink">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="label1">
+ <property name="MemberName" />
+ <property name="Xalign">0</property>
+ <property name="LabelProp" translatable="yes">Review plays in the same window</property>
</widget>
+ <packing>
+ <property name="TopAttach">2</property>
+ <property name="BottomAttach">3</property>
+ <property name="AutoSize">False</property>
+ <property name="XOptions">Fill</property>
+ <property name="YOptions">Fill</property>
+ <property name="XExpand">False</property>
+ <property name="XFill">True</property>
+ <property name="XShrink">False</property>
+ <property name="YExpand">False</property>
+ <property name="YFill">True</property>
+ <property name="YShrink">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="label3">
+ <property name="MemberName" />
+ <property name="Xalign">0</property>
+ <property name="LabelProp" translatable="yes">Output directory</property>
+ </widget>
+ <packing>
+ <property name="TopAttach">1</property>
+ <property name="BottomAttach">2</property>
+ <property name="AutoSize">False</property>
+ <property name="XOptions">Fill</property>
+ <property name="YOptions">Fill</property>
+ <property name="XExpand">False</property>
+ <property name="XFill">True</property>
+ <property name="XShrink">False</property>
+ <property name="YExpand">False</property>
+ <property name="YFill">True</property>
+ <property name="YShrink">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="label4">
+ <property name="MemberName" />
+ <property name="Xalign">0</property>
+ <property name="LabelProp" translatable="yes">Render new plays automatically
+(Requires a powerful CPU)</property>
+ <property name="UseMarkup">True</property>
+ </widget>
+ <packing>
+ <property name="AutoSize">False</property>
+ <property name="XOptions">Fill</property>
+ <property name="YOptions">Fill</property>
+ <property name="XExpand">False</property>
+ <property name="XFill">True</property>
+ <property name="XShrink">False</property>
+ <property name="YExpand">False</property>
+ <property name="YFill">True</property>
+ <property name="YShrink">False</property>
+ </packing>
</child>
</widget>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]