[longomatch] Add new UI for the projects manager
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Add new UI for the projects manager
- Date: Sat, 22 Nov 2014 10:52:53 +0000 (UTC)
commit ad2d23cd76449612e59412e79b0003b2037b61df
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Thu Nov 13 17:26:07 2014 +0100
Add new UI for the projects manager
.../Gui/Component/GameDescriptionHeader.cs | 81 ++
LongoMatch.GUI/Gui/Component/ProjectListWidget.cs | 113 ++-
LongoMatch.GUI/Gui/Component/VideoFileInfo.cs | 103 ++
LongoMatch.GUI/Gui/Panel/OpenProjectPanel.cs | 1 +
LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs | 145 +--
LongoMatch.GUI/LongoMatch.GUI.csproj | 4 +
LongoMatch.GUI/Makefile.am | 4 +
...ngoMatch.Gui.Component.GameDescriptionHeader.cs | 109 ++
.../LongoMatch.Gui.Component.ProjectListWidget.cs | 44 +-
.../LongoMatch.Gui.Component.TeamTemplateEditor.cs | 1 +
.../LongoMatch.Gui.Component.VideoFileInfo.cs | 139 +++
.../LongoMatch.Gui.Panel.NewProjectPanel.cs | 1 +
.../LongoMatch.Gui.Panel.ProjectsManagerPanel.cs | 682 ++++--------
.../LongoMatch.Gui.Panel.SportsTemplatesPanel.cs | 49 +-
.../gtk-gui/LongoMatch.Gui.Panel.WelcomePanel.cs | 1 +
LongoMatch.GUI/gtk-gui/gui.stetic | 1182 +++++++++-----------
LongoMatch.GUI/gtk-gui/objects.xml | 32 +-
data/icons/Makefile.am | 1 +
.../hicolor/scalable/actions/longomatch-search.svg | 17 +
po/POTFILES.in | 3 +
20 files changed, 1406 insertions(+), 1306 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/GameDescriptionHeader.cs
b/LongoMatch.GUI/Gui/Component/GameDescriptionHeader.cs
new file mode 100644
index 0000000..cdfc639
--- /dev/null
+++ b/LongoMatch.GUI/Gui/Component/GameDescriptionHeader.cs
@@ -0,0 +1,81 @@
+//
+// Copyright (C) 2014 Andoni Morales Alastruey
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+//
+using System;
+using Gtk;
+using LongoMatch.Core.Store;
+using Misc = LongoMatch.Gui.Helpers.Misc;
+
+
+namespace LongoMatch.Gui.Component
+{
+ [System.ComponentModel.ToolboxItem(true)]
+ public partial class GameDescriptionHeader : Gtk.Bin
+ {
+ SizeGroup namesGroup, scoreGroup;
+
+ public GameDescriptionHeader ()
+ {
+ this.Build ();
+ SetStyle ();
+ namesGroup = new SizeGroup (SizeGroupMode.Horizontal);
+ namesGroup.AddWidget (homenamelabel);
+ namesGroup.AddWidget (awaynamelabel);
+ scoreGroup = new SizeGroup (SizeGroupMode.Horizontal);
+ scoreGroup.AddWidget (homescorelabel);
+ scoreGroup.AddWidget (awayscorelabel);
+ }
+
+ public ProjectDescription ProjectDescription {
+ set {
+ if (value.LocalShield != null) {
+ homeimage.Pixbuf = value.LocalShield.Scale (100, 50).Value;
+ } else {
+ homeimage.Pixbuf = Misc.LoadIcon ("longomatch-default-shield", 50);
+ }
+ homenamelabel.Text = value.LocalName;
+ homescorelabel.Text = value.LocalGoals.ToString ();
+
+ if (value.VisitorShield != null) {
+ awayimage.Pixbuf = value.VisitorShield.Scale (100, 50).Value;
+ } else {
+ awayimage.Pixbuf = Misc.LoadIcon ("longomatch-default-shield", 50);
+ }
+ awaynamelabel.Text = value.VisitorName;
+ awayscorelabel.Text = value.VisitorGoals.ToString ();
+ }
+ }
+
+ void SetStyle () {
+ Pango.FontDescription numDesc = Pango.FontDescription.FromString ("Ubuntu 48px");
+ Pango.FontDescription nameDesc = Pango.FontDescription.FromString ("Ubuntu 30px");
+
+ homescoreeventbox.ModifyBg (StateType.Normal, Misc.ToGdkColor
(Config.Style.PaletteBackgroundDark));
+ homescorelabel.ModifyFg (StateType.Normal, Misc.ToGdkColor
(Config.Style.PaletteText));
+ homescorelabel.ModifyFont (numDesc);
+ awayscoreeventbox.ModifyBg (StateType.Normal, Misc.ToGdkColor
(Config.Style.PaletteBackgroundDark));
+ awayscorelabel.ModifyBg (StateType.Normal, Misc.ToGdkColor
(Config.Style.PaletteText));
+ awayscorelabel.ModifyFont (numDesc);
+ homenamelabel.ModifyFont (nameDesc);
+ homenamelabel.ModifyFg (StateType.Normal, Misc.ToGdkColor (Config.Style.PaletteText));
+ awaynamelabel.ModifyFont (nameDesc);
+ awaynamelabel.ModifyFg (StateType.Normal, Misc.ToGdkColor (Config.Style.PaletteText));
+ }
+
+ }
+}
+
diff --git a/LongoMatch.GUI/Gui/Component/ProjectListWidget.cs
b/LongoMatch.GUI/Gui/Component/ProjectListWidget.cs
index cfaee78..c733c96 100644
--- a/LongoMatch.GUI/Gui/Component/ProjectListWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/ProjectListWidget.cs
@@ -21,9 +21,11 @@ using System;
using System.Collections.Generic;
using Gdk;
using Gtk;
+using LongoMatch.Core.Common;
using LongoMatch.Core.Handlers;
using LongoMatch.Core.Store;
-using LongoMatch.Core.Common;
+using Misc = LongoMatch.Gui.Helpers.Misc;
+using Mono.Unix;
namespace LongoMatch.Gui.Component
{
@@ -35,9 +37,12 @@ namespace LongoMatch.Gui.Component
public event ProjectSelectedHandler ProjectSelected;
const int COL_DISPLAY_NAME = 0;
- const int COL_PIXBUF = 1;
- const int COL_PROJECT_DESCRIPTION = 2;
+ const int COL_PIXBUF1 = 1;
+ const int COL_PIXBUF2 = 2;
+ const int COL_PIXBUF3 = 3;
+ const int COL_PROJECT_DESCRIPTION = 4;
TreeModelFilter filter;
+ TreeModelSort sort;
List<ProjectDescription> projects;
ListStore store;
bool swallowSignals;
@@ -46,43 +51,87 @@ namespace LongoMatch.Gui.Component
{
this.Build ();
- //GtkGlue.EntrySetIcon (filterEntry, GtkGlue.EntryIconPosition.Secondary,
"gtk-clear");
store = CreateStore ();
iconview.TextColumn = COL_DISPLAY_NAME;
- iconview.PixbufColumn = COL_PIXBUF;
- iconview.SelectionChanged += OnSelectionChanged;
+ iconview.PixbufColumn = COL_PIXBUF1;
+ iconview.SelectionChanged += HandleIconViewSelectionChanged;
iconview.ItemActivated += HandleItemActivated;
iconview.ItemWidth = 200;
+
+ treeview.HeadersVisible = false;
+ treeview.AppendColumn ("Home", new CellRendererPixbuf (), "pixbuf", COL_PIXBUF2);
+ treeview.AppendColumn ("Away", new CellRendererPixbuf (), "pixbuf", COL_PIXBUF3);
+ treeview.AppendColumn ("Desc", new CellRendererText (), "text", COL_DISPLAY_NAME);
+ treeview.Selection.Mode = SelectionMode.Multiple;
+ treeview.EnableGridLines = TreeViewGridLines.None;
+ treeview.Selection.Changed += HandleTreeviewSelectionChanged;
+
sortcombobox.Active = (int)Config.ProjectSortMethod;
sortcombobox.Changed += (sender, e) => {
/* Hack to make it actually resort */
- store.SetSortColumnId (-2 , SortType.Ascending);
- store.SetSortColumnId (0, SortType.Ascending);
- Config.ProjectSortMethod = (ProjectSortMethod) sortcombobox.Active;
+ sort.SetSortFunc (COL_DISPLAY_NAME, SortFunc);
+ Config.ProjectSortMethod = (ProjectSortMethod)sortcombobox.Active;
};
+ focusimage.Pixbuf = Misc.LoadIcon ("longomatch-search", 27);
+ ShowList = false;
}
public SelectionMode SelectionMode {
set {
iconview.SelectionMode = value;
+ treeview.Selection.Mode = value;
+ }
+ }
+
+ public bool ShowList {
+ set {
+ icoscrolledwindow.Visible = !value;
+ treeviewscrolledwindow.Visible = value;
}
}
public void Fill (List<ProjectDescription> projects)
{
- Pixbuf image;
+ Pixbuf image, homeShield, awayShield;
+ string desc;
+
swallowSignals = true;
this.projects = projects;
store.Clear ();
foreach (ProjectDescription pdesc in projects) {
- if (pdesc.FileSet.Preview != null) {
+ MediaFile file = pdesc.FileSet.GetAngle (MediaFileAngle.Angle1);
+ if (file != null && file.FilePath == Constants.FAKE_PROJECT) {
+ image = Misc.LoadIcon ("longomatch-video-device-fake", 50);
+ } else if (pdesc.FileSet.Preview != null) {
image = pdesc.FileSet.Preview.Value;
} else {
- image = Stetic.IconLoader.LoadIcon (this, Gtk.Stock.Harddisk,
IconSize.Dialog);
+ image = Misc.LoadIcon ("longomatch-video-file", 50);
+ }
+ if (pdesc.LocalShield != null) {
+ homeShield = pdesc.LocalShield.Scale (50, 50).Value;
+ } else {
+ homeShield = Misc.LoadIcon ("longomatch-default-shield", 50);
+ }
+ if (pdesc.VisitorShield != null) {
+ awayShield = pdesc.VisitorShield.Scale (50, 50).Value;
+ } else {
+ awayShield = Misc.LoadIcon ("longomatch-default-shield", 50);
}
- store.AppendValues (pdesc.Title, image, pdesc);
+
+ desc = String.Format ("{0}-{1} ({2}-{3})\n{4}: {5}\n{6}: {7}\n{8}: {9}",
+ pdesc.LocalName, pdesc.VisitorName,
+ pdesc.LocalGoals, pdesc.VisitorGoals,
+ Catalog.GetString ("Date"),
+ pdesc.MatchDate.ToShortDateString(),
+ Catalog.GetString ("Competition"),
+ pdesc.Competition,
+ Catalog.GetString ("Season"),
+ pdesc.Season);
+ store.AppendValues (desc, image, homeShield, awayShield, pdesc);
}
swallowSignals = false;
+ iconview.SetCursor (new TreePath ("0"), null, false);
+ treeview.SetCursor (new TreePath ("0"), null, false);
}
public void RemoveProjects (List<ProjectDescription> projects)
@@ -103,12 +152,16 @@ namespace LongoMatch.Gui.Component
ListStore CreateStore ()
{
- store = new ListStore (typeof(string), typeof(Gdk.Pixbuf),
typeof(ProjectDescription));
- store.SetSortFunc (0, SortFunc);
- store.SetSortColumnId (0, SortType.Ascending);
+ store = new ListStore (typeof(string), typeof(Gdk.Pixbuf), typeof(Gdk.Pixbuf),
+ typeof(Gdk.Pixbuf), typeof(ProjectDescription));
+
filter = new Gtk.TreeModelFilter (store, null);
filter.VisibleFunc = new Gtk.TreeModelFilterVisibleFunc (FilterTree);
- iconview.Model = filter;
+ sort = new TreeModelSort (filter);
+ sort.SetSortFunc (COL_DISPLAY_NAME, SortFunc);
+ sort.SetSortColumnId (COL_DISPLAY_NAME, SortType.Ascending);
+ iconview.Model = sort;
+ treeview.Model = sort;
return store;
}
@@ -174,7 +227,7 @@ namespace LongoMatch.Gui.Component
filter.Refilter ();
}
- private bool FilterTree (Gtk.TreeModel model, Gtk.TreeIter iter)
+ bool FilterTree (Gtk.TreeModel model, Gtk.TreeIter iter)
{
StringComparison sc = StringComparison.InvariantCultureIgnoreCase;
ProjectDescription project = (ProjectDescription)model.GetValue (iter,
COL_PROJECT_DESCRIPTION);
@@ -199,27 +252,34 @@ namespace LongoMatch.Gui.Component
return false;
}
- protected virtual void OnSelectionChanged (object o, EventArgs args)
+ void HandleSelectionChanged (TreeModel model, TreePath[] selectedItems)
{
TreeIter iter;
List<ProjectDescription> list;
- TreePath[] pathArray;
-
+
if (swallowSignals)
return;
if (ProjectsSelected != null) {
list = new List<ProjectDescription> ();
- pathArray = iconview.SelectedItems;
-
- for (int i=0; i< pathArray.Length; i++) {
- iconview.Model.GetIterFromString (out iter, pathArray [i].ToString
());
- list.Add ((ProjectDescription)iconview.Model.GetValue (iter,
COL_PROJECT_DESCRIPTION));
+ for (int i = 0; i < selectedItems.Length; i++) {
+ model.GetIterFromString (out iter, selectedItems [i].ToString ());
+ list.Add ((ProjectDescription)model.GetValue (iter,
COL_PROJECT_DESCRIPTION));
}
ProjectsSelected (list);
}
}
+ protected virtual void HandleIconViewSelectionChanged (object o, EventArgs args)
+ {
+ HandleSelectionChanged (iconview.Model, iconview.SelectedItems);
+ }
+
+ void HandleTreeviewSelectionChanged (object sender, EventArgs e)
+ {
+ HandleSelectionChanged (treeview.Model, treeview.Selection.GetSelectedRows());
+ }
+
void HandleItemActivated (object o, ItemActivatedArgs args)
{
TreeIter iter;
@@ -236,5 +296,6 @@ namespace LongoMatch.Gui.Component
}
}
}
+
}
}
diff --git a/LongoMatch.GUI/Gui/Component/VideoFileInfo.cs b/LongoMatch.GUI/Gui/Component/VideoFileInfo.cs
new file mode 100644
index 0000000..7d18593
--- /dev/null
+++ b/LongoMatch.GUI/Gui/Component/VideoFileInfo.cs
@@ -0,0 +1,103 @@
+//
+// Copyright (C) 2014 Andoni Morales Alastruey
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+//
+using System;
+using Mono.Unix;
+using LongoMatch.Core.Common;
+using LongoMatch.Core.Store;
+using Misc = LongoMatch.Gui.Helpers.Misc;
+
+namespace LongoMatch.Gui.Component
+{
+ [System.ComponentModel.ToolboxItem(true)]
+ public partial class VideoFileInfo : Gtk.Bin
+ {
+ MediaFileSet fileSet;
+ MediaFileAngle angle;
+ MediaFile mediaFile;
+
+ public VideoFileInfo ()
+ {
+ this.Build ();
+ eventbox3.ButtonPressEvent += HandleButtonPressEvent;
+ HeightRequest = 100;
+ }
+
+ public void SetMediaFile (MediaFileSet fileSet, MediaFileAngle angle)
+ {
+ this.fileSet = fileSet;
+ this.angle = angle;
+ mediaFile = fileSet.GetAngle (angle);
+ UpdateMediaFile ();
+ }
+
+ void UpdateMediaFile ()
+ {
+ if (mediaFile == null) {
+ Visible = false;
+ return;
+ }
+ else
+ if (mediaFile.FilePath == Constants.FAKE_PROJECT) {
+ filelabel.Text = Catalog.GetString ("No video file associated yet for
live project");
+ snapshotimage.Pixbuf = Misc.LoadIcon ("longomatch-video-device-fake",
80);
+ table1.Visible = false;
+ return;
+ }
+ table1.Visible = true;
+ filelabel.Text = mediaFile.FilePath;
+ if (mediaFile.Preview != null) {
+ snapshotimage.Pixbuf = mediaFile.Preview.Value;
+ }
+ else {
+ snapshotimage.Pixbuf = Misc.LoadIcon ("longomatch-video-file", 80);
+ }
+ if (mediaFile.Duration != null) {
+ durationlabel.Text = String.Format ("{0}: {1}", Catalog.GetString
("Duration"),
+ mediaFile.Duration.ToSecondsString ());
+ }
+ else {
+ durationlabel.Text = Catalog.GetString ("Missing duration info, reload this
file.");
+ }
+ formatlabel.Text = String.Format ("{0}: {1}x{2} {3}fps", Catalog.GetString ("Format"),
+ mediaFile.VideoWidth, mediaFile.VideoHeight,
mediaFile.Fps);
+ videolabel.Text = String.Format ("{0}: {1}", Catalog.GetString ("Video codec"),
+ mediaFile.VideoCodec);
+ audiolabel.Text = String.Format ("{0}: {1}", Catalog.GetString ("Audio codec"),
+ mediaFile.VideoCodec);
+ containerlabel.Text = String.Format ("{0}: {1}", Catalog.GetString ("Container"),
+ mediaFile.Container);
+ }
+
+ void HandleButtonPressEvent (object o, Gtk.ButtonPressEventArgs args)
+ {
+ if (args.Event.Button != 1 || mediaFile.FilePath == Constants.FAKE_PROJECT) {
+ return;
+ }
+ MediaFile file = Misc.OpenFile (this);
+ if (file != null) {
+ if (mediaFile != null) {
+ file.Offset = mediaFile.Offset;
+ }
+ fileSet.SetAngle (angle, file);
+ mediaFile = file;
+ UpdateMediaFile ();
+ }
+ }
+ }
+}
+
diff --git a/LongoMatch.GUI/Gui/Panel/OpenProjectPanel.cs b/LongoMatch.GUI/Gui/Panel/OpenProjectPanel.cs
index 035662a..54cf209 100644
--- a/LongoMatch.GUI/Gui/Panel/OpenProjectPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/OpenProjectPanel.cs
@@ -36,6 +36,7 @@ namespace LongoMatch.Gui.Panel
projectlistwidget.ProjectSelected += HandleProjectSelected;
projectlistwidget.SelectionMode = SelectionMode.Single;
+ projectlistwidget.ShowList = false;
panelheader1.ApplyVisible = false;
panelheader1.BackClicked += HandleClicked;
panelheader1.Title = "OPEN PROJECT";
diff --git a/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
b/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
index 80bdc18..c5d6a5d 100644
--- a/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
@@ -16,19 +16,18 @@
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
//
using System;
-using LongoMatch.Core.Store;
using System.Collections.Generic;
-using LongoMatch.Core.Interfaces;
-using LongoMatch.Core.Store.Templates;
-using LongoMatch.Core.Interfaces.GUI;
-using LongoMatch.Core.Handlers;
using Gtk;
using LongoMatch.Core.Common;
+using LongoMatch.Core.Handlers;
+using LongoMatch.Core.Interfaces;
+using LongoMatch.Core.Interfaces.GUI;
+using LongoMatch.Core.Store;
+using LongoMatch.Gui.Component;
using LongoMatch.Gui.Helpers;
-using LongoMatch.Core.Interfaces.Multimedia;
using Mono.Unix;
-using LongoMatch.Video;
-using LongoMatch.Gui.Component;
+using Pango;
+using Misc = LongoMatch.Gui.Helpers.Misc;
namespace LongoMatch.Gui.Panel
{
@@ -36,12 +35,12 @@ namespace LongoMatch.Gui.Panel
public partial class ProjectsManagerPanel : Gtk.Bin, IPanel
{
public event BackEventHandle BackEvent;
-
+
Project openedProject, loadedProject;
List<ProjectDescription> selectedProjects;
IDatabase DB;
IGUIToolkit gkit;
-
+
public ProjectsManagerPanel (Project openedProject)
{
this.openedProject = openedProject;
@@ -49,84 +48,68 @@ namespace LongoMatch.Gui.Panel
this.gkit = Config.GUIToolkit;
this.Build ();
- savebuttonimage.Pixbuf = Helpers.Misc.LoadIcon ("longomatch-project-save", 34,
IconLookupFlags.ForceSvg);
- exportbuttonimage.Pixbuf = Helpers.Misc.LoadIcon ("longomatch-project-export", 34,
IconLookupFlags.ForceSvg);
- deletebuttonimage.Pixbuf = Helpers.Misc.LoadIcon ("longomatch-project-delete", 34,
IconLookupFlags.ForceSvg);
+ savebuttonimage.Pixbuf = Misc.LoadIcon ("longomatch-project-save", 34);
+ exportbuttonimage.Pixbuf = Misc.LoadIcon ("longomatch-project-export", 34);
+ deletebuttonimage.Pixbuf = Misc.LoadIcon ("longomatch-project-delete", 34);
+ openbuttonimage.Pixbuf = Misc.LoadIcon ("longomatch-project-open", 34);
notebook1.ShowTabs = false;
notebook1.ShowBorder = false;
- projectlistwidget1.Fill (DB.GetAllProjects());
- projectlistwidget1.ProjectsSelected += HandleProjectsSelected;
projectlistwidget1.SelectionMode = SelectionMode.Multiple;
+ projectlistwidget1.ProjectsSelected += HandleProjectsSelected;
+ projectlistwidget1.Fill (DB.GetAllProjects ());
seasonentry.Changed += HandleChanged;
competitionentry.Changed += HandleChanged;
savebutton.Clicked += HandleSaveClicked;
exportbutton.Clicked += HandleExportClicked;
deletebutton.Clicked += HandleDeleteClicked;
+ openbutton.Clicked += HandleOpenClicked;
datepicker.ValueChanged += HandleDateChanged;
- mediafilechooser1.ChangedEvent += HandleFileChanged;
- mediafilechooser2.ChangedEvent += HandleFileChanged;
- mediafilechooser3.ChangedEvent += HandleFileChanged;
- mediafilechooser4.ChangedEvent += HandleFileChanged;
notebook1.Page = 0;
panelheader1.Title = "PROJECTS MANAGER";
panelheader1.ApplyVisible = false;
panelheader1.BackClicked += HandleBackClicked;
+
+ projectlistwidget1.ShowList = true;
+
+ SetStyle ();
}
- void LoadProject (Project project) {
+ void SetStyle ()
+ {
+ FontDescription desc = FontDescription.FromString ("Ubuntu 18");
+ infoeventbox.ModifyBg (StateType.Normal, Misc.ToGdkColor
(Config.Style.PaletteBackgroundDark));
+ infolabel.ModifyFg (StateType.Normal, Misc.ToGdkColor (Config.Style.PaletteText));
+ infolabel.ModifyFont (desc);
+ videoseventbox.ModifyBg (StateType.Normal, Misc.ToGdkColor
(Config.Style.PaletteBackgroundDark));
+ videoslabel.ModifyFg (StateType.Normal, Misc.ToGdkColor (Config.Style.PaletteText));
+ videoslabel.ModifyFont (desc);
+ }
+
+ void LoadProject (Project project)
+ {
ProjectDescription pd = project.Description;
MediaFile f = pd.FileSet.GetAngle (MediaFileAngle.Angle1);
- TeamTemplate lt = project.LocalTeamTemplate;
- TeamTemplate vt = project.VisitorTeamTemplate;
+ gamedescriptionheader1.ProjectDescription = pd;
seasonentry.Text = pd.Season;
competitionentry.Text = pd.Competition;
- scorelabel.Text = String.Format ("{0} - {1}", pd.LocalGoals, pd.VisitorGoals);
datepicker.Date = pd.MatchDate;
templatelabel.Text = project.Dashboard.Name;
- if (f.Preview != null) {
- fileimage1.Pixbuf = f.Preview.Value;
- } else {
- fileimage1.Pixbuf = Helpers.Misc.LoadStockIcon (this, Gtk.Stock.Harddisk,
- IconSize.Dialog);
- }
- medialabel1.Markup = f.Description;
-
- homelabel.Text = lt.TeamName;
- awaylabel.Text = vt.TeamName;
- if (lt.Shield != null) {
- homeimage.Pixbuf = lt.Shield.Value;
- } else {
- homeimage.Pixbuf = Helpers.Misc.LoadIcon (Constants.LOGO_ICON,
- Constants.MAX_SHIELD_ICON_SIZE);
- }
- if (vt.Shield != null) {
- awayimage.Pixbuf = vt.Shield.Value;
- } else {
- awayimage.Pixbuf = Helpers.Misc.LoadIcon (Constants.LOGO_ICON,
- Constants.MAX_SHIELD_ICON_SIZE);
- }
-
loadedProject = project;
-
- UpdateFile (mediafilechooser1, project.Description.FileSet.GetAngle
(MediaFileAngle.Angle1),
- MediaFileAngle.Angle1, fileimage1, medialabel1);
- UpdateFile (mediafilechooser2, project.Description.FileSet.GetAngle
(MediaFileAngle.Angle2),
- MediaFileAngle.Angle2, fileimage2, medialabel2);
- UpdateFile (mediafilechooser3, project.Description.FileSet.GetAngle
(MediaFileAngle.Angle3),
- MediaFileAngle.Angle3, fileimage3, medialabel3);
- UpdateFile (mediafilechooser4, project.Description.FileSet.GetAngle
(MediaFileAngle.Angle4),
- MediaFileAngle.Angle4, fileimage4, medialabel4);
-
- descbox.Visible = true;
+
+ videofileinfo1.SetMediaFile (project.Description.FileSet, MediaFileAngle.Angle1);
+ videofileinfo2.SetMediaFile (project.Description.FileSet, MediaFileAngle.Angle2);
+ videofileinfo3.SetMediaFile (project.Description.FileSet, MediaFileAngle.Angle3);
+ videofileinfo4.SetMediaFile (project.Description.FileSet, MediaFileAngle.Angle4);
+ projectbox.Visible = true;
}
-
+
void UpdateFile (MediaFileChooser mediafilechooser, MediaFile file, MediaFileAngle view,
- Gtk.Image image, Label label)
+ Gtk.Image image, Label label)
{
mediafilechooser.MediaFile = file;
if (file != null) {
@@ -140,27 +123,6 @@ namespace LongoMatch.Gui.Panel
}
}
- void HandleFileChanged (object sender, EventArgs e)
- {
- if (loadedProject == null) {
- return;
- }
-
- if (sender == mediafilechooser1) {
- UpdateFile (mediafilechooser1, mediafilechooser1.MediaFile,
- MediaFileAngle.Angle1, fileimage1, medialabel1);
- } else if (sender == mediafilechooser2) {
- UpdateFile (mediafilechooser2, mediafilechooser2.MediaFile,
- MediaFileAngle.Angle2, fileimage2, medialabel2);
- } else if (sender == mediafilechooser3) {
- UpdateFile (mediafilechooser3, mediafilechooser3.MediaFile,
- MediaFileAngle.Angle3, fileimage3, medialabel3);
- } else if (sender == mediafilechooser4) {
- UpdateFile (mediafilechooser4, mediafilechooser4.MediaFile,
- MediaFileAngle.Angle4, fileimage4, medialabel4);
- }
- }
-
void HandleBackClicked (object sender, EventArgs e)
{
if (notebook1.Page == 0) {
@@ -190,7 +152,7 @@ namespace LongoMatch.Gui.Panel
savebutton.Sensitive = projects.Count == 1;
exportbutton.Sensitive = projects.Count == 1;
deletebutton.Sensitive = projects.Count != 0;
- descbox.Sensitive = projects.Count == 1;
+ projectbox.Sensitive = projects.Count == 1;
selectedProjects = projects;
if (projects.Count == 1) {
@@ -202,14 +164,14 @@ namespace LongoMatch.Gui.Panel
}
}
}
-
+
void HandleSaveClicked (object sender, EventArgs e)
{
if (loadedProject != null) {
DB.UpdateProject (loadedProject);
}
}
-
+
void HandleExportClicked (object sender, EventArgs e)
{
if (loadedProject != null) {
@@ -220,7 +182,7 @@ namespace LongoMatch.Gui.Panel
new string[] { Constants.PROJECT_EXT });
if (filename != null) {
filename = System.IO.Path.ChangeExtension (filename,
Constants.PROJECT_EXT);
- Serializer.Save(loadedProject, filename);
+ Serializer.Save (loadedProject, filename);
}
}
}
@@ -240,12 +202,12 @@ namespace LongoMatch.Gui.Panel
if (selectedProjects == null)
return;
- deletedProjects = new List<ProjectDescription>();
+ deletedProjects = new List<ProjectDescription> ();
foreach (ProjectDescription selectedProject in selectedProjects) {
if (openedProject != null && openedProject.ID == selectedProject.ID) {
MessagesHelpers.WarningMessage (this,
- Catalog.GetString("This Project is
actually in use.")+"\n"+
- Catalog.GetString("Close it first to
allow its removal from the database"));
+ Catalog.GetString ("This Project is
actually in use.") + "\n" +
+ Catalog.GetString ("Close it first to allow its removal from
the database"));
continue;
}
string msg = Catalog.GetString ("Do you really want to delete:") + "\n" +
selectedProject.Title;
@@ -254,7 +216,14 @@ namespace LongoMatch.Gui.Panel
deletedProjects.Add (selectedProject);
}
}
- projectlistwidget1.RemoveProjects(deletedProjects);
+ projectlistwidget1.RemoveProjects (deletedProjects);
+ }
+
+ void HandleOpenClicked (object sender, EventArgs e)
+ {
+ if (loadedProject != null) {
+ Config.EventsBroker.EmitOpenProjectID (loadedProject.ID);
+ }
}
}
}
diff --git a/LongoMatch.GUI/LongoMatch.GUI.csproj b/LongoMatch.GUI/LongoMatch.GUI.csproj
index 1386a6b..767931f 100644
--- a/LongoMatch.GUI/LongoMatch.GUI.csproj
+++ b/LongoMatch.GUI/LongoMatch.GUI.csproj
@@ -174,6 +174,10 @@
<Compile Include="Gui\Dialog\CodecsChoiceDialog.cs" />
<Compile Include="gtk-gui\LongoMatch.Gui.Dialog.CodecsChoiceDialog.cs" />
<Compile Include="gtk-gui\LongoMatch.Gui.Component.AnalysisComponent.cs" />
+ <Compile Include="Gui\Component\GameDescriptionHeader.cs" />
+ <Compile Include="gtk-gui\LongoMatch.Gui.Component.GameDescriptionHeader.cs" />
+ <Compile Include="Gui\Component\VideoFileInfo.cs" />
+ <Compile Include="gtk-gui\LongoMatch.Gui.Component.VideoFileInfo.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="gtk-gui\gui.stetic">
diff --git a/LongoMatch.GUI/Makefile.am b/LongoMatch.GUI/Makefile.am
index b5b1489..c7c9a82 100644
--- a/LongoMatch.GUI/Makefile.am
+++ b/LongoMatch.GUI/Makefile.am
@@ -13,6 +13,7 @@ SOURCES = Gui/Cairo.cs \
Gui/Component/DatePicker.cs \
Gui/Component/EventsListWidget.cs \
Gui/Component/FakeAnalysisComponent.cs \
+ Gui/Component/GameDescriptionHeader.cs \
Gui/Component/GeneralPreferencesPanel.cs \
Gui/Component/HotkeysConfiguration.cs \
Gui/Component/LiveAnalysisPreferences.cs \
@@ -32,6 +33,7 @@ SOURCES = Gui/Cairo.cs \
Gui/Component/TeamTemplateEditor.cs \
Gui/Component/TeamsComboBox.cs \
Gui/Component/Timeline.cs \
+ Gui/Component/VideoFileInfo.cs \
Gui/Component/VideoPreferencesPanel.cs \
Gui/Dialog/About.cs \
Gui/Dialog/BusyDialog.cs \
@@ -83,6 +85,7 @@ SOURCES = Gui/Cairo.cs \
gtk-gui/LongoMatch.Gui.Component.DatePicker.cs \
gtk-gui/LongoMatch.Gui.Component.EventsListWidget.cs \
gtk-gui/LongoMatch.Gui.Component.FakeAnalysisComponent.cs \
+ gtk-gui/LongoMatch.Gui.Component.GameDescriptionHeader.cs \
gtk-gui/LongoMatch.Gui.Component.GeneralPreferencesPanel.cs \
gtk-gui/LongoMatch.Gui.Component.HotkeysConfiguration.cs \
gtk-gui/LongoMatch.Gui.Component.LiveAnalysisPreferences.cs \
@@ -101,6 +104,7 @@ SOURCES = Gui/Cairo.cs \
gtk-gui/LongoMatch.Gui.Component.RenderingStateBar.cs \
gtk-gui/LongoMatch.Gui.Component.TeamTemplateEditor.cs \
gtk-gui/LongoMatch.Gui.Component.Timeline.cs \
+ gtk-gui/LongoMatch.Gui.Component.VideoFileInfo.cs \
gtk-gui/LongoMatch.Gui.Component.VideoPreferencesPanel.cs \
gtk-gui/LongoMatch.Gui.Dialog.BusyDialog.cs \
gtk-gui/LongoMatch.Gui.Dialog.CalendarDialog.cs \
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.GameDescriptionHeader.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.GameDescriptionHeader.cs
new file mode 100644
index 0000000..3dbb47b
--- /dev/null
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.GameDescriptionHeader.cs
@@ -0,0 +1,109 @@
+
+// This file has been generated by the GUI designer. Do not modify.
+namespace LongoMatch.Gui.Component
+{
+ public partial class GameDescriptionHeader
+ {
+ private global::Gtk.HBox descbox;
+ private global::Gtk.Image homeimage;
+ private global::Gtk.VSeparator vseparator1;
+ private global::Gtk.Label homenamelabel;
+ private global::Gtk.EventBox homescoreeventbox;
+ private global::Gtk.Label homescorelabel;
+ private global::Gtk.EventBox awayscoreeventbox;
+ private global::Gtk.Label awayscorelabel;
+ private global::Gtk.Label awaynamelabel;
+ private global::Gtk.VSeparator vseparator2;
+ private global::Gtk.Image awayimage;
+
+ protected virtual void Build ()
+ {
+ global::Stetic.Gui.Initialize (this);
+ // Widget LongoMatch.Gui.Component.GameDescriptionHeader
+ global::Stetic.BinContainer.Attach (this);
+ this.Name = "LongoMatch.Gui.Component.GameDescriptionHeader";
+ // Container child
LongoMatch.Gui.Component.GameDescriptionHeader.Gtk.Container+ContainerChild
+ this.descbox = new global::Gtk.HBox ();
+ this.descbox.Name = "descbox";
+ this.descbox.Spacing = 6;
+ // Container child descbox.Gtk.Box+BoxChild
+ this.homeimage = new global::Gtk.Image ();
+ this.homeimage.Name = "homeimage";
+ this.descbox.Add (this.homeimage);
+ global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.homeimage]));
+ w1.Position = 0;
+ w1.Fill = false;
+ // Container child descbox.Gtk.Box+BoxChild
+ this.vseparator1 = new global::Gtk.VSeparator ();
+ this.vseparator1.Name = "vseparator1";
+ this.descbox.Add (this.vseparator1);
+ global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.vseparator1]));
+ w2.Position = 1;
+ w2.Expand = false;
+ w2.Fill = false;
+ // Container child descbox.Gtk.Box+BoxChild
+ this.homenamelabel = new global::Gtk.Label ();
+ this.homenamelabel.Name = "homenamelabel";
+ this.homenamelabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Home");
+ this.descbox.Add (this.homenamelabel);
+ global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.homenamelabel]));
+ w3.Position = 2;
+ w3.Expand = false;
+ w3.Fill = false;
+ // Container child descbox.Gtk.Box+BoxChild
+ this.homescoreeventbox = new global::Gtk.EventBox ();
+ this.homescoreeventbox.Name = "homescoreeventbox";
+ // Container child homescoreeventbox.Gtk.Container+ContainerChild
+ this.homescorelabel = new global::Gtk.Label ();
+ this.homescorelabel.Name = "homescorelabel";
+ this.homescorelabel.LabelProp = global::Mono.Unix.Catalog.GetString ("0");
+ this.homescoreeventbox.Add (this.homescorelabel);
+ this.descbox.Add (this.homescoreeventbox);
+ global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.homescoreeventbox]));
+ w5.Position = 3;
+ w5.Expand = false;
+ w5.Fill = false;
+ // Container child descbox.Gtk.Box+BoxChild
+ this.awayscoreeventbox = new global::Gtk.EventBox ();
+ this.awayscoreeventbox.Name = "awayscoreeventbox";
+ // Container child awayscoreeventbox.Gtk.Container+ContainerChild
+ this.awayscorelabel = new global::Gtk.Label ();
+ this.awayscorelabel.Name = "awayscorelabel";
+ this.awayscorelabel.LabelProp = global::Mono.Unix.Catalog.GetString ("0");
+ this.awayscoreeventbox.Add (this.awayscorelabel);
+ this.descbox.Add (this.awayscoreeventbox);
+ global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.awayscoreeventbox]));
+ w7.Position = 4;
+ w7.Expand = false;
+ // Container child descbox.Gtk.Box+BoxChild
+ this.awaynamelabel = new global::Gtk.Label ();
+ this.awaynamelabel.Name = "awaynamelabel";
+ this.awaynamelabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Away");
+ this.descbox.Add (this.awaynamelabel);
+ global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.awaynamelabel]));
+ w8.Position = 5;
+ w8.Expand = false;
+ w8.Fill = false;
+ // Container child descbox.Gtk.Box+BoxChild
+ this.vseparator2 = new global::Gtk.VSeparator ();
+ this.vseparator2.Name = "vseparator2";
+ this.descbox.Add (this.vseparator2);
+ global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.vseparator2]));
+ w9.Position = 6;
+ w9.Expand = false;
+ w9.Fill = false;
+ // Container child descbox.Gtk.Box+BoxChild
+ this.awayimage = new global::Gtk.Image ();
+ this.awayimage.Name = "awayimage";
+ this.descbox.Add (this.awayimage);
+ global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.awayimage]));
+ w10.Position = 7;
+ w10.Fill = false;
+ this.Add (this.descbox);
+ if ((this.Child != null)) {
+ this.Child.ShowAll ();
+ }
+ this.Hide ();
+ }
+ }
+}
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.ProjectListWidget.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.ProjectListWidget.cs
index 2331ba2..bc0fa3e 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.ProjectListWidget.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.ProjectListWidget.cs
@@ -6,11 +6,13 @@ namespace LongoMatch.Gui.Component
{
private global::Gtk.VBox vbox2;
private global::Gtk.HBox hbox1;
- private global::Gtk.Label filterlabel;
+ private global::Gtk.Image focusimage;
private global::Gtk.Entry filterEntry;
private global::Gtk.ComboBox sortcombobox;
- private global::Gtk.ScrolledWindow scrolledwindow2;
+ private global::Gtk.ScrolledWindow icoscrolledwindow;
private global::Gtk.IconView iconview;
+ private global::Gtk.ScrolledWindow treeviewscrolledwindow;
+ private global::Gtk.TreeView treeview;
protected virtual void Build ()
{
@@ -27,11 +29,10 @@ namespace LongoMatch.Gui.Component
this.hbox1.Name = "hbox1";
this.hbox1.Spacing = 6;
// Container child hbox1.Gtk.Box+BoxChild
- this.filterlabel = new global::Gtk.Label ();
- this.filterlabel.Name = "filterlabel";
- this.filterlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Projects Search:");
- this.hbox1.Add (this.filterlabel);
- global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1
[this.filterlabel]));
+ this.focusimage = new global::Gtk.Image ();
+ this.focusimage.Name = "focusimage";
+ this.hbox1.Add (this.focusimage);
+ global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1
[this.focusimage]));
w1.Position = 0;
w1.Expand = false;
w1.Fill = false;
@@ -44,6 +45,7 @@ namespace LongoMatch.Gui.Component
this.hbox1.Add (this.filterEntry);
global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1
[this.filterEntry]));
w2.Position = 1;
+ w2.Expand = false;
// Container child hbox1.Gtk.Box+BoxChild
this.sortcombobox = global::Gtk.ComboBox.NewText ();
this.sortcombobox.AppendText (global::Mono.Unix.Catalog.GetString ("Sort by name"));
@@ -64,21 +66,35 @@ namespace LongoMatch.Gui.Component
w4.Expand = false;
w4.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild
- this.scrolledwindow2 = new global::Gtk.ScrolledWindow ();
- this.scrolledwindow2.CanFocus = true;
- this.scrolledwindow2.Name = "scrolledwindow2";
- // Container child scrolledwindow2.Gtk.Container+ContainerChild
+ this.icoscrolledwindow = new global::Gtk.ScrolledWindow ();
+ this.icoscrolledwindow.CanFocus = true;
+ this.icoscrolledwindow.Name = "icoscrolledwindow";
+ // Container child icoscrolledwindow.Gtk.Container+ContainerChild
this.iconview = new global::Gtk.IconView ();
this.iconview.CanFocus = true;
this.iconview.Name = "iconview";
- this.scrolledwindow2.Add (this.iconview);
- this.vbox2.Add (this.scrolledwindow2);
- global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2
[this.scrolledwindow2]));
+ this.icoscrolledwindow.Add (this.iconview);
+ this.vbox2.Add (this.icoscrolledwindow);
+ global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2
[this.icoscrolledwindow]));
w6.Position = 1;
+ // Container child vbox2.Gtk.Box+BoxChild
+ this.treeviewscrolledwindow = new global::Gtk.ScrolledWindow ();
+ this.treeviewscrolledwindow.Name = "treeviewscrolledwindow";
+ // Container child treeviewscrolledwindow.Gtk.Container+ContainerChild
+ this.treeview = new global::Gtk.TreeView ();
+ this.treeview.CanFocus = true;
+ this.treeview.Name = "treeview";
+ this.treeview.HeadersVisible = false;
+ this.treeviewscrolledwindow.Add (this.treeview);
+ this.vbox2.Add (this.treeviewscrolledwindow);
+ global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2
[this.treeviewscrolledwindow]));
+ w8.Position = 2;
this.Add (this.vbox2);
if ((this.Child != null)) {
this.Child.ShowAll ();
}
+ this.icoscrolledwindow.Hide ();
+ this.treeviewscrolledwindow.Hide ();
this.Show ();
this.filterEntry.Changed += new global::System.EventHandler
(this.OnFilterentryChanged);
}
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.TeamTemplateEditor.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.TeamTemplateEditor.cs
index 72e90b2..891e39f 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.TeamTemplateEditor.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.TeamTemplateEditor.cs
@@ -300,6 +300,7 @@ namespace LongoMatch.Gui.Component
this.playerpropertyhbox.Spacing = 6;
// Container child playerpropertyhbox.Gtk.Box+BoxChild
this.alignment1 = new global::Gtk.Alignment (0.5F, 0F, 0F, 0F);
+ this.alignment1.Name = "alignment1";
// Container child alignment1.Gtk.Container+ContainerChild
this.playerimageframe = new global::Gtk.Frame ();
this.playerimageframe.Name = "playerimageframe";
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.VideoFileInfo.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.VideoFileInfo.cs
new file mode 100644
index 0000000..46b7787
--- /dev/null
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.VideoFileInfo.cs
@@ -0,0 +1,139 @@
+
+// This file has been generated by the GUI designer. Do not modify.
+namespace LongoMatch.Gui.Component
+{
+ public partial class VideoFileInfo
+ {
+ private global::Gtk.EventBox eventbox3;
+ private global::Gtk.VBox vbox4;
+ private global::Gtk.HBox hbox1;
+ private global::Gtk.Image snapshotimage;
+ private global::Gtk.VBox vbox2;
+ private global::Gtk.Label filelabel;
+ private global::Gtk.Table table1;
+ private global::Gtk.Label audiolabel;
+ private global::Gtk.Label containerlabel;
+ private global::Gtk.Label durationlabel;
+ private global::Gtk.Label formatlabel;
+ private global::Gtk.Label label9;
+ private global::Gtk.Label videolabel;
+ private global::Gtk.HSeparator hseparator2;
+
+ protected virtual void Build ()
+ {
+ global::Stetic.Gui.Initialize (this);
+ // Widget LongoMatch.Gui.Component.VideoFileInfo
+ global::Stetic.BinContainer.Attach (this);
+ this.Name = "LongoMatch.Gui.Component.VideoFileInfo";
+ // Container child LongoMatch.Gui.Component.VideoFileInfo.Gtk.Container+ContainerChild
+ this.eventbox3 = new global::Gtk.EventBox ();
+ this.eventbox3.Name = "eventbox3";
+ // Container child eventbox3.Gtk.Container+ContainerChild
+ this.vbox4 = new global::Gtk.VBox ();
+ this.vbox4.Name = "vbox4";
+ // Container child vbox4.Gtk.Box+BoxChild
+ this.hbox1 = new global::Gtk.HBox ();
+ this.hbox1.Name = "hbox1";
+ this.hbox1.Spacing = 20;
+ // Container child hbox1.Gtk.Box+BoxChild
+ this.snapshotimage = new global::Gtk.Image ();
+ this.snapshotimage.WidthRequest = 100;
+ this.snapshotimage.Name = "snapshotimage";
+ this.hbox1.Add (this.snapshotimage);
+ global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1
[this.snapshotimage]));
+ w1.Position = 0;
+ w1.Expand = false;
+ w1.Fill = false;
+ // Container child hbox1.Gtk.Box+BoxChild
+ this.vbox2 = new global::Gtk.VBox ();
+ this.vbox2.Name = "vbox2";
+ this.vbox2.Spacing = 6;
+ // Container child vbox2.Gtk.Box+BoxChild
+ this.filelabel = new global::Gtk.Label ();
+ this.filelabel.Name = "filelabel";
+ this.filelabel.Xalign = 0F;
+ this.filelabel.Ellipsize = ((global::Pango.EllipsizeMode)(1));
+ this.vbox2.Add (this.filelabel);
+ global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2
[this.filelabel]));
+ w2.Position = 0;
+ w2.Expand = false;
+ // Container child vbox2.Gtk.Box+BoxChild
+ this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false);
+ this.table1.Name = "table1";
+ this.table1.RowSpacing = ((uint)(6));
+ this.table1.ColumnSpacing = ((uint)(6));
+ // Container child table1.Gtk.Table+TableChild
+ this.audiolabel = new global::Gtk.Label ();
+ this.audiolabel.Name = "audiolabel";
+ this.audiolabel.Xalign = 0F;
+ this.table1.Add (this.audiolabel);
+ global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1
[this.audiolabel]));
+ w3.TopAttach = ((uint)(1));
+ w3.BottomAttach = ((uint)(2));
+ w3.LeftAttach = ((uint)(1));
+ w3.RightAttach = ((uint)(2));
+ // Container child table1.Gtk.Table+TableChild
+ this.containerlabel = new global::Gtk.Label ();
+ this.containerlabel.Name = "containerlabel";
+ this.containerlabel.Xalign = 0F;
+ this.table1.Add (this.containerlabel);
+ global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1
[this.containerlabel]));
+ w4.TopAttach = ((uint)(2));
+ w4.BottomAttach = ((uint)(3));
+ // Container child table1.Gtk.Table+TableChild
+ this.durationlabel = new global::Gtk.Label ();
+ this.durationlabel.Name = "durationlabel";
+ this.durationlabel.Xalign = 0F;
+ this.table1.Add (this.durationlabel);
+ // Container child table1.Gtk.Table+TableChild
+ this.formatlabel = new global::Gtk.Label ();
+ this.formatlabel.Name = "formatlabel";
+ this.formatlabel.Xalign = 0F;
+ this.table1.Add (this.formatlabel);
+ global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1
[this.formatlabel]));
+ w6.LeftAttach = ((uint)(1));
+ w6.RightAttach = ((uint)(2));
+ // Container child table1.Gtk.Table+TableChild
+ this.label9 = new global::Gtk.Label ();
+ this.label9.Name = "label9";
+ this.label9.Xalign = 0F;
+ this.table1.Add (this.label9);
+ global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1
[this.label9]));
+ w7.TopAttach = ((uint)(2));
+ w7.BottomAttach = ((uint)(3));
+ w7.LeftAttach = ((uint)(1));
+ w7.RightAttach = ((uint)(2));
+ // Container child table1.Gtk.Table+TableChild
+ this.videolabel = new global::Gtk.Label ();
+ this.videolabel.Name = "videolabel";
+ this.videolabel.Xalign = 0F;
+ this.table1.Add (this.videolabel);
+ global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1
[this.videolabel]));
+ w8.TopAttach = ((uint)(1));
+ w8.BottomAttach = ((uint)(2));
+ this.vbox2.Add (this.table1);
+ global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1]));
+ w9.Position = 1;
+ this.hbox1.Add (this.vbox2);
+ global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2]));
+ w10.Position = 1;
+ this.vbox4.Add (this.hbox1);
+ global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox1]));
+ w11.Position = 0;
+ // Container child vbox4.Gtk.Box+BoxChild
+ this.hseparator2 = new global::Gtk.HSeparator ();
+ this.hseparator2.Name = "hseparator2";
+ this.vbox4.Add (this.hseparator2);
+ global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox4
[this.hseparator2]));
+ w12.Position = 1;
+ w12.Expand = false;
+ w12.Fill = false;
+ this.eventbox3.Add (this.vbox4);
+ this.Add (this.eventbox3);
+ if ((this.Child != null)) {
+ this.Child.ShowAll ();
+ }
+ this.Hide ();
+ }
+ }
+}
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.NewProjectPanel.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.NewProjectPanel.cs
index 61d6b6c..6cb850b 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.NewProjectPanel.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.NewProjectPanel.cs
@@ -280,6 +280,7 @@ namespace LongoMatch.Gui.Panel
this.vbox5.Spacing = 6;
// Container child vbox5.Gtk.Box+BoxChild
this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
+ this.alignment1.Name = "alignment1";
// Container child alignment1.Gtk.Container+ContainerChild
this.topbox = new global::Gtk.HBox ();
this.topbox.Name = "topbox";
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs
index 2ad9183..0f8650d 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs
@@ -13,72 +13,31 @@ namespace LongoMatch.Gui.Panel
private global::Gtk.Alignment projectpropertiesalignment;
private global::Gtk.VBox rbox;
private global::Gtk.ScrolledWindow scrolledwindow3;
- private global::Gtk.VBox descbox;
- private global::Gtk.Frame frame5;
- private global::Gtk.Alignment GtkAlignment1;
- private global::Gtk.HBox hbox2;
- private global::Gtk.Frame frame1;
- private global::Gtk.Alignment GtkAlignment2;
- private global::Gtk.Image homeimage;
- private global::Gtk.Label homelabel;
- private global::Gtk.Frame frame2;
- private global::Gtk.Alignment GtkAlignment11;
- private global::Gtk.Image awayimage;
- private global::Gtk.Label awaylabel;
- private global::Gtk.Label GtkLabel9;
- private global::Gtk.Frame frame4;
- private global::Gtk.Alignment GtkAlignment3;
+ private global::Gtk.VBox projectbox;
+ private global::LongoMatch.Gui.Component.GameDescriptionHeader gamedescriptionheader1;
+ private global::Gtk.EventBox infoeventbox;
+ private global::Gtk.Label infolabel;
private global::Gtk.Table table1;
private global::Gtk.Entry competitionentry;
private global::Gtk.Label Competitionlabel;
private global::LongoMatch.Gui.Component.DatePicker datepicker;
- private global::Gtk.Label label11;
private global::Gtk.Label label5;
private global::Gtk.Label label9;
- private global::Gtk.Label scorelabel;
private global::Gtk.Entry seasonentry;
private global::Gtk.Label seasonlabel;
private global::Gtk.Label templatelabel;
- private global::Gtk.Label GtkLabel3;
- private global::Gtk.Frame frame3;
- private global::Gtk.Alignment GtkAlignment8;
- private global::Gtk.HBox hbox5;
- private global::Gtk.Image fileimage1;
- private global::Gtk.VBox vbox1;
- private global::Gtk.Alignment mediafilechooseralignment;
- private global::LongoMatch.Gui.Component.MediaFileChooser mediafilechooser1;
- private global::Gtk.Label medialabel1;
- private global::Gtk.Label GtkLabel6;
- private global::Gtk.Frame frame6;
- private global::Gtk.Alignment GtkAlignment9;
- private global::Gtk.HBox hbox7;
- private global::Gtk.Image fileimage2;
+ private global::Gtk.EventBox videoseventbox;
+ private global::Gtk.Label videoslabel;
private global::Gtk.VBox vbox4;
- private global::Gtk.Alignment mediafilechooseralignment1;
- private global::LongoMatch.Gui.Component.MediaFileChooser mediafilechooser2;
- private global::Gtk.Label medialabel2;
- private global::Gtk.Label GtkLabel7;
- private global::Gtk.Frame frame7;
- private global::Gtk.Alignment GtkAlignment10;
- private global::Gtk.HBox hbox9;
- private global::Gtk.Image fileimage3;
- private global::Gtk.VBox vbox5;
- private global::Gtk.Alignment mediafilechooseralignment2;
- private global::LongoMatch.Gui.Component.MediaFileChooser mediafilechooser3;
- private global::Gtk.Label medialabel3;
- private global::Gtk.Label GtkLabel8;
- private global::Gtk.Frame frame8;
- private global::Gtk.Alignment GtkAlignment12;
- private global::Gtk.HBox hbox11;
- private global::Gtk.Image fileimage4;
- private global::Gtk.VBox vbox6;
- private global::Gtk.Alignment mediafilechooseralignment3;
- private global::LongoMatch.Gui.Component.MediaFileChooser mediafilechooser4;
- private global::Gtk.Label medialabel4;
- private global::Gtk.Label GtkLabel10;
+ private global::LongoMatch.Gui.Component.VideoFileInfo videofileinfo1;
+ private global::LongoMatch.Gui.Component.VideoFileInfo videofileinfo2;
+ private global::LongoMatch.Gui.Component.VideoFileInfo videofileinfo3;
+ private global::LongoMatch.Gui.Component.VideoFileInfo videofileinfo4;
private global::Gtk.HButtonBox hbuttonbox1;
private global::Gtk.Button savebutton;
private global::Gtk.Image savebuttonimage;
+ private global::Gtk.Button openbutton;
+ private global::Gtk.Image openbuttonimage;
private global::Gtk.Button exportbutton;
private global::Gtk.Image exportbuttonimage;
private global::Gtk.Button deletebutton;
@@ -141,91 +100,42 @@ namespace LongoMatch.Gui.Panel
this.scrolledwindow3.CanFocus = true;
this.scrolledwindow3.Name = "scrolledwindow3";
this.scrolledwindow3.HscrollbarPolicy = ((global::Gtk.PolicyType)(2));
- this.scrolledwindow3.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child scrolledwindow3.Gtk.Container+ContainerChild
global::Gtk.Viewport w3 = new global::Gtk.Viewport ();
w3.ShadowType = ((global::Gtk.ShadowType)(0));
// Container child GtkViewport.Gtk.Container+ContainerChild
- this.descbox = new global::Gtk.VBox ();
- this.descbox.Name = "descbox";
- this.descbox.Spacing = 15;
- // Container child descbox.Gtk.Box+BoxChild
- this.frame5 = new global::Gtk.Frame ();
- this.frame5.Name = "frame5";
- this.frame5.ShadowType = ((global::Gtk.ShadowType)(0));
- // Container child frame5.Gtk.Container+ContainerChild
- this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
- this.GtkAlignment1.Name = "GtkAlignment1";
- this.GtkAlignment1.LeftPadding = ((uint)(12));
- // Container child GtkAlignment1.Gtk.Container+ContainerChild
- this.hbox2 = new global::Gtk.HBox ();
- this.hbox2.Name = "hbox2";
- this.hbox2.Spacing = 6;
- // Container child hbox2.Gtk.Box+BoxChild
- this.frame1 = new global::Gtk.Frame ();
- this.frame1.Name = "frame1";
- this.frame1.ShadowType = ((global::Gtk.ShadowType)(0));
- // Container child frame1.Gtk.Container+ContainerChild
- this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
- this.GtkAlignment2.Name = "GtkAlignment2";
- this.GtkAlignment2.LeftPadding = ((uint)(12));
- // Container child GtkAlignment2.Gtk.Container+ContainerChild
- this.homeimage = new global::Gtk.Image ();
- this.homeimage.Name = "homeimage";
- this.GtkAlignment2.Add (this.homeimage);
- this.frame1.Add (this.GtkAlignment2);
- this.homelabel = new global::Gtk.Label ();
- this.homelabel.Name = "homelabel";
- this.homelabel.UseMarkup = true;
- this.frame1.LabelWidget = this.homelabel;
- this.hbox2.Add (this.frame1);
- global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.frame1]));
- w6.Position = 0;
- // Container child hbox2.Gtk.Box+BoxChild
- this.frame2 = new global::Gtk.Frame ();
- this.frame2.Name = "frame2";
- this.frame2.ShadowType = ((global::Gtk.ShadowType)(0));
- // Container child frame2.Gtk.Container+ContainerChild
- this.GtkAlignment11 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
- this.GtkAlignment11.Name = "GtkAlignment11";
- this.GtkAlignment11.LeftPadding = ((uint)(12));
- // Container child GtkAlignment11.Gtk.Container+ContainerChild
- this.awayimage = new global::Gtk.Image ();
- this.awayimage.Name = "awayimage";
- this.GtkAlignment11.Add (this.awayimage);
- this.frame2.Add (this.GtkAlignment11);
- this.awaylabel = new global::Gtk.Label ();
- this.awaylabel.Name = "awaylabel";
- this.awaylabel.UseMarkup = true;
- this.frame2.LabelWidget = this.awaylabel;
- this.hbox2.Add (this.frame2);
- global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.frame2]));
- w9.Position = 1;
- this.GtkAlignment1.Add (this.hbox2);
- this.frame5.Add (this.GtkAlignment1);
- this.GtkLabel9 = new global::Gtk.Label ();
- this.GtkLabel9.Name = "GtkLabel9";
- this.GtkLabel9.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Teams</b>");
- this.GtkLabel9.UseMarkup = true;
- this.frame5.LabelWidget = this.GtkLabel9;
- this.descbox.Add (this.frame5);
- global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.frame5]));
- w12.Position = 0;
- w12.Expand = false;
- w12.Fill = false;
- // Container child descbox.Gtk.Box+BoxChild
- this.frame4 = new global::Gtk.Frame ();
- this.frame4.Name = "frame4";
- this.frame4.ShadowType = ((global::Gtk.ShadowType)(0));
- // Container child frame4.Gtk.Container+ContainerChild
- this.GtkAlignment3 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
- this.GtkAlignment3.Name = "GtkAlignment3";
- this.GtkAlignment3.LeftPadding = ((uint)(12));
- // Container child GtkAlignment3.Gtk.Container+ContainerChild
- this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(4)), true);
+ this.projectbox = new global::Gtk.VBox ();
+ this.projectbox.Name = "projectbox";
+ // Container child projectbox.Gtk.Box+BoxChild
+ this.gamedescriptionheader1 = new
global::LongoMatch.Gui.Component.GameDescriptionHeader ();
+ this.gamedescriptionheader1.HeightRequest = 60;
+ this.gamedescriptionheader1.Events = ((global::Gdk.EventMask)(256));
+ this.gamedescriptionheader1.Name = "gamedescriptionheader1";
+ this.projectbox.Add (this.gamedescriptionheader1);
+ global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.projectbox
[this.gamedescriptionheader1]));
+ w4.Position = 0;
+ w4.Expand = false;
+ w4.Fill = false;
+ w4.Padding = ((uint)(50));
+ // Container child projectbox.Gtk.Box+BoxChild
+ this.infoeventbox = new global::Gtk.EventBox ();
+ this.infoeventbox.Name = "infoeventbox";
+ // Container child infoeventbox.Gtk.Container+ContainerChild
+ this.infolabel = new global::Gtk.Label ();
+ this.infolabel.Name = "infolabel";
+ this.infolabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Information");
+ this.infolabel.UseMarkup = true;
+ this.infoeventbox.Add (this.infolabel);
+ this.projectbox.Add (this.infoeventbox);
+ global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.projectbox
[this.infoeventbox]));
+ w6.Position = 1;
+ w6.Expand = false;
+ w6.Fill = false;
+ // Container child projectbox.Gtk.Box+BoxChild
+ this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(4)), true);
this.table1.Name = "table1";
- this.table1.RowSpacing = ((uint)(6));
- this.table1.ColumnSpacing = ((uint)(6));
+ this.table1.RowSpacing = ((uint)(5));
+ this.table1.ColumnSpacing = ((uint)(5));
// Container child table1.Gtk.Table+TableChild
this.competitionentry = new global::Gtk.Entry ();
this.competitionentry.CanFocus = true;
@@ -233,79 +143,59 @@ namespace LongoMatch.Gui.Panel
this.competitionentry.IsEditable = true;
this.competitionentry.InvisibleChar = '●';
this.table1.Add (this.competitionentry);
- global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1
[this.competitionentry]));
- w13.LeftAttach = ((uint)(3));
- w13.RightAttach = ((uint)(4));
- w13.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1
[this.competitionentry]));
+ w7.LeftAttach = ((uint)(3));
+ w7.RightAttach = ((uint)(4));
+ w7.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild
this.Competitionlabel = new global::Gtk.Label ();
this.Competitionlabel.Name = "Competitionlabel";
this.Competitionlabel.Xalign = 1F;
this.Competitionlabel.LabelProp = global::Mono.Unix.Catalog.GetString
("Competition:");
this.table1.Add (this.Competitionlabel);
- global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1
[this.Competitionlabel]));
- w14.LeftAttach = ((uint)(2));
- w14.RightAttach = ((uint)(3));
- w14.XOptions = ((global::Gtk.AttachOptions)(4));
- w14.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1
[this.Competitionlabel]));
+ w8.LeftAttach = ((uint)(2));
+ w8.RightAttach = ((uint)(3));
+ w8.XOptions = ((global::Gtk.AttachOptions)(4));
+ w8.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild
this.datepicker = new global::LongoMatch.Gui.Component.DatePicker ();
+ this.datepicker.WidthRequest = 150;
this.datepicker.Events = ((global::Gdk.EventMask)(256));
this.datepicker.Name = "datepicker";
this.datepicker.Date = new global::System.DateTime (0);
this.table1.Add (this.datepicker);
- global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1
[this.datepicker]));
- w15.TopAttach = ((uint)(1));
- w15.BottomAttach = ((uint)(2));
- w15.LeftAttach = ((uint)(3));
- w15.RightAttach = ((uint)(4));
- w15.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table1.Gtk.Table+TableChild
- this.label11 = new global::Gtk.Label ();
- this.label11.Name = "label11";
- this.label11.Xalign = 1F;
- this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Score:");
- this.table1.Add (this.label11);
- global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1
[this.label11]));
- w16.TopAttach = ((uint)(1));
- w16.BottomAttach = ((uint)(2));
- w16.XOptions = ((global::Gtk.AttachOptions)(4));
- w16.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1
[this.datepicker]));
+ w9.TopAttach = ((uint)(1));
+ w9.BottomAttach = ((uint)(2));
+ w9.LeftAttach = ((uint)(3));
+ w9.RightAttach = ((uint)(4));
+ w9.XOptions = ((global::Gtk.AttachOptions)(4));
+ w9.YOptions = ((global::Gtk.AttachOptions)(0));
// Container child table1.Gtk.Table+TableChild
this.label5 = new global::Gtk.Label ();
this.label5.Name = "label5";
this.label5.Xalign = 1F;
this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Date:");
this.table1.Add (this.label5);
- global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1
[this.label5]));
- w17.TopAttach = ((uint)(1));
- w17.BottomAttach = ((uint)(2));
- w17.LeftAttach = ((uint)(2));
- w17.RightAttach = ((uint)(3));
- w17.XOptions = ((global::Gtk.AttachOptions)(4));
- w17.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1
[this.label5]));
+ w10.TopAttach = ((uint)(1));
+ w10.BottomAttach = ((uint)(2));
+ w10.LeftAttach = ((uint)(2));
+ w10.RightAttach = ((uint)(3));
+ w10.XOptions = ((global::Gtk.AttachOptions)(4));
+ w10.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild
this.label9 = new global::Gtk.Label ();
this.label9.Name = "label9";
this.label9.Xalign = 1F;
this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Analysis Template:");
this.table1.Add (this.label9);
- global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1
[this.label9]));
- w18.TopAttach = ((uint)(2));
- w18.BottomAttach = ((uint)(3));
- w18.XOptions = ((global::Gtk.AttachOptions)(4));
- w18.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table1.Gtk.Table+TableChild
- this.scorelabel = new global::Gtk.Label ();
- this.scorelabel.Name = "scorelabel";
- this.table1.Add (this.scorelabel);
- global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1
[this.scorelabel]));
- w19.TopAttach = ((uint)(1));
- w19.BottomAttach = ((uint)(2));
- w19.LeftAttach = ((uint)(1));
- w19.RightAttach = ((uint)(2));
- w19.XOptions = ((global::Gtk.AttachOptions)(4));
- w19.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1
[this.label9]));
+ w11.TopAttach = ((uint)(1));
+ w11.BottomAttach = ((uint)(2));
+ w11.XOptions = ((global::Gtk.AttachOptions)(4));
+ w11.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild
this.seasonentry = new global::Gtk.Entry ();
this.seasonentry.CanFocus = true;
@@ -313,307 +203,105 @@ namespace LongoMatch.Gui.Panel
this.seasonentry.IsEditable = true;
this.seasonentry.InvisibleChar = '●';
this.table1.Add (this.seasonentry);
- global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1
[this.seasonentry]));
- w20.LeftAttach = ((uint)(1));
- w20.RightAttach = ((uint)(2));
- w20.XOptions = ((global::Gtk.AttachOptions)(0));
- w20.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1
[this.seasonentry]));
+ w12.LeftAttach = ((uint)(1));
+ w12.RightAttach = ((uint)(2));
+ w12.XOptions = ((global::Gtk.AttachOptions)(4));
+ w12.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild
this.seasonlabel = new global::Gtk.Label ();
this.seasonlabel.Name = "seasonlabel";
this.seasonlabel.Xalign = 1F;
this.seasonlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Season:");
this.table1.Add (this.seasonlabel);
- global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1
[this.seasonlabel]));
- w21.XOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1
[this.seasonlabel]));
+ w13.XOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild
this.templatelabel = new global::Gtk.Label ();
this.templatelabel.Name = "templatelabel";
this.templatelabel.Xalign = 0F;
this.table1.Add (this.templatelabel);
- global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1
[this.templatelabel]));
- w22.TopAttach = ((uint)(2));
- w22.BottomAttach = ((uint)(3));
- w22.LeftAttach = ((uint)(1));
- w22.RightAttach = ((uint)(2));
- w22.XOptions = ((global::Gtk.AttachOptions)(4));
- w22.YOptions = ((global::Gtk.AttachOptions)(4));
- this.GtkAlignment3.Add (this.table1);
- this.frame4.Add (this.GtkAlignment3);
- this.GtkLabel3 = new global::Gtk.Label ();
- this.GtkLabel3.Name = "GtkLabel3";
- this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Project
details</b>");
- this.GtkLabel3.UseMarkup = true;
- this.frame4.LabelWidget = this.GtkLabel3;
- this.descbox.Add (this.frame4);
- global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.frame4]));
- w25.Position = 1;
- w25.Expand = false;
- w25.Fill = false;
- // Container child descbox.Gtk.Box+BoxChild
- this.frame3 = new global::Gtk.Frame ();
- this.frame3.Name = "frame3";
- this.frame3.ShadowType = ((global::Gtk.ShadowType)(0));
- // Container child frame3.Gtk.Container+ContainerChild
- this.GtkAlignment8 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
- this.GtkAlignment8.Name = "GtkAlignment8";
- this.GtkAlignment8.LeftPadding = ((uint)(12));
- // Container child GtkAlignment8.Gtk.Container+ContainerChild
- this.hbox5 = new global::Gtk.HBox ();
- this.hbox5.Name = "hbox5";
- this.hbox5.Spacing = 6;
- // Container child hbox5.Gtk.Box+BoxChild
- this.fileimage1 = new global::Gtk.Image ();
- this.fileimage1.WidthRequest = 100;
- this.fileimage1.HeightRequest = 100;
- this.fileimage1.Name = "fileimage1";
- this.hbox5.Add (this.fileimage1);
- global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox5
[this.fileimage1]));
- w26.Position = 0;
- w26.Expand = false;
- w26.Fill = false;
- // Container child hbox5.Gtk.Box+BoxChild
- this.vbox1 = new global::Gtk.VBox ();
- this.vbox1.Name = "vbox1";
- this.vbox1.Spacing = 6;
- // Container child vbox1.Gtk.Box+BoxChild
- this.mediafilechooseralignment = new global::Gtk.Alignment (0F, 0.5F, 1F, 1F);
- this.mediafilechooseralignment.Name = "mediafilechooseralignment";
- // Container child mediafilechooseralignment.Gtk.Container+ContainerChild
- this.mediafilechooser1 = new global::LongoMatch.Gui.Component.MediaFileChooser ();
- this.mediafilechooser1.Events = ((global::Gdk.EventMask)(256));
- this.mediafilechooser1.Name = "mediafilechooser1";
- this.mediafilechooseralignment.Add (this.mediafilechooser1);
- this.vbox1.Add (this.mediafilechooseralignment);
- global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox1
[this.mediafilechooseralignment]));
- w28.Position = 0;
- w28.Expand = false;
- w28.Fill = false;
- // Container child vbox1.Gtk.Box+BoxChild
- this.medialabel1 = new global::Gtk.Label ();
- this.medialabel1.Name = "medialabel1";
- this.medialabel1.Xalign = 0F;
- this.medialabel1.UseMarkup = true;
- this.medialabel1.Ellipsize = ((global::Pango.EllipsizeMode)(3));
- this.medialabel1.MaxWidthChars = 50;
- this.vbox1.Add (this.medialabel1);
- global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox1
[this.medialabel1]));
- w29.Position = 1;
- this.hbox5.Add (this.vbox1);
- global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vbox1]));
- w30.Position = 1;
- this.GtkAlignment8.Add (this.hbox5);
- this.frame3.Add (this.GtkAlignment8);
- this.GtkLabel6 = new global::Gtk.Label ();
- this.GtkLabel6.Name = "GtkLabel6";
- this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Main camera
angle</b>");
- this.GtkLabel6.UseMarkup = true;
- this.frame3.LabelWidget = this.GtkLabel6;
- this.descbox.Add (this.frame3);
- global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.frame3]));
- w33.Position = 2;
- w33.Expand = false;
- w33.Fill = false;
- // Container child descbox.Gtk.Box+BoxChild
- this.frame6 = new global::Gtk.Frame ();
- this.frame6.Name = "frame6";
- this.frame6.ShadowType = ((global::Gtk.ShadowType)(0));
- // Container child frame6.Gtk.Container+ContainerChild
- this.GtkAlignment9 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
- this.GtkAlignment9.Name = "GtkAlignment9";
- this.GtkAlignment9.LeftPadding = ((uint)(12));
- // Container child GtkAlignment9.Gtk.Container+ContainerChild
- this.hbox7 = new global::Gtk.HBox ();
- this.hbox7.Name = "hbox7";
- this.hbox7.Spacing = 6;
- // Container child hbox7.Gtk.Box+BoxChild
- this.fileimage2 = new global::Gtk.Image ();
- this.fileimage2.WidthRequest = 100;
- this.fileimage2.HeightRequest = 100;
- this.fileimage2.Name = "fileimage2";
- this.hbox7.Add (this.fileimage2);
- global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox7
[this.fileimage2]));
- w34.Position = 0;
- w34.Expand = false;
- w34.Fill = false;
- // Container child hbox7.Gtk.Box+BoxChild
+ global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1
[this.templatelabel]));
+ w14.TopAttach = ((uint)(1));
+ w14.BottomAttach = ((uint)(2));
+ w14.LeftAttach = ((uint)(1));
+ w14.RightAttach = ((uint)(2));
+ w14.XOptions = ((global::Gtk.AttachOptions)(4));
+ w14.YOptions = ((global::Gtk.AttachOptions)(4));
+ this.projectbox.Add (this.table1);
+ global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.projectbox
[this.table1]));
+ w15.Position = 2;
+ w15.Expand = false;
+ w15.Padding = ((uint)(20));
+ // Container child projectbox.Gtk.Box+BoxChild
+ this.videoseventbox = new global::Gtk.EventBox ();
+ this.videoseventbox.Name = "videoseventbox";
+ // Container child videoseventbox.Gtk.Container+ContainerChild
+ this.videoslabel = new global::Gtk.Label ();
+ this.videoslabel.Name = "videoslabel";
+ this.videoslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Videos");
+ this.videoslabel.UseMarkup = true;
+ this.videoseventbox.Add (this.videoslabel);
+ this.projectbox.Add (this.videoseventbox);
+ global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.projectbox
[this.videoseventbox]));
+ w17.Position = 3;
+ w17.Expand = false;
+ w17.Fill = false;
+ // Container child projectbox.Gtk.Box+BoxChild
this.vbox4 = new global::Gtk.VBox ();
this.vbox4.Name = "vbox4";
- this.vbox4.Spacing = 6;
// Container child vbox4.Gtk.Box+BoxChild
- this.mediafilechooseralignment1 = new global::Gtk.Alignment (0F, 0.5F, 1F, 1F);
- this.mediafilechooseralignment1.Name = "mediafilechooseralignment1";
- // Container child mediafilechooseralignment1.Gtk.Container+ContainerChild
- this.mediafilechooser2 = new global::LongoMatch.Gui.Component.MediaFileChooser ();
- this.mediafilechooser2.Events = ((global::Gdk.EventMask)(256));
- this.mediafilechooser2.Name = "mediafilechooser2";
- this.mediafilechooseralignment1.Add (this.mediafilechooser2);
- this.vbox4.Add (this.mediafilechooseralignment1);
- global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox4
[this.mediafilechooseralignment1]));
- w36.Position = 0;
- w36.Expand = false;
- w36.Fill = false;
+ this.videofileinfo1 = new global::LongoMatch.Gui.Component.VideoFileInfo ();
+ this.videofileinfo1.HeightRequest = 100;
+ this.videofileinfo1.Events = ((global::Gdk.EventMask)(256));
+ this.videofileinfo1.Name = "videofileinfo1";
+ this.vbox4.Add (this.videofileinfo1);
+ global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4
[this.videofileinfo1]));
+ w18.Position = 0;
+ w18.Expand = false;
+ w18.Fill = false;
+ // Container child vbox4.Gtk.Box+BoxChild
+ this.videofileinfo2 = new global::LongoMatch.Gui.Component.VideoFileInfo ();
+ this.videofileinfo2.HeightRequest = 100;
+ this.videofileinfo2.Events = ((global::Gdk.EventMask)(256));
+ this.videofileinfo2.Name = "videofileinfo2";
+ this.vbox4.Add (this.videofileinfo2);
+ global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4
[this.videofileinfo2]));
+ w19.Position = 1;
+ w19.Expand = false;
+ w19.Fill = false;
+ // Container child vbox4.Gtk.Box+BoxChild
+ this.videofileinfo3 = new global::LongoMatch.Gui.Component.VideoFileInfo ();
+ this.videofileinfo3.HeightRequest = 100;
+ this.videofileinfo3.Events = ((global::Gdk.EventMask)(256));
+ this.videofileinfo3.Name = "videofileinfo3";
+ this.vbox4.Add (this.videofileinfo3);
+ global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4
[this.videofileinfo3]));
+ w20.Position = 2;
+ w20.Expand = false;
+ w20.Fill = false;
// Container child vbox4.Gtk.Box+BoxChild
- this.medialabel2 = new global::Gtk.Label ();
- this.medialabel2.Name = "medialabel2";
- this.medialabel2.Xalign = 0F;
- this.medialabel2.UseMarkup = true;
- this.medialabel2.Ellipsize = ((global::Pango.EllipsizeMode)(3));
- this.medialabel2.MaxWidthChars = 50;
- this.vbox4.Add (this.medialabel2);
- global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox4
[this.medialabel2]));
- w37.Position = 1;
- this.hbox7.Add (this.vbox4);
- global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.vbox4]));
- w38.Position = 1;
- this.GtkAlignment9.Add (this.hbox7);
- this.frame6.Add (this.GtkAlignment9);
- this.GtkLabel7 = new global::Gtk.Label ();
- this.GtkLabel7.Name = "GtkLabel7";
- this.GtkLabel7.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Camera angle
2</b>");
- this.GtkLabel7.UseMarkup = true;
- this.frame6.LabelWidget = this.GtkLabel7;
- this.descbox.Add (this.frame6);
- global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.frame6]));
- w41.Position = 3;
- w41.Expand = false;
- w41.Fill = false;
- // Container child descbox.Gtk.Box+BoxChild
- this.frame7 = new global::Gtk.Frame ();
- this.frame7.Name = "frame7";
- this.frame7.ShadowType = ((global::Gtk.ShadowType)(0));
- // Container child frame7.Gtk.Container+ContainerChild
- this.GtkAlignment10 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
- this.GtkAlignment10.Name = "GtkAlignment10";
- this.GtkAlignment10.LeftPadding = ((uint)(12));
- // Container child GtkAlignment10.Gtk.Container+ContainerChild
- this.hbox9 = new global::Gtk.HBox ();
- this.hbox9.Name = "hbox9";
- this.hbox9.Spacing = 6;
- // Container child hbox9.Gtk.Box+BoxChild
- this.fileimage3 = new global::Gtk.Image ();
- this.fileimage3.WidthRequest = 100;
- this.fileimage3.HeightRequest = 100;
- this.fileimage3.Name = "fileimage3";
- this.hbox9.Add (this.fileimage3);
- global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox9
[this.fileimage3]));
- w42.Position = 0;
- w42.Expand = false;
- w42.Fill = false;
- // Container child hbox9.Gtk.Box+BoxChild
- this.vbox5 = new global::Gtk.VBox ();
- this.vbox5.Name = "vbox5";
- this.vbox5.Spacing = 6;
- // Container child vbox5.Gtk.Box+BoxChild
- this.mediafilechooseralignment2 = new global::Gtk.Alignment (0F, 0.5F, 1F, 1F);
- this.mediafilechooseralignment2.Name = "mediafilechooseralignment2";
- // Container child mediafilechooseralignment2.Gtk.Container+ContainerChild
- this.mediafilechooser3 = new global::LongoMatch.Gui.Component.MediaFileChooser ();
- this.mediafilechooser3.Events = ((global::Gdk.EventMask)(256));
- this.mediafilechooser3.Name = "mediafilechooser3";
- this.mediafilechooseralignment2.Add (this.mediafilechooser3);
- this.vbox5.Add (this.mediafilechooseralignment2);
- global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox5
[this.mediafilechooseralignment2]));
- w44.Position = 0;
- w44.Expand = false;
- w44.Fill = false;
- // Container child vbox5.Gtk.Box+BoxChild
- this.medialabel3 = new global::Gtk.Label ();
- this.medialabel3.Name = "medialabel3";
- this.medialabel3.Xalign = 0F;
- this.medialabel3.UseMarkup = true;
- this.medialabel3.Ellipsize = ((global::Pango.EllipsizeMode)(3));
- this.medialabel3.MaxWidthChars = 50;
- this.vbox5.Add (this.medialabel3);
- global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.vbox5
[this.medialabel3]));
- w45.Position = 1;
- this.hbox9.Add (this.vbox5);
- global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.vbox5]));
- w46.Position = 1;
- this.GtkAlignment10.Add (this.hbox9);
- this.frame7.Add (this.GtkAlignment10);
- this.GtkLabel8 = new global::Gtk.Label ();
- this.GtkLabel8.Name = "GtkLabel8";
- this.GtkLabel8.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Camera angle
3</b>");
- this.GtkLabel8.UseMarkup = true;
- this.frame7.LabelWidget = this.GtkLabel8;
- this.descbox.Add (this.frame7);
- global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.frame7]));
- w49.Position = 4;
- w49.Expand = false;
- w49.Fill = false;
- // Container child descbox.Gtk.Box+BoxChild
- this.frame8 = new global::Gtk.Frame ();
- this.frame8.Name = "frame8";
- this.frame8.ShadowType = ((global::Gtk.ShadowType)(0));
- // Container child frame8.Gtk.Container+ContainerChild
- this.GtkAlignment12 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
- this.GtkAlignment12.Name = "GtkAlignment12";
- this.GtkAlignment12.LeftPadding = ((uint)(12));
- // Container child GtkAlignment12.Gtk.Container+ContainerChild
- this.hbox11 = new global::Gtk.HBox ();
- this.hbox11.Name = "hbox11";
- this.hbox11.Spacing = 6;
- // Container child hbox11.Gtk.Box+BoxChild
- this.fileimage4 = new global::Gtk.Image ();
- this.fileimage4.WidthRequest = 100;
- this.fileimage4.HeightRequest = 100;
- this.fileimage4.Name = "fileimage4";
- this.hbox11.Add (this.fileimage4);
- global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox11
[this.fileimage4]));
- w50.Position = 0;
- w50.Expand = false;
- w50.Fill = false;
- // Container child hbox11.Gtk.Box+BoxChild
- this.vbox6 = new global::Gtk.VBox ();
- this.vbox6.Name = "vbox6";
- this.vbox6.Spacing = 6;
- // Container child vbox6.Gtk.Box+BoxChild
- this.mediafilechooseralignment3 = new global::Gtk.Alignment (0F, 0.5F, 1F, 1F);
- this.mediafilechooseralignment3.Name = "mediafilechooseralignment3";
- // Container child mediafilechooseralignment3.Gtk.Container+ContainerChild
- this.mediafilechooser4 = new global::LongoMatch.Gui.Component.MediaFileChooser ();
- this.mediafilechooser4.Events = ((global::Gdk.EventMask)(256));
- this.mediafilechooser4.Name = "mediafilechooser4";
- this.mediafilechooseralignment3.Add (this.mediafilechooser4);
- this.vbox6.Add (this.mediafilechooseralignment3);
- global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox6
[this.mediafilechooseralignment3]));
- w52.Position = 0;
- w52.Expand = false;
- w52.Fill = false;
- // Container child vbox6.Gtk.Box+BoxChild
- this.medialabel4 = new global::Gtk.Label ();
- this.medialabel4.Name = "medialabel4";
- this.medialabel4.Xalign = 0F;
- this.medialabel4.UseMarkup = true;
- this.medialabel4.Ellipsize = ((global::Pango.EllipsizeMode)(3));
- this.medialabel4.MaxWidthChars = 50;
- this.vbox6.Add (this.medialabel4);
- global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbox6
[this.medialabel4]));
- w53.Position = 1;
- this.hbox11.Add (this.vbox6);
- global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.vbox6]));
- w54.Position = 1;
- this.GtkAlignment12.Add (this.hbox11);
- this.frame8.Add (this.GtkAlignment12);
- this.GtkLabel10 = new global::Gtk.Label ();
- this.GtkLabel10.Name = "GtkLabel10";
- this.GtkLabel10.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Camera angle
4</b>");
- this.GtkLabel10.UseMarkup = true;
- this.frame8.LabelWidget = this.GtkLabel10;
- this.descbox.Add (this.frame8);
- global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.frame8]));
- w57.Position = 5;
- w57.Expand = false;
- w57.Fill = false;
- w3.Add (this.descbox);
+ this.videofileinfo4 = new global::LongoMatch.Gui.Component.VideoFileInfo ();
+ this.videofileinfo4.HeightRequest = 100;
+ this.videofileinfo4.Events = ((global::Gdk.EventMask)(256));
+ this.videofileinfo4.Name = "videofileinfo4";
+ this.vbox4.Add (this.videofileinfo4);
+ global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox4
[this.videofileinfo4]));
+ w21.Position = 3;
+ w21.Expand = false;
+ w21.Fill = false;
+ this.projectbox.Add (this.vbox4);
+ global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.projectbox
[this.vbox4]));
+ w22.Position = 4;
+ w22.Expand = false;
+ w22.Fill = false;
+ w3.Add (this.projectbox);
this.scrolledwindow3.Add (w3);
this.rbox.Add (this.scrolledwindow3);
- global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.rbox
[this.scrolledwindow3]));
- w60.Position = 0;
+ global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.rbox
[this.scrolledwindow3]));
+ w25.Position = 0;
// Container child rbox.Gtk.Box+BoxChild
this.hbuttonbox1 = new global::Gtk.HButtonBox ();
- this.hbuttonbox1.Name = "hbuttonbox1";
// Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
this.savebutton = new global::Gtk.Button ();
this.savebutton.TooltipMarkup = "Save";
@@ -626,9 +314,24 @@ namespace LongoMatch.Gui.Panel
this.savebutton.Add (this.savebuttonimage);
this.savebutton.Label = null;
this.hbuttonbox1.Add (this.savebutton);
- global::Gtk.ButtonBox.ButtonBoxChild w62 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.savebutton]));
- w62.Expand = false;
- w62.Fill = false;
+ global::Gtk.ButtonBox.ButtonBoxChild w27 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.savebutton]));
+ w27.Expand = false;
+ w27.Fill = false;
+ // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
+ this.openbutton = new global::Gtk.Button ();
+ this.openbutton.TooltipMarkup = "Open";
+ this.openbutton.CanFocus = true;
+ this.openbutton.Name = "openbutton";
+ // Container child openbutton.Gtk.Container+ContainerChild
+ this.openbuttonimage = new global::Gtk.Image ();
+ this.openbuttonimage.Name = "openbuttonimage";
+ this.openbutton.Add (this.openbuttonimage);
+ this.openbutton.Label = null;
+ this.hbuttonbox1.Add (this.openbutton);
+ global::Gtk.ButtonBox.ButtonBoxChild w29 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.openbutton]));
+ w29.Position = 1;
+ w29.Expand = false;
+ w29.Fill = false;
// Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
this.exportbutton = new global::Gtk.Button ();
this.exportbutton.TooltipMarkup = "Export";
@@ -641,10 +344,10 @@ namespace LongoMatch.Gui.Panel
this.exportbutton.Add (this.exportbuttonimage);
this.exportbutton.Label = null;
this.hbuttonbox1.Add (this.exportbutton);
- global::Gtk.ButtonBox.ButtonBoxChild w64 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.exportbutton]));
- w64.Position = 1;
- w64.Expand = false;
- w64.Fill = false;
+ global::Gtk.ButtonBox.ButtonBoxChild w31 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.exportbutton]));
+ w31.Position = 2;
+ w31.Expand = false;
+ w31.Fill = false;
// Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
this.deletebutton = new global::Gtk.Button ();
this.deletebutton.TooltipMarkup = "Delete";
@@ -657,19 +360,19 @@ namespace LongoMatch.Gui.Panel
this.deletebutton.Add (this.deletebuttonimage);
this.deletebutton.Label = null;
this.hbuttonbox1.Add (this.deletebutton);
- global::Gtk.ButtonBox.ButtonBoxChild w66 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.deletebutton]));
- w66.Position = 2;
- w66.Expand = false;
- w66.Fill = false;
+ global::Gtk.ButtonBox.ButtonBoxChild w33 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.deletebutton]));
+ w33.Position = 3;
+ w33.Expand = false;
+ w33.Fill = false;
this.rbox.Add (this.hbuttonbox1);
- global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.rbox
[this.hbuttonbox1]));
- w67.Position = 1;
- w67.Expand = false;
- w67.Fill = false;
+ global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.rbox
[this.hbuttonbox1]));
+ w34.Position = 1;
+ w34.Expand = false;
+ w34.Fill = false;
this.projectpropertiesalignment.Add (this.rbox);
this.hbox4.Add (this.projectpropertiesalignment);
- global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.hbox4
[this.projectpropertiesalignment]));
- w69.Position = 1;
+ global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox4
[this.projectpropertiesalignment]));
+ w36.Position = 1;
this.notebook1.Add (this.hbox4);
// Notebook tab
this.label1 = new global::Gtk.Label ();
@@ -677,25 +380,22 @@ namespace LongoMatch.Gui.Panel
this.notebook1.SetTabLabel (this.hbox4, this.label1);
this.label1.ShowAll ();
// Notebook tab
- global::Gtk.Label w71 = new global::Gtk.Label ();
- w71.Visible = true;
- this.notebook1.Add (w71);
+ global::Gtk.Label w38 = new global::Gtk.Label ();
+ w38.Visible = true;
+ this.notebook1.Add (w38);
this.label3 = new global::Gtk.Label ();
this.label3.Name = "label3";
- this.notebook1.SetTabLabel (w71, this.label3);
+ this.notebook1.SetTabLabel (w38, this.label3);
this.label3.ShowAll ();
this.contentalignment.Add (this.notebook1);
this.vbox3.Add (this.contentalignment);
- global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.vbox3
[this.contentalignment]));
- w73.Position = 1;
+ global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox3
[this.contentalignment]));
+ w40.Position = 1;
this.Add (this.vbox3);
if ((this.Child != null)) {
this.Child.ShowAll ();
}
- this.frame6.Hide ();
- this.frame7.Hide ();
- this.frame8.Hide ();
- this.descbox.Hide ();
+ this.projectbox.Hide ();
this.rbox.Hide ();
this.Hide ();
}
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.SportsTemplatesPanel.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.SportsTemplatesPanel.cs
index bb97509..cfa3f04 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.SportsTemplatesPanel.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.SportsTemplatesPanel.cs
@@ -5,85 +5,45 @@ namespace LongoMatch.Gui.Panel
public partial class SportsTemplatesPanel
{
private global::Gtk.VBox dashboardeditorvbox;
-
private global::Gtk.EventBox headereventbox;
-
private global::LongoMatch.Gui.Panel.PanelHeader panelheader1;
-
private global::Gtk.Alignment contentalignment;
-
private global::Gtk.VBox contentvbox;
-
private global::Gtk.HBox dashboardeditorbuttonbar;
-
private global::Gtk.Alignment templateimagealignment;
-
private global::Gtk.Image templateimage;
-
private global::Gtk.VBox vbox3;
-
private global::Gtk.Label editdashboardslabel;
-
private global::Gtk.HBox hbox3;
-
private global::Gtk.Button newtemplatebutton;
-
private global::Gtk.Image newtemplateimage;
-
private global::Gtk.Button importtemplatebutton;
-
private global::Gtk.Image importtemplateimage;
-
private global::Gtk.Button deletetemplatebutton;
-
private global::Gtk.Image deletetemplateimage;
-
private global::Gtk.Button savetemplatebutton;
-
private global::Gtk.Image savetemplateimage;
-
private global::Gtk.Image vseparatorimage;
-
private global::Gtk.VBox vbox17;
-
private global::Gtk.Label editbuttonslabel;
-
private global::Gtk.HBox hbox4;
-
private global::Gtk.Button addcategorybutton;
-
private global::Gtk.Image addcategoryimage;
-
private global::Gtk.Button addtagbutton1;
-
private global::Gtk.Image addtagimage;
-
private global::Gtk.Button scorebutton;
-
private global::Gtk.Image scoreimage;
-
private global::Gtk.Button cardbutton;
-
private global::Gtk.Image cardimage;
-
private global::Gtk.Button timerbutton;
-
private global::Gtk.Image timerimage;
-
private global::Gtk.Alignment categoryheaderimagealignment;
-
private global::Gtk.Image categoryheaderimage;
-
private global::Gtk.HBox hbox1;
-
private global::Gtk.VBox templatesvbox;
-
private global::Gtk.ScrolledWindow GtkScrolledWindow1;
-
private global::Gtk.TreeView dashboardseditortreeview;
-
private global::Gtk.VBox vbox4;
-
private global::LongoMatch.Gui.Component.DashboardWidget buttonswidget;
protected virtual void Build ()
@@ -165,6 +125,7 @@ namespace LongoMatch.Gui.Panel
this.newtemplateimage.Xpad = 5;
this.newtemplateimage.Ypad = 5;
this.newtemplatebutton.Add (this.newtemplateimage);
+ this.newtemplatebutton.Label = null;
this.hbox3.Add (this.newtemplatebutton);
global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3
[this.newtemplatebutton]));
w7.Position = 0;
@@ -180,6 +141,7 @@ namespace LongoMatch.Gui.Panel
this.importtemplateimage.Xpad = 5;
this.importtemplateimage.Ypad = 5;
this.importtemplatebutton.Add (this.importtemplateimage);
+ this.importtemplatebutton.Label = null;
this.hbox3.Add (this.importtemplatebutton);
global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3
[this.importtemplatebutton]));
w9.Position = 1;
@@ -195,6 +157,7 @@ namespace LongoMatch.Gui.Panel
this.deletetemplateimage.Xpad = 5;
this.deletetemplateimage.Ypad = 5;
this.deletetemplatebutton.Add (this.deletetemplateimage);
+ this.deletetemplatebutton.Label = null;
this.hbox3.Add (this.deletetemplatebutton);
global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3
[this.deletetemplatebutton]));
w11.Position = 2;
@@ -210,6 +173,7 @@ namespace LongoMatch.Gui.Panel
this.savetemplateimage.Xpad = 5;
this.savetemplateimage.Ypad = 5;
this.savetemplatebutton.Add (this.savetemplateimage);
+ this.savetemplatebutton.Label = null;
this.hbox3.Add (this.savetemplatebutton);
global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox3
[this.savetemplatebutton]));
w13.Position = 3;
@@ -262,6 +226,7 @@ namespace LongoMatch.Gui.Panel
this.addcategoryimage.Xpad = 5;
this.addcategoryimage.Ypad = 5;
this.addcategorybutton.Add (this.addcategoryimage);
+ this.addcategorybutton.Label = null;
this.hbox4.Add (this.addcategorybutton);
global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox4
[this.addcategorybutton]));
w19.Position = 0;
@@ -277,6 +242,7 @@ namespace LongoMatch.Gui.Panel
this.addtagimage.Xpad = 5;
this.addtagimage.Ypad = 5;
this.addtagbutton1.Add (this.addtagimage);
+ this.addtagbutton1.Label = null;
this.hbox4.Add (this.addtagbutton1);
global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox4
[this.addtagbutton1]));
w21.Position = 1;
@@ -292,6 +258,7 @@ namespace LongoMatch.Gui.Panel
this.scoreimage.Xpad = 5;
this.scoreimage.Ypad = 5;
this.scorebutton.Add (this.scoreimage);
+ this.scorebutton.Label = null;
this.hbox4.Add (this.scorebutton);
global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox4
[this.scorebutton]));
w23.Position = 2;
@@ -307,6 +274,7 @@ namespace LongoMatch.Gui.Panel
this.cardimage.Xpad = 5;
this.cardimage.Ypad = 5;
this.cardbutton.Add (this.cardimage);
+ this.cardbutton.Label = null;
this.hbox4.Add (this.cardbutton);
global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox4
[this.cardbutton]));
w25.Position = 3;
@@ -322,6 +290,7 @@ namespace LongoMatch.Gui.Panel
this.timerimage.Xpad = 5;
this.timerimage.Ypad = 5;
this.timerbutton.Add (this.timerimage);
+ this.timerbutton.Label = null;
this.hbox4.Add (this.timerbutton);
global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox4
[this.timerbutton]));
w27.Position = 4;
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.WelcomePanel.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.WelcomePanel.cs
index 7b8e979..a827fc3 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.WelcomePanel.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.WelcomePanel.cs
@@ -49,6 +49,7 @@ namespace LongoMatch.Gui.Panel
w3.Fill = false;
// Container child vbox1.Gtk.Box+BoxChild
this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ this.alignment1.Name = "alignment1";
// Container child alignment1.Gtk.Container+ContainerChild
this.tablewidget = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false);
this.tablewidget.Name = "tablewidget";
diff --git a/LongoMatch.GUI/gtk-gui/gui.stetic b/LongoMatch.GUI/gtk-gui/gui.stetic
index b96b07b..536ba4c 100644
--- a/LongoMatch.GUI/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI/gtk-gui/gui.stetic
@@ -103,9 +103,8 @@
<property name="MemberName" />
<property name="Spacing">6</property>
<child>
- <widget class="Gtk.Label" id="filterlabel">
+ <widget class="Gtk.Image" id="focusimage">
<property name="MemberName" />
- <property name="LabelProp" translatable="yes">Projects Search:</property>
</widget>
<packing>
<property name="Position">0</property>
@@ -124,7 +123,8 @@
</widget>
<packing>
<property name="Position">1</property>
- <property name="AutoSize">True</property>
+ <property name="AutoSize">False</property>
+ <property name="Expand">False</property>
</packing>
</child>
<child>
@@ -154,8 +154,9 @@ Sort by competition</property>
</packing>
</child>
<child>
- <widget class="Gtk.ScrolledWindow" id="scrolledwindow2">
+ <widget class="Gtk.ScrolledWindow" id="icoscrolledwindow">
<property name="MemberName" />
+ <property name="Visible">False</property>
<property name="CanFocus">True</property>
<child>
<widget class="Gtk.IconView" id="iconview">
@@ -169,6 +170,24 @@ Sort by competition</property>
<property name="AutoSize">True</property>
</packing>
</child>
+ <child>
+ <widget class="Gtk.ScrolledWindow" id="treeviewscrolledwindow">
+ <property name="MemberName" />
+ <property name="Visible">False</property>
+ <child>
+ <widget class="Gtk.TreeView" id="treeview">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="ShowScrollbars">True</property>
+ <property name="HeadersVisible">False</property>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">2</property>
+ <property name="AutoSize">True</property>
+ </packing>
+ </child>
</widget>
</child>
</widget>
@@ -8015,7 +8034,7 @@ You can continue with the current capture, cancel it or save your project.
</widget>
</child>
</widget>
- <widget class="Gtk.Bin" id="LongoMatch.Gui.Panel.ProjectsManagerPanel" design-size="1214 1035">
+ <widget class="Gtk.Bin" id="LongoMatch.Gui.Panel.ProjectsManagerPanel" design-size="1330 1035">
<property name="MemberName" />
<property name="Visible">False</property>
<child>
@@ -8074,355 +8093,37 @@ You can continue with the current capture, cancel it or save your project.
<property name="MemberName" />
<property name="CanFocus">True</property>
<property name="HscrollbarPolicy">Never</property>
- <property name="ShadowType">In</property>
<child>
<widget class="Gtk.Viewport" id="GtkViewport">
<property name="MemberName" />
<property name="ShadowType">None</property>
<child>
- <widget class="Gtk.VBox" id="descbox">
+ <widget class="Gtk.VBox" id="projectbox">
<property name="MemberName" />
<property name="Visible">False</property>
- <property name="Spacing">15</property>
<child>
- <widget class="Gtk.Frame" id="frame5">
+ <widget class="LongoMatch.Gui.Component.GameDescriptionHeader"
id="gamedescriptionheader1">
<property name="MemberName" />
- <property name="ShadowType">None</property>
- <child>
- <widget class="Gtk.Alignment" id="GtkAlignment1">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="Yalign">0</property>
- <property name="LeftPadding">12</property>
- <child>
- <widget class="Gtk.HBox" id="hbox2">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Frame" id="frame1">
- <property name="MemberName" />
- <property name="ShadowType">None</property>
- <child>
- <widget class="Gtk.Alignment" id="GtkAlignment2">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="Yalign">0</property>
- <property name="LeftPadding">12</property>
- <child>
- <widget class="Gtk.Image" id="homeimage">
- <property name="MemberName" />
- </widget>
- </child>
- </widget>
- </child>
- <child>
- <widget class="Gtk.Label" id="homelabel">
- <property name="MemberName" />
- <property name="UseMarkup">True</property>
- </widget>
- <packing>
- <property name="type">label_item</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Frame" id="frame2">
- <property name="MemberName" />
- <property name="ShadowType">None</property>
- <child>
- <widget class="Gtk.Alignment" id="GtkAlignment11">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="Yalign">0</property>
- <property name="LeftPadding">12</property>
- <child>
- <widget class="Gtk.Image" id="awayimage">
- <property name="MemberName" />
- </widget>
- </child>
- </widget>
- </child>
- <child>
- <widget class="Gtk.Label" id="awaylabel">
- <property name="MemberName" />
- <property name="UseMarkup">True</property>
- </widget>
- <packing>
- <property name="type">label_item</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- <child>
- <widget class="Gtk.Label" id="GtkLabel9">
- <property name="MemberName" />
- <property name="LabelProp"
translatable="yes"><b>Teams</b></property>
- <property name="UseMarkup">True</property>
- </widget>
- <packing>
- <property name="type">label_item</property>
- </packing>
- </child>
+ <property name="HeightRequest">60</property>
+ <property name="Events">ButtonPressMask</property>
</widget>
<packing>
<property name="Position">0</property>
<property name="AutoSize">True</property>
<property name="Expand">False</property>
<property name="Fill">False</property>
+ <property name="Padding">50</property>
</packing>
</child>
<child>
- <widget class="Gtk.Frame" id="frame4">
+ <widget class="Gtk.EventBox" id="infoeventbox">
<property name="MemberName" />
- <property name="ShadowType">None</property>
<child>
- <widget class="Gtk.Alignment" id="GtkAlignment3">
+ <widget class="Gtk.Label" id="infolabel">
<property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="Yalign">0</property>
- <property name="LeftPadding">12</property>
- <child>
- <widget class="Gtk.Table" id="table1">
- <property name="MemberName" />
- <property name="NRows">3</property>
- <property name="NColumns">4</property>
- <property name="Homogeneous">True</property>
- <property name="RowSpacing">6</property>
- <property name="ColumnSpacing">6</property>
- <child>
- <placeholder />
- </child>
- <child>
- <placeholder />
- </child>
- <child>
- <widget class="Gtk.Entry" id="competitionentry">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">●</property>
- </widget>
- <packing>
- <property name="LeftAttach">3</property>
- <property name="RightAttach">4</property>
- <property name="AutoSize">True</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="Competitionlabel">
- <property name="MemberName" />
- <property name="Xalign">1</property>
- <property name="LabelProp"
translatable="yes">Competition:</property>
- </widget>
- <packing>
- <property name="LeftAttach">2</property>
- <property name="RightAttach">3</property>
- <property name="AutoSize">True</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="LongoMatch.Gui.Component.DatePicker"
id="datepicker">
- <property name="MemberName" />
- <property name="Events">ButtonPressMask</property>
- <property name="Date">0</property>
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="LeftAttach">3</property>
- <property name="RightAttach">4</property>
- <property name="AutoSize">True</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="label11">
- <property name="MemberName" />
- <property name="Xalign">1</property>
- <property name="LabelProp"
translatable="yes">Score:</property>
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="AutoSize">True</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="label5">
- <property name="MemberName" />
- <property name="Xalign">1</property>
- <property name="LabelProp"
translatable="yes">Date:</property>
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="LeftAttach">2</property>
- <property name="RightAttach">3</property>
- <property name="AutoSize">True</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="label9">
- <property name="MemberName" />
- <property name="Xalign">1</property>
- <property name="LabelProp"
translatable="yes">Analysis Template:</property>
- </widget>
- <packing>
- <property name="TopAttach">2</property>
- <property name="BottomAttach">3</property>
- <property name="AutoSize">True</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="scorelabel">
- <property name="MemberName" />
- </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">True</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.Entry" id="seasonentry">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">●</property>
- </widget>
- <packing>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">False</property>
- <property name="XOptions">0</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">False</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="seasonlabel">
- <property name="MemberName" />
- <property name="Xalign">1</property>
- <property name="LabelProp"
translatable="yes">Season:</property>
- </widget>
- <packing>
- <property name="AutoSize">False</property>
- <property name="XOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">True</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="templatelabel">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- </widget>
- <packing>
- <property name="TopAttach">2</property>
- <property name="BottomAttach">3</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">True</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>
- </widget>
- </child>
- <child>
- <widget class="Gtk.Label" id="GtkLabel3">
- <property name="MemberName" />
- <property name="LabelProp"
translatable="yes"><b>Project details</b></property>
+ <property name="LabelProp"
translatable="yes">Information</property>
<property name="UseMarkup">True</property>
</widget>
- <packing>
- <property name="type">label_item</property>
- </packing>
</child>
</widget>
<packing>
@@ -8433,177 +8134,194 @@ You can continue with the current capture, cancel it or save your project.
</packing>
</child>
<child>
- <widget class="Gtk.Frame" id="frame3">
+ <widget class="Gtk.Table" id="table1">
<property name="MemberName" />
- <property name="ShadowType">None</property>
+ <property name="NRows">2</property>
+ <property name="NColumns">4</property>
+ <property name="Homogeneous">True</property>
+ <property name="RowSpacing">5</property>
+ <property name="ColumnSpacing">5</property>
<child>
- <widget class="Gtk.Alignment" id="GtkAlignment8">
+ <widget class="Gtk.Entry" id="competitionentry">
<property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="Yalign">0</property>
- <property name="LeftPadding">12</property>
- <child>
- <widget class="Gtk.HBox" id="hbox5">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Image" id="fileimage1">
- <property name="MemberName" />
- <property name="WidthRequest">100</property>
- <property name="HeightRequest">100</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.VBox" id="vbox1">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Alignment"
id="mediafilechooseralignment">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <child>
- <widget
class="LongoMatch.Gui.Component.MediaFileChooser" id="mediafilechooser1">
- <property name="MemberName" />
- <property
name="Events">ButtonPressMask</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="medialabel1">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="UseMarkup">True</property>
- <property name="Ellipsize">End</property>
- <property name="MaxWidthChars">50</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- </child>
+ <property name="CanFocus">True</property>
+ <property name="IsEditable">True</property>
+ <property name="InvisibleChar">●</property>
</widget>
+ <packing>
+ <property name="LeftAttach">3</property>
+ <property name="RightAttach">4</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="GtkLabel6">
+ <widget class="Gtk.Label" id="Competitionlabel">
<property name="MemberName" />
- <property name="LabelProp" translatable="yes"><b>Main
camera angle</b></property>
- <property name="UseMarkup">True</property>
+ <property name="Xalign">1</property>
+ <property name="LabelProp"
translatable="yes">Competition:</property>
+ </widget>
+ <packing>
+ <property name="LeftAttach">2</property>
+ <property name="RightAttach">3</property>
+ <property name="AutoSize">True</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="LongoMatch.Gui.Component.DatePicker"
id="datepicker">
+ <property name="MemberName" />
+ <property name="WidthRequest">150</property>
+ <property name="Events">ButtonPressMask</property>
+ <property name="Date">0</property>
+ </widget>
+ <packing>
+ <property name="TopAttach">1</property>
+ <property name="BottomAttach">2</property>
+ <property name="LeftAttach">3</property>
+ <property name="RightAttach">4</property>
+ <property name="AutoSize">False</property>
+ <property name="XOptions">Fill</property>
+ <property name="YOptions">0</property>
+ <property name="XExpand">False</property>
+ <property name="XFill">True</property>
+ <property name="XShrink">False</property>
+ <property name="YExpand">False</property>
+ <property name="YFill">False</property>
+ <property name="YShrink">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="label5">
+ <property name="MemberName" />
+ <property name="Xalign">1</property>
+ <property name="LabelProp"
translatable="yes">Date:</property>
+ </widget>
+ <packing>
+ <property name="TopAttach">1</property>
+ <property name="BottomAttach">2</property>
+ <property name="LeftAttach">2</property>
+ <property name="RightAttach">3</property>
+ <property name="AutoSize">True</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="label9">
+ <property name="MemberName" />
+ <property name="Xalign">1</property>
+ <property name="LabelProp" translatable="yes">Analysis
Template:</property>
+ </widget>
+ <packing>
+ <property name="TopAttach">1</property>
+ <property name="BottomAttach">2</property>
+ <property name="AutoSize">True</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.Entry" id="seasonentry">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="IsEditable">True</property>
+ <property name="InvisibleChar">●</property>
+ </widget>
+ <packing>
+ <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="seasonlabel">
+ <property name="MemberName" />
+ <property name="Xalign">1</property>
+ <property name="LabelProp"
translatable="yes">Season:</property>
</widget>
<packing>
- <property name="type">label_item</property>
+ <property name="AutoSize">False</property>
+ <property name="XOptions">Fill</property>
+ <property name="XExpand">False</property>
+ <property name="XFill">True</property>
+ <property name="XShrink">False</property>
+ <property name="YExpand">True</property>
+ <property name="YFill">True</property>
+ <property name="YShrink">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="templatelabel">
+ <property name="MemberName" />
+ <property name="Xalign">0</property>
+ </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">True</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>
<packing>
<property name="Position">2</property>
- <property name="AutoSize">True</property>
+ <property name="AutoSize">False</property>
<property name="Expand">False</property>
- <property name="Fill">False</property>
+ <property name="Padding">20</property>
</packing>
</child>
<child>
- <widget class="Gtk.Frame" id="frame6">
+ <widget class="Gtk.EventBox" id="videoseventbox">
<property name="MemberName" />
- <property name="Visible">False</property>
- <property name="ShadowType">None</property>
- <child>
- <widget class="Gtk.Alignment" id="GtkAlignment9">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="Yalign">0</property>
- <property name="LeftPadding">12</property>
- <child>
- <widget class="Gtk.HBox" id="hbox7">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Image" id="fileimage2">
- <property name="MemberName" />
- <property name="WidthRequest">100</property>
- <property name="HeightRequest">100</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.VBox" id="vbox4">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Alignment"
id="mediafilechooseralignment1">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <child>
- <widget
class="LongoMatch.Gui.Component.MediaFileChooser" id="mediafilechooser2">
- <property name="MemberName" />
- <property
name="Events">ButtonPressMask</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="medialabel2">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="UseMarkup">True</property>
- <property name="Ellipsize">End</property>
- <property name="MaxWidthChars">50</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- </child>
<child>
- <widget class="Gtk.Label" id="GtkLabel7">
+ <widget class="Gtk.Label" id="videoslabel">
<property name="MemberName" />
- <property name="LabelProp"
translatable="yes"><b>Camera angle 2</b></property>
+ <property name="LabelProp"
translatable="yes">Videos</property>
<property name="UseMarkup">True</property>
</widget>
- <packing>
- <property name="type">label_item</property>
- </packing>
</child>
</widget>
<packing>
@@ -8614,182 +8332,63 @@ You can continue with the current capture, cancel it or save your project.
</packing>
</child>
<child>
- <widget class="Gtk.Frame" id="frame7">
+ <widget class="Gtk.VBox" id="vbox4">
<property name="MemberName" />
- <property name="Visible">False</property>
- <property name="ShadowType">None</property>
<child>
- <widget class="Gtk.Alignment" id="GtkAlignment10">
+ <widget class="LongoMatch.Gui.Component.VideoFileInfo"
id="videofileinfo1">
<property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="Yalign">0</property>
- <property name="LeftPadding">12</property>
- <child>
- <widget class="Gtk.HBox" id="hbox9">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Image" id="fileimage3">
- <property name="MemberName" />
- <property name="WidthRequest">100</property>
- <property name="HeightRequest">100</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.VBox" id="vbox5">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Alignment"
id="mediafilechooseralignment2">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <child>
- <widget
class="LongoMatch.Gui.Component.MediaFileChooser" id="mediafilechooser3">
- <property name="MemberName" />
- <property
name="Events">ButtonPressMask</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="medialabel3">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="UseMarkup">True</property>
- <property name="Ellipsize">End</property>
- <property name="MaxWidthChars">50</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- </child>
+ <property name="HeightRequest">100</property>
+ <property name="Events">ButtonPressMask</property>
</widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
</child>
<child>
- <widget class="Gtk.Label" id="GtkLabel8">
+ <widget class="LongoMatch.Gui.Component.VideoFileInfo"
id="videofileinfo2">
<property name="MemberName" />
- <property name="LabelProp"
translatable="yes"><b>Camera angle 3</b></property>
- <property name="UseMarkup">True</property>
+ <property name="HeightRequest">100</property>
+ <property name="Events">ButtonPressMask</property>
</widget>
<packing>
- <property name="type">label_item</property>
+ <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="Position">4</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Frame" id="frame8">
- <property name="MemberName" />
- <property name="Visible">False</property>
- <property name="ShadowType">None</property>
<child>
- <widget class="Gtk.Alignment" id="GtkAlignment12">
+ <widget class="LongoMatch.Gui.Component.VideoFileInfo"
id="videofileinfo3">
<property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="Yalign">0</property>
- <property name="LeftPadding">12</property>
- <child>
- <widget class="Gtk.HBox" id="hbox11">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Image" id="fileimage4">
- <property name="MemberName" />
- <property name="WidthRequest">100</property>
- <property name="HeightRequest">100</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.VBox" id="vbox6">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Alignment"
id="mediafilechooseralignment3">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <child>
- <widget
class="LongoMatch.Gui.Component.MediaFileChooser" id="mediafilechooser4">
- <property name="MemberName" />
- <property
name="Events">ButtonPressMask</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="medialabel4">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="UseMarkup">True</property>
- <property name="Ellipsize">End</property>
- <property name="MaxWidthChars">50</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- </child>
+ <property name="HeightRequest">100</property>
+ <property name="Events">ButtonPressMask</property>
</widget>
+ <packing>
+ <property name="Position">2</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
</child>
<child>
- <widget class="Gtk.Label" id="GtkLabel10">
+ <widget class="LongoMatch.Gui.Component.VideoFileInfo"
id="videofileinfo4">
<property name="MemberName" />
- <property name="LabelProp"
translatable="yes"><b>Camera angle 4</b></property>
- <property name="UseMarkup">True</property>
+ <property name="HeightRequest">100</property>
+ <property name="Events">ButtonPressMask</property>
</widget>
<packing>
- <property name="type">label_item</property>
+ <property name="Position">3</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
</packing>
</child>
</widget>
<packing>
- <property name="Position">5</property>
+ <property name="Position">4</property>
<property name="AutoSize">True</property>
<property name="Expand">False</property>
<property name="Fill">False</property>
@@ -8808,7 +8407,7 @@ You can continue with the current capture, cancel it or save your project.
<child>
<widget class="Gtk.HButtonBox" id="hbuttonbox1">
<property name="MemberName" />
- <property name="Size">3</property>
+ <property name="Size">4</property>
<child>
<widget class="Gtk.Button" id="savebutton">
<property name="MemberName" />
@@ -8828,6 +8427,24 @@ You can continue with the current capture, cancel it or save your project.
</packing>
</child>
<child>
+ <widget class="Gtk.Button" id="openbutton">
+ <property name="MemberName" />
+ <property name="Tooltip" translatable="yes">Open</property>
+ <property name="CanFocus">True</property>
+ <property name="Type">Custom</property>
+ <child>
+ <widget class="Gtk.Image" id="openbuttonimage">
+ <property name="MemberName" />
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ <child>
<widget class="Gtk.Button" id="exportbutton">
<property name="MemberName" />
<property name="Sensitive">False</property>
@@ -8841,7 +8458,7 @@ You can continue with the current capture, cancel it or save your project.
</child>
</widget>
<packing>
- <property name="Position">1</property>
+ <property name="Position">2</property>
<property name="Expand">False</property>
<property name="Fill">False</property>
</packing>
@@ -8861,7 +8478,7 @@ You can continue with the current capture, cancel it or save your project.
</child>
</widget>
<packing>
- <property name="Position">2</property>
+ <property name="Position">3</property>
<property name="Expand">False</property>
<property name="Fill">False</property>
</packing>
@@ -11283,4 +10900,299 @@ Installing these codecs will therefore be entirely at your risk.</property>
</widget>
</child>
</widget>
+ <widget class="Gtk.Bin" id="LongoMatch.Gui.Component.GameDescriptionHeader" design-size="720 73">
+ <property name="MemberName" />
+ <property name="Visible">False</property>
+ <child>
+ <widget class="Gtk.HBox" id="descbox">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="Gtk.Image" id="homeimage">
+ <property name="MemberName" />
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.VSeparator" id="vseparator1">
+ <property name="MemberName" />
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="homenamelabel">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes">Home</property>
+ </widget>
+ <packing>
+ <property name="Position">2</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.EventBox" id="homescoreeventbox">
+ <property name="MemberName" />
+ <child>
+ <widget class="Gtk.Label" id="homescorelabel">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes">0</property>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">3</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.EventBox" id="awayscoreeventbox">
+ <property name="MemberName" />
+ <child>
+ <widget class="Gtk.Label" id="awayscorelabel">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes">0</property>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">4</property>
+ <property name="AutoSize">False</property>
+ <property name="Expand">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="awaynamelabel">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes">Away</property>
+ </widget>
+ <packing>
+ <property name="Position">5</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.VSeparator" id="vseparator2">
+ <property name="MemberName" />
+ </widget>
+ <packing>
+ <property name="Position">6</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Image" id="awayimage">
+ <property name="MemberName" />
+ </widget>
+ <packing>
+ <property name="Position">7</property>
+ <property name="AutoSize">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ <widget class="Gtk.Bin" id="LongoMatch.Gui.Component.VideoFileInfo" design-size="520 88">
+ <property name="MemberName" />
+ <property name="Visible">False</property>
+ <child>
+ <widget class="Gtk.EventBox" id="eventbox3">
+ <property name="MemberName" />
+ <child>
+ <widget class="Gtk.VBox" id="vbox4">
+ <property name="MemberName" />
+ <child>
+ <widget class="Gtk.HBox" id="hbox1">
+ <property name="MemberName" />
+ <property name="Spacing">20</property>
+ <child>
+ <widget class="Gtk.Image" id="snapshotimage">
+ <property name="MemberName" />
+ <property name="WidthRequest">100</property>
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.VBox" id="vbox2">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="Gtk.Label" id="filelabel">
+ <property name="MemberName" />
+ <property name="Xalign">0</property>
+ <property name="Ellipsize">Start</property>
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">False</property>
+ <property name="Expand">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Table" id="table1">
+ <property name="MemberName" />
+ <property name="NRows">3</property>
+ <property name="NColumns">2</property>
+ <property name="RowSpacing">6</property>
+ <property name="ColumnSpacing">6</property>
+ <child>
+ <widget class="Gtk.Label" id="audiolabel">
+ <property name="MemberName" />
+ <property name="Xalign">0</property>
+ </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="XExpand">True</property>
+ <property name="XFill">True</property>
+ <property name="XShrink">False</property>
+ <property name="YExpand">True</property>
+ <property name="YFill">True</property>
+ <property name="YShrink">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="containerlabel">
+ <property name="MemberName" />
+ <property name="Xalign">0</property>
+ </widget>
+ <packing>
+ <property name="TopAttach">2</property>
+ <property name="BottomAttach">3</property>
+ <property name="AutoSize">False</property>
+ <property name="XExpand">True</property>
+ <property name="XFill">True</property>
+ <property name="XShrink">False</property>
+ <property name="YExpand">True</property>
+ <property name="YFill">True</property>
+ <property name="YShrink">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="durationlabel">
+ <property name="MemberName" />
+ <property name="Xalign">0</property>
+ </widget>
+ <packing>
+ <property name="AutoSize">False</property>
+ <property name="XExpand">True</property>
+ <property name="XFill">True</property>
+ <property name="XShrink">False</property>
+ <property name="YExpand">True</property>
+ <property name="YFill">True</property>
+ <property name="YShrink">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="formatlabel">
+ <property name="MemberName" />
+ <property name="Xalign">0</property>
+ </widget>
+ <packing>
+ <property name="LeftAttach">1</property>
+ <property name="RightAttach">2</property>
+ <property name="AutoSize">False</property>
+ <property name="XExpand">True</property>
+ <property name="XFill">True</property>
+ <property name="XShrink">False</property>
+ <property name="YExpand">True</property>
+ <property name="YFill">True</property>
+ <property name="YShrink">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="label9">
+ <property name="MemberName" />
+ <property name="Xalign">0</property>
+ </widget>
+ <packing>
+ <property name="TopAttach">2</property>
+ <property name="BottomAttach">3</property>
+ <property name="LeftAttach">1</property>
+ <property name="RightAttach">2</property>
+ <property name="AutoSize">False</property>
+ <property name="XExpand">True</property>
+ <property name="XFill">True</property>
+ <property name="XShrink">False</property>
+ <property name="YExpand">True</property>
+ <property name="YFill">True</property>
+ <property name="YShrink">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="videolabel">
+ <property name="MemberName" />
+ <property name="Xalign">0</property>
+ </widget>
+ <packing>
+ <property name="TopAttach">1</property>
+ <property name="BottomAttach">2</property>
+ <property name="AutoSize">False</property>
+ <property name="XExpand">True</property>
+ <property name="XFill">True</property>
+ <property name="XShrink">False</property>
+ <property name="YExpand">True</property>
+ <property name="YFill">True</property>
+ <property name="YShrink">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.HSeparator" id="hseparator2">
+ <property name="MemberName" />
+ </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>
+ </child>
+ </widget>
+ </child>
+ </widget>
</stetic-interface>
\ No newline at end of file
diff --git a/LongoMatch.GUI/gtk-gui/objects.xml b/LongoMatch.GUI/gtk-gui/objects.xml
index f486884..b5f2b91 100644
--- a/LongoMatch.GUI/gtk-gui/objects.xml
+++ b/LongoMatch.GUI/gtk-gui/objects.xml
@@ -263,6 +263,26 @@
<itemgroups />
<signals />
</object>
+ <object type="LongoMatch.Gui.Component.FakeAnalysisComponent" palette-category="General"
allow-children="false" base-type="Gtk.Bin">
+ <itemgroups />
+ <signals />
+ </object>
+ <object type="LongoMatch.Gui.Component.EventsListWidget" palette-category="General" allow-children="false"
base-type="Gtk.Bin">
+ <itemgroups />
+ <signals />
+ </object>
+ <object type="LongoMatch.Gui.Component.PluginsPreferences" palette-category="General"
allow-children="false" base-type="Gtk.Bin">
+ <itemgroups />
+ <signals />
+ </object>
+ <object type="LongoMatch.Gui.Component.GameDescriptionHeader" palette-category="General"
allow-children="false" base-type="Gtk.Bin">
+ <itemgroups />
+ <signals />
+ </object>
+ <object type="LongoMatch.Gui.Component.VideoFileInfo" palette-category="General" allow-children="false"
base-type="Gtk.Bin">
+ <itemgroups />
+ <signals />
+ </object>
<object type="LongoMatch.Gui.CapturerBin" palette-category="General" allow-children="false"
base-type="Gtk.Bin">
<itemgroups>
<itemgroup label="CapturerBin Properties">
@@ -312,16 +332,4 @@
</itemgroup>
</signals>
</object>
- <object type="LongoMatch.Gui.Component.FakeAnalysisComponent" palette-category="General"
allow-children="false" base-type="Gtk.Bin">
- <itemgroups />
- <signals />
- </object>
- <object type="LongoMatch.Gui.Component.EventsListWidget" palette-category="General" allow-children="false"
base-type="Gtk.Bin">
- <itemgroups />
- <signals />
- </object>
- <object type="LongoMatch.Gui.Component.PluginsPreferences" palette-category="General"
allow-children="false" base-type="Gtk.Bin">
- <itemgroups />
- <signals />
- </object>
</objects>
\ No newline at end of file
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
index b70498f..659a4b3 100644
--- a/data/icons/Makefile.am
+++ b/data/icons/Makefile.am
@@ -64,6 +64,7 @@ nobase_dist_icons_DATA = Makefile.am \
hicolor/scalable/actions/longomatch-replay.svg \
hicolor/scalable/actions/longomatch-resume-clock.svg \
hicolor/scalable/actions/longomatch-save.svg \
+ hicolor/scalable/actions/longomatch-search.svg \
hicolor/scalable/actions/longomatch-select.svg \
hicolor/scalable/actions/longomatch-shortcut.svg \
hicolor/scalable/actions/longomatch-square-fill.svg \
diff --git a/data/icons/hicolor/scalable/actions/longomatch-search.svg
b/data/icons/hicolor/scalable/actions/longomatch-search.svg
new file mode 100644
index 0000000..c8e782b
--- /dev/null
+++ b/data/icons/hicolor/scalable/actions/longomatch-search.svg
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="27px" height="27px" viewBox="0 20 27 27" enable-background="new 0 20 27 27"
xml:space="preserve">
+<g id="Layer_1_1_">
+</g>
+<g>
+ <g>
+ <path fill="#6A6A6A"
d="M20.25,30.125C20.25,24.534,15.716,20,10.125,20C4.534,20,0,24.534,0,30.125
+ C0,35.716,4.534,40.25,10.125,40.25C15.716,40.25,20.25,35.716,20.25,30.125z
M10.125,37.719c-4.187,0-7.594-3.406-7.594-7.594
+
c0-4.188,3.406-7.594,7.594-7.594c4.187,0,7.594,3.406,7.594,7.594C17.719,34.312,14.312,37.719,10.125,37.719z
M26.258,42.679
+
l-6.195-6.195c-0.923,1.435-2.144,2.656-3.579,3.579l6.195,6.195c0.989,0.989,2.592,0.989,3.579,0
+ C27.247,45.271,27.247,43.668,26.258,42.679z"/>
+ </g>
+</g>
+</svg>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index b994930..f2dfc8b 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -17,6 +17,7 @@ LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.CategoryProperties.cs
LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.CodingWidget.cs
LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.DashboardWidget.cs
LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.EventsListWidget.cs
+LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.GameDescriptionHeader.cs
LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.GeneralPreferencesPanel.cs
LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.LiveAnalysisPreferences.cs
LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.MediaFileSetSelection.cs
@@ -64,10 +65,12 @@ LongoMatch.GUI/Gui/Component/HotkeysConfiguration.cs
LongoMatch.GUI/Gui/Component/LiveAnalysisPreferences.cs
LongoMatch.GUI/Gui/Component/MediaFileChooser.cs
LongoMatch.GUI/Gui/Component/PlaysSelectionWidget.cs
+LongoMatch.GUI/Gui/Component/ProjectListWidget.cs
LongoMatch.GUI/Gui/Component/ProjectPeriods.cs
LongoMatch.GUI/Gui/Component/TeamTemplateEditor.cs
LongoMatch.GUI/Gui/Component/Timeline.cs
LongoMatch.GUI/Gui/Component/TimeScale.cs
+LongoMatch.GUI/Gui/Component/VideoFileInfo.cs
LongoMatch.GUI/Gui/Dialog/DatabasesManager.cs
LongoMatch.GUI/Gui/Dialog/DrawingTool.cs
LongoMatch.GUI/Gui/Dialog/EditCategoryDialog.cs
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]