[longomatch] Add new panels to manage panels and templates
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Add new panels to manage panels and templates
- Date: Mon, 7 Jul 2014 11:19:34 +0000 (UTC)
commit 0eebffadf6aa07dae7c48080796dabb23c4502eb
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Thu Mar 20 17:31:54 2014 +0100
Add new panels to manage panels and templates
LongoMatch.Core/Common/Constants.cs | 2 +-
LongoMatch.Core/Store/MediaFile.cs | 3 +-
LongoMatch.GUI/Gui/Component/ProjectListWidget.cs | 2 +-
LongoMatch.GUI/Gui/Component/TeamTemplateEditor.cs | 374 ++-
LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs | 195 ++
LongoMatch.GUI/Gui/Panel/SportsTemplatesPanel.cs | 31 +
LongoMatch.GUI/Gui/Panel/TeamsTemplatesPanel.cs | 219 ++
LongoMatch.GUI/LongoMatch.GUI.mdp | 28 +-
.../LongoMatch.Gui.Base.TemplatesEditorBase.cs | 252 --
...ongoMatch.Gui.Component.ProjectDetailsWidget.cs | 548 ----
.../LongoMatch.Gui.Component.TeamTemplateEditor.cs | 509 +++
.../LongoMatch.Gui.Dialog.EditPlayerDialog.cs | 58 -
.../LongoMatch.Gui.Dialog.NewProjectDialog.cs | 77 -
.../LongoMatch.Gui.Dialog.OpenProjectDialog.cs | 75 -
...LongoMatch.Gui.Dialog.ProjectSelectionDialog.cs | 200 --
.../LongoMatch.Gui.Dialog.ProjectsManager.cs | 207 --
.../LongoMatch.Gui.Dialog.TemplateEditorDialog.cs | 59 -
.../LongoMatch.Gui.Dialog.TemplatesManager.cs | 185 --
.../LongoMatch.Gui.Panel.ProjectsManagerPanel.cs | 617 ++++
.../LongoMatch.Gui.Panel.SportsTemplatesPanel.cs | 19 +
.../LongoMatch.Gui.Panel.TeamsTemplatesPanel.cs | 192 ++
.../gtk-gui/LongoMatch.Gui.Panel.WelcomePanel.cs | 1 +
LongoMatch.GUI/gtk-gui/gui.stetic | 3351 +++++++++-----------
LongoMatch.GUI/gtk-gui/objects.xml | 73 +-
LongoMatch.Services/Services/Core.cs | 2 +-
25 files changed, 3580 insertions(+), 3699 deletions(-)
---
diff --git a/LongoMatch.Core/Common/Constants.cs b/LongoMatch.Core/Common/Constants.cs
index e012054..a6b3368 100644
--- a/LongoMatch.Core/Common/Constants.cs
+++ b/LongoMatch.Core/Common/Constants.cs
@@ -103,7 +103,7 @@ Xavier Queralt Mateu (ca)";
public const int DB_MAYOR_VERSION = 3;
public const int DB_MINOR_VERSION = 1;
-
+
public const int MAX_PLAYER_ICON_SIZE = 100;
public const int MAX_SHIELD_ICON_SIZE = 100;
public const int MAX_THUMBNAIL_SIZE = 100;
diff --git a/LongoMatch.Core/Store/MediaFile.cs b/LongoMatch.Core/Store/MediaFile.cs
index 2711dda..b8207ad 100644
--- a/LongoMatch.Core/Store/MediaFile.cs
+++ b/LongoMatch.Core/Store/MediaFile.cs
@@ -211,9 +211,10 @@ namespace LongoMatch.Store
return desc;
}
}
-
+
public uint GetFrames() {
return (uint)(Fps*Length/1000);
}
+
}
}
diff --git a/LongoMatch.GUI/Gui/Component/ProjectListWidget.cs
b/LongoMatch.GUI/Gui/Component/ProjectListWidget.cs
index a68b8dc..ce79e14 100644
--- a/LongoMatch.GUI/Gui/Component/ProjectListWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/ProjectListWidget.cs
@@ -179,7 +179,7 @@ namespace LongoMatch.Gui.Component
if (swallowSignals)
return;
-
+
if (ProjectSelected != null) {
iconview.Model.GetIter (out iter, args.Path);
pdesc = iconview.Model.GetValue (iter, COL_PROJECT_DESCRIPTION) as
ProjectDescription;
diff --git a/LongoMatch.GUI/Gui/Component/TeamTemplateEditor.cs
b/LongoMatch.GUI/Gui/Component/TeamTemplateEditor.cs
index ef47ccf..d2d81c9 100644
--- a/LongoMatch.GUI/Gui/Component/TeamTemplateEditor.cs
+++ b/LongoMatch.GUI/Gui/Component/TeamTemplateEditor.cs
@@ -1,173 +1,311 @@
-//
-// Copyright (C) 2011 Andoni Morales Alastruey
-//
+//
+// 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 System.Collections.Generic;
-using Gdk;
using Gtk;
+using Gdk;
+using LongoMatch.Store.Templates;
+using LongoMatch.Store;
using Mono.Unix;
-using Stetic;
using Image = LongoMatch.Common.Image;
using LongoMatch.Common;
-using LongoMatch.Gui.Base;
+using LongoMatch.Gui.Popup;
using LongoMatch.Gui.Dialog;
-using LongoMatch.Interfaces;
-using LongoMatch.Store;
-using LongoMatch.Store.Templates;
-using LongoMatch.Gui.Helpers;
namespace LongoMatch.Gui.Component
{
- public class TeamTemplateEditorWidget: TemplatesEditorWidget<TeamTemplate, Player>
- {
- PlayerPropertiesTreeView treeview;
- Entry teamentry;
- Gtk.Image shieldImage;
- VBox box;
+ [System.ComponentModel.ToolboxItem(true)]
+ public partial class TeamTemplateEditor : Gtk.Bin
+ {
+
+ enum Columns {
+ Desc,
+ Photo,
+ Tooltip,
+ Player,
+ NumCols,
+ }
+
+ ListStore players;
+ Player loadedPlayer;
+ List<Player> selectedPlayers;
+ TreeIter loadedPlayerIter;
+ TeamTemplate template;
+ CalendarPopup cp;
+ Win32CalendarDialog win32CP;
+ bool edited;
- public TeamTemplateEditorWidget (ITemplateProvider<TeamTemplate, Player> provider):
base(provider) {
- treeview = new PlayerPropertiesTreeView();
- treeview.PlayerClicked += this.OnPlayerClicked;
- treeview.PlayersSelected += this.OnPlayersSelected;
- FirstPageName = Catalog.GetString("Teams players");
- AddTreeView(treeview);
- AddTeamNamesWidget();
+ public TeamTemplateEditor ()
+ {
+ this.Build ();
+
+ players = new ListStore (typeof(string), typeof(Pixbuf), typeof(string),
typeof(Player));
+
+ playersiconview.Model = players;
+ playersiconview.Reorderable = true;
+ playersiconview.TextColumn = (int) Columns.Desc;
+ playersiconview.PixbufColumn = (int) Columns.Photo;
+ playersiconview.SelectionMode = SelectionMode.Multiple;
+ playersiconview.SelectionChanged += HandlePlayersSelectionChanged;;
+ playersiconview.KeyPressEvent += HandleKeyPressEvent;
+
+ ConnectSignals ();
}
- public override TeamTemplate Template {
- get {
- return template;
+ void ConnectSignals () {
+ newplayerbutton.Clicked += HandleNewPlayerClicked;
+ savebutton.Clicked += HandleSaveTemplateClicked;
+ deletebutton.Clicked += HandleDeletePlayerClicked;
+
+ shieldeventbox.ButtonPressEvent += HandleShieldButtonPressEvent;
+ playereventbox.ButtonPressEvent += HandlePlayerButtonPressEvent;
+
+ teamnameentry.Changed += HandleEntryChanged;
+ nameentry.Changed += HandleEntryChanged;
+ positionentry.Changed += HandleEntryChanged;
+ numberspinbutton.Changed += HandleEntryChanged;
+ heightspinbutton.Changed += HandleEntryChanged;
+ weightspinbutton.Changed += HandleEntryChanged;
+ nationalityentry.Changed += HandleEntryChanged;
+ mailentry.Changed += HandleEntryChanged;
+
+ if(Environment.OSVersion.Platform != PlatformID.Win32NT) {
+ cp = new CalendarPopup();
+ cp.Hide();
+ cp.DateSelectedEvent += (selectedDate) => {
+ bdaylabel.Text = selectedDate.ToShortDateString();
+ edited = true;
+ };
+ }
+ datebutton.Clicked += HandleCalendarbuttonClicked;
+
+ Edited = false;
+ }
+
+ void HandleEntryChanged (object sender, EventArgs e)
+ {
+ if (sender == teamnameentry) {
+ template.TeamName = (sender as Entry).Text;
+ } else if (sender == nameentry) {
+ loadedPlayer.Name = (sender as Entry).Text;
+ } else if (sender == positionentry) {
+ loadedPlayer.Position = (sender as Entry).Text;
+ } else if (sender == numberspinbutton) {
+ loadedPlayer.Number = (sender as SpinButton).ValueAsInt;
+ } else if (sender == heightspinbutton) {
+ loadedPlayer.Height = (sender as SpinButton).ValueAsInt;
+ } else if (sender == weightspinbutton) {
+ loadedPlayer.Weight = (sender as SpinButton).ValueAsInt;
+ } else if (sender == nationalityentry) {
+ loadedPlayer.Nationality = (sender as Entry).Text;
+ } else if (sender == mailentry) {
+ loadedPlayer.Mail = (sender as Entry).Text;
}
+ Edited = true;
+ }
+
+ public TeamTemplate Team {
set {
- template= value;
- Edited = false;
- Gtk.TreeStore playersListStore = new Gtk.TreeStore(typeof(Player));
- foreach(Player player in template)
- playersListStore.AppendValues(player);
- treeview.Model=playersListStore;
- teamentry.Text = template.TeamName;
+ template = value;
+
+ players.Clear ();
+ foreach (Player p in value) {
+ AddPlayer (p);
+ }
if (template.Shield != null) {
- shieldImage.Pixbuf = template.Shield.Value;
+ shieldimage.Pixbuf = template.Shield.Value;
+ } else {
+ shieldimage.Pixbuf = Gdk.Pixbuf.LoadFromResource ("logo.svg");
}
- box.Sensitive = true;
+ teamnameentry.Text = template.TeamName;
+ Edited = false;
}
}
- private void AddTeamNamesWidget () {
- Gtk.Frame sframe, tframe;
- EventBox ebox;
-
- sframe = new Gtk.Frame("<b>" + Catalog.GetString("Shield") + "</b>");
- (sframe.LabelWidget as Label).UseMarkup = true;
- sframe.ShadowType = ShadowType.None;
- tframe = new Gtk.Frame("<b>" + Catalog.GetString("Team Name") + "</b>");
- (tframe.LabelWidget as Label).UseMarkup = true;
- tframe.ShadowType = ShadowType.None;
-
- ebox = new EventBox();
- ebox.ButtonPressEvent += OnImageClicked;
-
- shieldImage = new Gtk.Image();
- shieldImage.Pixbuf = IconLoader.LoadIcon(this, "gtk-execute", IconSize.Dialog);
- box = new VBox();
+ public bool Edited {
+ get {
+ return edited;
+ }
+ protected set {
+ edited = value;
+ savebutton.Sensitive = edited;
+ }
+ }
+
+ void LoadPlayer (Player p) {
+ loadedPlayer = p;
+ nameentry.Text = p.Name;
+ positionentry.Text = p.Name;
+ numberspinbutton.Value = p.Number;
+ heightspinbutton.Value = p.Height;
+ weightspinbutton.Value = p.Weight;
+ nationalityentry.Text = p.Number.ToString();
+ bdaylabel.Text = p.Birthday.ToShortDateString();
+ playerimage.Pixbuf = PlayerPhoto (p);
+ }
+
+ Pixbuf PlayerPhoto (Player p) {
+ Pixbuf playerImage;
+
+ if (p.Photo != null) {
+ playerImage = p.Photo.Value;
+ } else {
+ playerImage = Stetic.IconLoader.LoadIcon (this, "stock_person",
IconSize.Dialog);
+ }
+ return playerImage;
+ }
+
+ TreeIter AddPlayer (Player p) {
+ return players.AppendValues (String.Format("{0} #{1}", p.Name, p.Number),
+ PlayerPhoto (p), p.Number.ToString(), p);
+ }
+
+ void PlayersSelected (List<Player> players) {
+ playerframe.Sensitive = players.Count == 1;
- teamentry = new Entry ();
- teamentry.Changed += delegate(object sender, EventArgs e) {
- Template.TeamName = teamentry.Text;
- };
+ selectedPlayers = players;
+ deletebutton.Sensitive = players.Count != 0;
+ playerframe.Sensitive = players.Count != 0;
+ if (players.Count == 1) {
+ LoadPlayer (players[0]);
+ } else {
+ loadedPlayer = null;
+ }
+ }
+
+ void DeleteSelectedPlayers () {
+ if (selectedPlayers.Count == 0) {
+ return;
+ }
- sframe.Add(ebox);
- ebox.Add(shieldImage);
- tframe.Add(teamentry);
+ foreach (Player p in selectedPlayers) {
+ string msg = Catalog.GetString ("Do you want to delete player: ") + p.Name;
+ if (Config.GUIToolkit.QuestionMessage (msg, null, this)) {
+ template.Remove (p);
+ Edited = true;
+ }
+ }
+ Team = template;
+ }
+
+ void HandlePlayersSelectionChanged (object sender, EventArgs e)
+ {
+ TreeIter iter;
+ List<Player> list;
+ TreePath[] pathArray;
- box.PackStart (sframe, false, false, 0);
- box.PackStart (tframe, false, false, 0);
- box.ShowAll();
- box.Sensitive = false;
- AddUpperWidget(box);
+ list = new List<Player>();
+ pathArray = playersiconview.SelectedItems;
+
+ for(int i=0; i< pathArray.Length; i++) {
+ Player player;
+
+ playersiconview.Model.GetIterFromString (out iter, pathArray[i].ToString());
+ player = playersiconview.Model.GetValue (iter, (int)Columns.Player) as
Player;
+ list.Add (player);
+ if (i== 0) {
+ loadedPlayerIter = iter;
+ }
+ }
+ PlayersSelected (list);
}
- protected override void EditSelected() {
- LongoMatch.Gui.Dialog.EditPlayerDialog dialog = new
LongoMatch.Gui.Dialog.EditPlayerDialog();
- dialog.Player=selected[0];
- dialog.TransientFor = (Gtk.Window) Toplevel;
- dialog.Run();
- dialog.Destroy();
+ void HandleSaveTemplateClicked (object sender, EventArgs e)
+ {
+ if (template != null) {
+ Config.TeamTemplatesProvider.Update (template);
+ Edited = false;
+ }
+ }
+
+ void HandleNewPlayerClicked (object sender, EventArgs e)
+ {
+ TreeIter iter;
+ Player p;
+
+ p = template.AddDefaultItem (template.Count);
+ iter = AddPlayer (p);
+ playersiconview.SelectPath (playersiconview.Model.GetPath (iter));
Edited = true;
}
+
+ void HandleDeletePlayerClicked (object sender, EventArgs e)
+ {
+ DeleteSelectedPlayers ();
+ }
- protected virtual void OnImageClicked (object sender, EventArgs args)
+ void HandleKeyPressEvent (object o, KeyPressEventArgs args)
{
- Pixbuf shield;
-
- shield = Helpers.Misc.OpenImage((Gtk.Window)this.Toplevel);
- if (shield != null) {
- Image img = new Image(shield);
- img.Scale();
- Template.Shield = img;
- shieldImage.Pixbuf = img.Value;
+ if (args.Event.Key == Gdk.Key.Delete) {
+ DeleteSelectedPlayers ();
}
}
- protected virtual void OnPlayerClicked(Player player)
+ void HandlePlayerButtonPressEvent (object o, ButtonPressEventArgs args)
{
- selected = new List<Player>();
- selected.Add(player);
- EditSelected();
+ Image player = new Image (Helpers.Misc.OpenImage (this));
+ if (player == null) {
+ return;
+ }
+
+ player.Scale (Constants.MAX_PLAYER_ICON_SIZE, Constants.MAX_PLAYER_ICON_SIZE);
+ if (player != null && loadedPlayer != null) {
+ playerimage.Pixbuf = player.Value;
+ loadedPlayer.Photo = player;
+ playersiconview.Model.SetValue (loadedPlayerIter, (int) Columns.Photo,
+ playerimage.Pixbuf);
+ Edited = true;
+ }
}
- protected virtual void OnPlayersSelected(List<Player> players)
+ void HandleShieldButtonPressEvent (object o, ButtonPressEventArgs args)
{
- selected = players;
+ Image shield = new Image (Helpers.Misc.OpenImage (this));
+ if (shield == null) {
+ return;
+ }
- if(selected.Count == 0) {
- ButtonsSensitive = false;
- } else if(selected.Count == 1) {
- ButtonsSensitive = true;
- } else {
- MultipleSelection();
+ shield.Scale (Constants.MAX_SHIELD_ICON_SIZE, Constants.MAX_SHIELD_ICON_SIZE);
+ if (shield != null)
+ {
+ shieldimage.Pixbuf = shield.Value;
+ template.Shield = shield;
+ Edited = true;
}
}
-
- protected override void RemoveSelected (){
- if(Project != null) {
- var msg = Catalog.GetString("You are about to delete a player and all " +
- "its tags. Do you want to proceed?");
- if (MessagesHelpers.QuestionMessage (this, msg)) {
- try {
- foreach(var player in selected)
- Project.RemovePlayer (template, player);
- } catch {
- MessagesHelpers.WarningMessage (this,
- Catalog.GetString("A template
needs at least one category"));
- }
- }
- } else {
- try {
- foreach(var player in selected)
- Template.Remove(player);
- } catch {
- MessagesHelpers.WarningMessage (this,
- Catalog.GetString("A template needs
at least one category"));
- }
+
+ void HandleCalendarbuttonClicked(object sender, System.EventArgs e)
+ {
+ if(Environment.OSVersion.Platform == PlatformID.Win32NT) {
+ win32CP = new Win32CalendarDialog();
+ win32CP.TransientFor = (Gtk.Window)this.Toplevel;
+ win32CP.Run();
+ bdaylabel.Text = win32CP.getSelectedDate().ToShortDateString();
+ Edited = true;
+ win32CP.Destroy();
+ }
+ else {
+ cp.TransientFor=(Gtk.Window)this.Toplevel;
+ cp.Show();
}
- base.RemoveSelected();
}
+
}
}
+
diff --git a/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
b/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
new file mode 100644
index 0000000..c762264
--- /dev/null
+++ b/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
@@ -0,0 +1,195 @@
+//
+// 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 LongoMatch.Store;
+using System.Collections.Generic;
+using LongoMatch.Interfaces;
+using LongoMatch.Store.Templates;
+using LongoMatch.Interfaces.GUI;
+using LongoMatch.Handlers;
+using Gtk;
+using LongoMatch.Common;
+using LongoMatch.Gui.Helpers;
+using LongoMatch.Interfaces.Multimedia;
+using Mono.Unix;
+using LongoMatch.Video;
+
+namespace LongoMatch.Gui.Panel
+{
+ [System.ComponentModel.ToolboxItem(true)]
+ 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;
+ this.DB = Config.DatabaseManager.ActiveDB;
+ this.gkit = Config.GUIToolkit;
+ this.Build ();
+ notebook1.ShowTabs = false;
+ notebook1.ShowBorder = false;
+ projectlistwidget1.Fill (DB.GetAllProjects());
+ projectlistwidget1.ProjectsSelected += HandleProjectsSelected;
+ projectlistwidget1.SelectionMode = SelectionMode.Multiple;
+ seasonentry.Changed += HandleChanged;
+ competitionentry.Changed += HandleChanged;
+ localSpinButton.ValueChanged += HandleChanged;
+ visitorSpinButton.ValueChanged += HandleChanged;
+ filebutton.Clicked += HandleFileClicked;
+ backbutton.Clicked += HandleBackClicked;
+ savebutton.Clicked += HandleSaveClicked;
+ exportbutton.Clicked += HandleExportClicked;
+ deletebutton.Clicked += HandleDeleteClicked;
+ notebook1.Page = 0;
+ }
+
+ void LoadProject (Project project) {
+ ProjectDescription pd = project.Description;
+ MediaFile f = pd.File;
+ TeamTemplate lt = project.LocalTeamTemplate;
+ TeamTemplate vt = project.VisitorTeamTemplate;
+
+ seasonentry.Text = pd.Season;
+ competitionentry.Text = pd.Competition;
+ localSpinButton.Value = pd.LocalGoals;
+ visitorSpinButton.Value = pd.VisitorGoals;
+ datelabel.Text = pd.MatchDate.ToShortDateString ();
+ templatelabel.Text = project.Categories.Name;
+
+ fileimage.Pixbuf = f.Preview.Value;
+ medialabel.Markup = f.Description;
+
+ homelabel.Text = lt.TeamName;
+ awaylabel.Text = vt.TeamName;
+ if (lt.Shield != null) {
+ homeimage.Pixbuf = lt.Shield.Value;
+ } else {
+ homeimage.Pixbuf = Gdk.Pixbuf.LoadFromResource ("logo.svg");
+ }
+ if (vt.Shield != null) {
+ awayimage.Pixbuf = vt.Shield.Value;
+ } else {
+ awayimage.Pixbuf = Gdk.Pixbuf.LoadFromResource ("logo.svg");
+ }
+
+ loadedProject = project;
+ descbox.Visible = true;
+ }
+
+ void HandleFileClicked (object sender, EventArgs e)
+ {
+ MediaFile file= Utils.Open.OpenFile (this);
+ if (file != null) {
+ loadedProject.Description.File = file;
+ fileimage.Pixbuf = file.Preview.Value;
+ medialabel.Markup = file.Description;
+ }
+ }
+
+ void HandleBackClicked (object sender, EventArgs e)
+ {
+ if (notebook1.Page == 0) {
+ if (BackEvent != null) {
+ BackEvent ();
+ }
+ } else {
+ notebook1.Page --;
+ }
+ }
+
+ void HandleChanged (object sender, EventArgs e)
+ {
+ if (loadedProject == null)
+ return;
+
+ if (sender == competitionentry) {
+ loadedProject.Description.Competition = (sender as Entry).Text;
+ } else if (sender == seasonentry) {
+ loadedProject.Description.Season = (sender as Entry).Text;
+ } else if (sender == localSpinButton) {
+ loadedProject.Description.LocalGoals = (int) (sender as SpinButton).Value;
+ } else if (sender == visitorSpinButton) {
+ loadedProject.Description.VisitorGoals = (int) (sender as SpinButton).Value;
+ }
+
+ }
+
+ void HandleProjectsSelected (List<ProjectDescription> projects)
+ {
+ rbox.Visible = true;
+ savebutton.Sensitive = projects.Count == 1;
+ exportbutton.Sensitive = projects.Count == 1;
+ deletebutton.Sensitive = projects.Count != 0;
+ descbox.Sensitive = projects.Count == 1;
+
+ selectedProjects = projects;
+ if (projects.Count == 1) {
+ LoadProject (DB.GetProject (projects[0].UUID));
+ }
+ }
+
+ void HandleSaveClicked (object sender, EventArgs e)
+ {
+ if (loadedProject != null) {
+ DB.UpdateProject (loadedProject);
+ }
+ }
+
+ void HandleExportClicked (object sender, EventArgs e)
+ {
+ if (loadedProject != null) {
+ string filename = gkit.SaveFile (
+ Catalog.GetString("Export project"),
+ null, Config.HomeDir, Constants.PROJECT_NAME,
+ new string[] {Constants.PROJECT_EXT});
+ SerializableObject.Save(loadedProject, filename);
+ }
+ }
+
+ void HandleDeleteClicked (object sender, EventArgs e)
+ {
+ List<ProjectDescription> deletedProjects;
+
+ if (selectedProjects == null)
+ return;
+
+ deletedProjects = new List<ProjectDescription>();
+ foreach (ProjectDescription selectedProject in selectedProjects) {
+ if(openedProject == loadedProject) {
+ MessagesHelpers.WarningMessage (this,
+ 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;
+ if (MessagesHelpers.QuestionMessage (this, msg)) {
+ DB.RemoveProject (selectedProject.UUID);
+ deletedProjects.Add (selectedProject);
+ }
+ }
+ projectlistwidget1.RemoveProjects(deletedProjects);
+ }
+ }
+}
+
diff --git a/LongoMatch.GUI/Gui/Panel/SportsTemplatesPanel.cs
b/LongoMatch.GUI/Gui/Panel/SportsTemplatesPanel.cs
new file mode 100644
index 0000000..2342da0
--- /dev/null
+++ b/LongoMatch.GUI/Gui/Panel/SportsTemplatesPanel.cs
@@ -0,0 +1,31 @@
+//
+// 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;
+
+namespace LongoMatch.Gui.Panel
+{
+ [System.ComponentModel.ToolboxItem(true)]
+ public partial class SportsTemplatesPanel : Gtk.Bin
+ {
+ public SportsTemplatesPanel ()
+ {
+ this.Build ();
+ }
+ }
+}
+
diff --git a/LongoMatch.GUI/Gui/Panel/TeamsTemplatesPanel.cs b/LongoMatch.GUI/Gui/Panel/TeamsTemplatesPanel.cs
new file mode 100644
index 0000000..769a7f7
--- /dev/null
+++ b/LongoMatch.GUI/Gui/Panel/TeamsTemplatesPanel.cs
@@ -0,0 +1,219 @@
+//
+// 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 System.Collections.Generic;
+using Gdk;
+using Gtk;
+using Mono.Unix;
+using Stetic;
+
+using Image = LongoMatch.Common.Image;
+using LongoMatch.Common;
+using LongoMatch.Gui.Base;
+using LongoMatch.Gui.Dialog;
+using LongoMatch.Interfaces;
+using LongoMatch.Store;
+using LongoMatch.Store.Templates;
+using LongoMatch.Gui.Helpers;
+using LongoMatch.Handlers;
+using LongoMatch.Interfaces.GUI;
+
+namespace LongoMatch.Gui.Panel
+{
+ [System.ComponentModel.ToolboxItem(true)]
+ public partial class TeamsTemplatesPanel : Gtk.Bin, IPanel
+ {
+ public event BackEventHandle BackEvent;
+
+ ListStore teams;
+ List<string> selectedTeams;
+ TeamTemplate loadedTeam;
+
+ ITeamTemplatesProvider provider;
+
+ enum Page {
+ NewTeam,
+ Team,
+ Player
+ }
+
+ public TeamsTemplatesPanel ()
+ {
+ this.Build ();
+ provider = Config.TeamTemplatesProvider;
+
+ teams = new ListStore (typeof(Pixbuf), typeof(string), typeof (string));
+
+ teamstreeview.Model = teams;
+ teamstreeview.Model = teams;
+ teamstreeview.HeadersVisible = false;
+ teamstreeview.AppendColumn ("Icon", new CellRendererPixbuf (), "pixbuf", 0);
+ teamstreeview.AppendColumn ("Text", new CellRendererText (), "text", 1);
+ teamstreeview.SearchColumn = 1;
+ teamstreeview.TooltipColumn = 2;
+ teamstreeview.EnableGridLines = TreeViewGridLines.None;
+ teamstreeview.CursorChanged += HandleSelectionChanged;
+
+ teamsvbox.WidthRequest = 280;
+
+ teamtemplateeditor1.Visible = false;
+ newteam.Visible = true;
+ deleteteambutton.Visible = false;
+
+ selectedTeams = new List<string>();
+ newteam.Clicked += HandleNewTeamClicked;
+ deleteteambutton.Clicked += HandleDeleteTeamClicked;
+
+ backbutton.Clicked += (sender, o) => {
+ if (BackEvent != null)
+ BackEvent();
+ };
+ Load (null);
+
+ }
+
+ void Load (string templateName) {
+ TreeIter templateIter = TreeIter.Zero;
+ bool first = true;
+
+ teams.Clear ();
+ foreach (TeamTemplate template in provider.Templates) {
+ Pixbuf img;
+ TreeIter iter;
+
+ if (template.Shield != null)
+ img = template.Shield.Value;
+ else
+ img = Gdk.Pixbuf.LoadFromResource ("logo.svg");
+
+ iter = teams.AppendValues (img, template.Name, template.TeamName);
+ if (first || template.Name == templateName) {
+ templateIter = iter;
+ }
+ first = false;
+ }
+ if (teams.IterIsValid (templateIter)) {
+ teamstreeview.Selection.SelectIter (templateIter);
+ HandleSelectionChanged (null, null);
+ }
+ }
+
+ void LoadTeam (string teamName) {
+ if (loadedTeam != null && teamtemplateeditor1.Edited) {
+ string msg = Catalog.GetString ("Do you want to save the current template");
+ if (Config.GUIToolkit.QuestionMessage (msg, null, this)) {
+ provider.Update (loadedTeam);
+ } else {
+ return;
+ }
+ }
+
+ try {
+ loadedTeam = provider.Load (teamName);
+ teamtemplateeditor1.Team = loadedTeam;
+ } catch (Exception ex) {
+ Log.Exception (ex);
+ GUIToolkit.Instance.ErrorMessage (Catalog.GetString ("Could not load
template"));
+ return;
+ }
+ }
+
+ void HandleSelectionChanged (object sender, EventArgs e)
+ {
+ TreeIter iter;
+ TreePath[] pathArray;
+
+ selectedTeams.Clear ();
+
+ pathArray = teamstreeview.Selection.GetSelectedRows ();
+ for(int i=0; i< pathArray.Length; i++) {
+ teamstreeview.Model.GetIterFromString (out iter, pathArray[i].ToString());
+ selectedTeams.Add (teamstreeview.Model.GetValue (iter, 1) as string);
+ }
+
+ deleteteambutton.Visible = selectedTeams.Count >= 1;
+ teamtemplateeditor1.Visible = true;
+
+ if (selectedTeams.Count == 1) {
+ LoadTeam (selectedTeams[0]);
+ }
+ }
+
+ void HandleDeleteTeamClicked (object sender, EventArgs e)
+ {
+ foreach (string teamName in selectedTeams) {
+ if (teamName == "default") {
+ MessagesHelpers.ErrorMessage (this,
+ Catalog.GetString ("The default template can't be deleted"));
+ continue;
+ }
+ string msg = Catalog.GetString("Do you really want to delete the template: ")
+ teamName;
+ if (MessagesHelpers.QuestionMessage (this, msg, null)) {
+ provider.Delete (teamName);
+ }
+ }
+ Load ("default");
+ }
+
+ void HandleNewTeamClicked (object sender, EventArgs e)
+ {
+ bool create = false;
+
+ EntryDialog dialog = new EntryDialog();
+ dialog.TransientFor = (Gtk.Window)this.Toplevel;
+ dialog.ShowCount = true;
+ dialog.Text = Catalog.GetString("New team");
+ dialog.AvailableTemplates = provider.TemplatesNames;
+
+ while (dialog.Run() == (int)ResponseType.Ok) {
+ if (dialog.Text == "") {
+ MessagesHelpers.ErrorMessage (dialog, Catalog.GetString("The template
name is empty."));
+ continue;
+ } else if (dialog.Text == "default") {
+ MessagesHelpers.ErrorMessage (dialog, Catalog.GetString("The template
can't be named 'default'."));
+ continue;
+ } else if(provider.Exists(dialog.Text)) {
+ var msg = Catalog.GetString("The template already exists. " +
+ "Do you want to overwrite it ?");
+ if (MessagesHelpers.QuestionMessage (this, msg)) {
+ create = true;
+ break;
+ }
+ } else {
+ create = true;
+ break;
+ }
+ }
+
+ if (create) {
+ if (dialog.SelectedTemplate != null) {
+ provider.Copy (dialog.SelectedTemplate, dialog.Text);
+ } else {
+ TeamTemplate team;
+ team = TeamTemplate.DefaultTemplate (dialog.Count);
+ team.TeamName = dialog.Text;
+ team.Name = dialog.Text;
+ provider.Save (team);
+ }
+ Load (dialog.Text);
+ }
+ dialog.Destroy();
+ }
+ }
+}
+
diff --git a/LongoMatch.GUI/LongoMatch.GUI.mdp b/LongoMatch.GUI/LongoMatch.GUI.mdp
index ffb40b7..443b803 100644
--- a/LongoMatch.GUI/LongoMatch.GUI.mdp
+++ b/LongoMatch.GUI/LongoMatch.GUI.mdp
@@ -18,13 +18,9 @@
<File subtype="Code" buildaction="Compile" name="Gui/MainWindow.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/TransparentDrawingArea.cs" />
<File subtype="Directory" buildaction="Compile" name="Gui/Dialog" />
- <File subtype="Code" buildaction="Compile" name="Gui/Dialog/EditPlayerDialog.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Dialog/EditCategoryDialog.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Dialog/EntryDialog.cs" />
- <File subtype="Code" buildaction="Compile" name="Gui/Dialog/NewProjectDialog.cs" />
- <File subtype="Code" buildaction="Compile" name="Gui/Dialog/OpenProjectDialog.cs" />
<File subtype="Directory" buildaction="Compile" name="Gui/Component" />
- <File subtype="Code" buildaction="Compile" name="Gui/Component/ProjectDetailsWidget.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Component/ButtonsWidget.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Component/DrawingToolBox.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Component/NotesWidget.cs" />
@@ -41,12 +37,9 @@
<File subtype="Code" buildaction="Compile" name="Gui/Dialog/Win32CalendarDialog.cs" />
<File subtype="Directory" buildaction="Compile" name="Gui/Popup" />
<File subtype="Code" buildaction="Compile" name="Gui/Popup/CalendarPopup.cs" />
- <File subtype="Code" buildaction="Compile" name="Gui/Dialog/TemplateEditorDialog.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Component/PlayersListTreeWidget.cs" />
- <File subtype="Code" buildaction="Compile" name="Gui/Dialog/ProjectsManager.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Component/PlayListWidget.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Component/ProjectListWidget.cs" />
- <File subtype="Code" buildaction="Compile" name="Gui/Dialog/TemplatesManager.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/TreeView/CategoriesTreeView.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Component/TimeLineWidget.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Component/TimeScale.cs" />
@@ -58,19 +51,14 @@
<File subtype="Code" buildaction="Compile" name="Gui/Dialog/DrawingTool.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Component/TaggerWidget.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Dialog/TaggerDialog.cs" />
- <File subtype="Code" buildaction="Compile" name="Gui/Dialog/ProjectSelectionDialog.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Dialog/EndCaptureDialog.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Dialog/BusyDialog.cs" />
<File subtype="Code" buildaction="EmbedAsResource" name="gtk-gui/gui.stetic" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/generated.cs" />
- <File subtype="Code" buildaction="Compile"
name="gtk-gui/LongoMatch.Gui.Component.ProjectDetailsWidget.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Component.ProjectListWidget.cs"
/>
<File subtype="Code" buildaction="Compile"
name="gtk-gui/LongoMatch.Gui.Component.PlaysListTreeWidget.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Popup.CalendarPopup.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Component.ButtonsWidget.cs" />
- <File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Dialog.ProjectsManager.cs" />
- <File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Dialog.OpenProjectDialog.cs" />
- <File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Dialog.NewProjectDialog.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.MainWindow.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Component.CategoryProperties.cs"
/>
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Component.PlayListWidget.cs" />
@@ -87,17 +75,14 @@
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Popup.TransparentDrawingArea.cs"
/>
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Component.DrawingToolBox.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Dialog.EditCategoryDialog.cs" />
- <File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Dialog.EditPlayerDialog.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Component.DrawingWidget.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Dialog.DrawingTool.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Component.TaggerWidget.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Dialog.TaggerDialog.cs" />
- <File subtype="Code" buildaction="Compile"
name="gtk-gui/LongoMatch.Gui.Dialog.ProjectSelectionDialog.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Dialog.EndCaptureDialog.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Dialog.BusyDialog.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/TreeView/ListTreeViewBase.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Component/TimelineLabelsWidget.cs" />
- <File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Dialog.TemplateEditorDialog.cs"
/>
<File subtype="Code" buildaction="Compile" name="Gui/TreeView/SubCategoriesTreeView.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Dialog/SubCategoryTagsEditor.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Dialog.SubCategoryTagsEditor.cs"
/>
@@ -105,11 +90,8 @@
<File subtype="Code" buildaction="Compile"
name="gtk-gui/LongoMatch.Gui.Component.PlayersTaggerWidget.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Component/StringTaggerWidget.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Component.StringTaggerWidget.cs"
/>
- <File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Dialog.TemplatesManager.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Component.TeamTaggerWidget.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Component/TeamTaggerWidget.cs" />
- <File subtype="Code" buildaction="Compile" name="Gui/Component/CategoriesTemplateEditor.cs" />
- <File subtype="Code" buildaction="Compile" name="Gui/Component/TeamTemplateEditor.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Component/RenderingStateBar.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Component.RenderingStateBar.cs"
/>
<File subtype="Code" buildaction="Compile" name="Gui/TreeView/RenderingJobsTreeView.cs" />
@@ -134,9 +116,7 @@
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Component.GameUnitsTagger.cs" />
<File subtype="Directory" buildaction="Compile" name="Gui/Base" />
<File subtype="Code" buildaction="Compile" name="Gui/Base/TimeScaleBase.cs" />
- <File subtype="Code" buildaction="Compile" name="Gui/Base/TemplatesEditorBase.cs" />
<File subtype="Directory" buildaction="Compile" name="Gui/Component" />
- <File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Base.TemplatesEditorBase.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Component/GameUnitTimeScale.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Base/TimelineWidgetBase.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Base.TimelineWidgetBase.cs" />
@@ -215,6 +195,14 @@
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Panel.NewProjectPanel.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Component/TeamPlayersSelection.cs" />
<File subtype="Code" buildaction="Compile"
name="gtk-gui/LongoMatch.Gui.Component.TeamPlayersSelection.cs" />
+ <File subtype="Code" buildaction="Compile" name="Gui/Panel/TeamsTemplatesPanel.cs" />
+ <File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Panel.TeamsTemplatesPanel.cs" />
+ <File subtype="Code" buildaction="Compile" name="Gui/Component/TeamTemplateEditor.cs" />
+ <File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Component.TeamTemplateEditor.cs"
/>
+ <File subtype="Code" buildaction="Compile" name="Gui/Panel/ProjectsManagerPanel.cs" />
+ <File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs" />
+ <File subtype="Code" buildaction="Compile" name="Gui/Panel/SportsTemplatesPanel.cs" />
+ <File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Panel.SportsTemplatesPanel.cs" />
</Contents>
<References>
<ProjectReference type="Gac" localcopy="True" refto="atk-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f" />
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.TeamTemplateEditor.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.TeamTemplateEditor.cs
new file mode 100644
index 0000000..8585b4a
--- /dev/null
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.TeamTemplateEditor.cs
@@ -0,0 +1,509 @@
+
+// This file has been generated by the GUI designer. Do not modify.
+namespace LongoMatch.Gui.Component
+{
+ public partial class TeamTemplateEditor
+ {
+ private global::Gtk.VBox vbox3;
+ private global::Gtk.HBox hbox4;
+ private global::Gtk.VBox vbox5;
+ private global::Gtk.HBox hbox2;
+ private global::Gtk.Frame frame1;
+ private global::Gtk.Alignment GtkAlignment1;
+ private global::Gtk.EventBox shieldeventbox;
+ private global::Gtk.Image shieldimage;
+ private global::Gtk.Label shield;
+ private global::Gtk.Frame frame6;
+ private global::Gtk.Alignment GtkAlignment3;
+ private global::Gtk.Entry teamnameentry;
+ private global::Gtk.Label GtkLabel4;
+ private global::Gtk.ScrolledWindow GtkScrolledWindow;
+ private global::Gtk.IconView playersiconview;
+ private global::Gtk.VSeparator vseparator1;
+ private global::Gtk.Frame playerframe;
+ private global::Gtk.Alignment GtkAlignment5;
+ private global::Gtk.VBox vbox6;
+ private global::Gtk.EventBox playereventbox;
+ private global::Gtk.Image playerimage;
+ private global::Gtk.Table table1;
+ private global::Gtk.HBox hbox3;
+ private global::Gtk.Label bdaylabel;
+ private global::Gtk.Button datebutton;
+ private global::Gtk.SpinButton heightspinbutton;
+ private global::Gtk.Label label11;
+ private global::Gtk.Label label12;
+ private global::Gtk.Label label3;
+ private global::Gtk.Label label5;
+ private global::Gtk.Label label6;
+ private global::Gtk.Label label7;
+ private global::Gtk.Label label8;
+ private global::Gtk.Entry mailentry;
+ private global::Gtk.Label maillabel;
+ private global::Gtk.Entry nameentry;
+ private global::Gtk.Entry nationalityentry;
+ private global::Gtk.SpinButton numberspinbutton;
+ private global::Gtk.Entry positionentry;
+ private global::Gtk.SpinButton weightspinbutton;
+ private global::Gtk.Label GtkLabel3;
+ private global::Gtk.HButtonBox hbuttonbox2;
+ private global::Gtk.Button savebutton;
+ private global::Gtk.Button newplayerbutton;
+ private global::Gtk.Button deletebutton;
+
+ protected virtual void Build ()
+ {
+ global::Stetic.Gui.Initialize (this);
+ // Widget LongoMatch.Gui.Component.TeamTemplateEditor
+ global::Stetic.BinContainer.Attach (this);
+ this.Name = "LongoMatch.Gui.Component.TeamTemplateEditor";
+ // Container child
LongoMatch.Gui.Component.TeamTemplateEditor.Gtk.Container+ContainerChild
+ this.vbox3 = new global::Gtk.VBox ();
+ this.vbox3.Name = "vbox3";
+ this.vbox3.Spacing = 6;
+ // Container child vbox3.Gtk.Box+BoxChild
+ this.hbox4 = new global::Gtk.HBox ();
+ this.hbox4.Name = "hbox4";
+ this.hbox4.Spacing = 6;
+ // Container child hbox4.Gtk.Box+BoxChild
+ this.vbox5 = new global::Gtk.VBox ();
+ this.vbox5.Name = "vbox5";
+ this.vbox5.Spacing = 6;
+ // Container child vbox5.Gtk.Box+BoxChild
+ this.hbox2 = new global::Gtk.HBox ();
+ this.hbox2.Name = "hbox2";
+ this.hbox2.Spacing = 50;
+ // 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.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.shieldeventbox = new global::Gtk.EventBox ();
+ this.shieldeventbox.Name = "shieldeventbox";
+ // Container child shieldeventbox.Gtk.Container+ContainerChild
+ this.shieldimage = new global::Gtk.Image ();
+ this.shieldimage.Name = "shieldimage";
+ this.shieldeventbox.Add (this.shieldimage);
+ this.GtkAlignment1.Add (this.shieldeventbox);
+ this.frame1.Add (this.GtkAlignment1);
+ this.shield = new global::Gtk.Label ();
+ this.shield.Name = "shield";
+ this.shield.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Shield</b>");
+ this.shield.UseMarkup = true;
+ this.frame1.LabelWidget = this.shield;
+ this.hbox2.Add (this.frame1);
+ global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.frame1]));
+ w4.Position = 0;
+ w4.Expand = false;
+ // Container child hbox2.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.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.teamnameentry = new global::Gtk.Entry ();
+ this.teamnameentry.CanFocus = true;
+ this.teamnameentry.Name = "teamnameentry";
+ this.teamnameentry.IsEditable = true;
+ this.teamnameentry.InvisibleChar = '•';
+ this.GtkAlignment3.Add (this.teamnameentry);
+ this.frame6.Add (this.GtkAlignment3);
+ this.GtkLabel4 = new global::Gtk.Label ();
+ this.GtkLabel4.Name = "GtkLabel4";
+ this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Team name</b>");
+ this.GtkLabel4.UseMarkup = true;
+ this.frame6.LabelWidget = this.GtkLabel4;
+ this.hbox2.Add (this.frame6);
+ global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.frame6]));
+ w7.Position = 1;
+ w7.Expand = false;
+ w7.Fill = false;
+ this.vbox5.Add (this.hbox2);
+ global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox2]));
+ w8.Position = 0;
+ w8.Expand = false;
+ w8.Fill = false;
+ // Container child vbox5.Gtk.Box+BoxChild
+ this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
+ this.GtkScrolledWindow.Name = "GtkScrolledWindow";
+ this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
+ // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
+ this.playersiconview = new global::Gtk.IconView ();
+ this.playersiconview.CanFocus = true;
+ this.playersiconview.Name = "playersiconview";
+ this.GtkScrolledWindow.Add (this.playersiconview);
+ this.vbox5.Add (this.GtkScrolledWindow);
+ global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox5
[this.GtkScrolledWindow]));
+ w10.Position = 1;
+ this.hbox4.Add (this.vbox5);
+ global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox5]));
+ w11.Position = 0;
+ // Container child hbox4.Gtk.Box+BoxChild
+ this.vseparator1 = new global::Gtk.VSeparator ();
+ this.vseparator1.Name = "vseparator1";
+ this.hbox4.Add (this.vseparator1);
+ global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4
[this.vseparator1]));
+ w12.Position = 1;
+ w12.Expand = false;
+ w12.Fill = false;
+ // Container child hbox4.Gtk.Box+BoxChild
+ this.playerframe = new global::Gtk.Frame ();
+ this.playerframe.Name = "playerframe";
+ this.playerframe.ShadowType = ((global::Gtk.ShadowType)(0));
+ // Container child playerframe.Gtk.Container+ContainerChild
+ this.GtkAlignment5 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
+ this.GtkAlignment5.Name = "GtkAlignment5";
+ this.GtkAlignment5.LeftPadding = ((uint)(12));
+ // Container child GtkAlignment5.Gtk.Container+ContainerChild
+ this.vbox6 = new global::Gtk.VBox ();
+ this.vbox6.Name = "vbox6";
+ this.vbox6.Spacing = 6;
+ // Container child vbox6.Gtk.Box+BoxChild
+ this.playereventbox = new global::Gtk.EventBox ();
+ this.playereventbox.Name = "playereventbox";
+ // Container child playereventbox.Gtk.Container+ContainerChild
+ this.playerimage = new global::Gtk.Image ();
+ this.playerimage.Name = "playerimage";
+ this.playereventbox.Add (this.playerimage);
+ this.vbox6.Add (this.playereventbox);
+ global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox6
[this.playereventbox]));
+ w14.Position = 0;
+ w14.Expand = false;
+ w14.Fill = false;
+ // Container child vbox6.Gtk.Box+BoxChild
+ this.table1 = new global::Gtk.Table (((uint)(4)), ((uint)(4)), false);
+ this.table1.Name = "table1";
+ this.table1.RowSpacing = ((uint)(6));
+ this.table1.ColumnSpacing = ((uint)(6));
+ // Container child table1.Gtk.Table+TableChild
+ this.hbox3 = new global::Gtk.HBox ();
+ this.hbox3.Name = "hbox3";
+ this.hbox3.Spacing = 6;
+ // Container child hbox3.Gtk.Box+BoxChild
+ this.bdaylabel = new global::Gtk.Label ();
+ this.bdaylabel.Name = "bdaylabel";
+ this.hbox3.Add (this.bdaylabel);
+ global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3
[this.bdaylabel]));
+ w15.Position = 0;
+ // Container child hbox3.Gtk.Box+BoxChild
+ this.datebutton = new global::Gtk.Button ();
+ this.datebutton.CanFocus = true;
+ this.datebutton.Name = "datebutton";
+ this.datebutton.UseUnderline = true;
+ this.datebutton.Label = global::Mono.Unix.Catalog.GetString ("_Calendar");
+ this.hbox3.Add (this.datebutton);
+ global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3
[this.datebutton]));
+ w16.Position = 1;
+ w16.Expand = false;
+ w16.Fill = false;
+ this.table1.Add (this.hbox3);
+ global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1
[this.hbox3]));
+ w17.TopAttach = ((uint)(3));
+ w17.BottomAttach = ((uint)(4));
+ w17.LeftAttach = ((uint)(1));
+ w17.RightAttach = ((uint)(2));
+ w17.XOptions = ((global::Gtk.AttachOptions)(4));
+ w17.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.heightspinbutton = new global::Gtk.SpinButton (0, 100, 1);
+ this.heightspinbutton.CanFocus = true;
+ this.heightspinbutton.Name = "heightspinbutton";
+ this.heightspinbutton.Adjustment.PageIncrement = 10;
+ this.heightspinbutton.ClimbRate = 1;
+ this.heightspinbutton.Digits = ((uint)(2));
+ this.heightspinbutton.Numeric = true;
+ this.heightspinbutton.Value = 18;
+ this.table1.Add (this.heightspinbutton);
+ global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1
[this.heightspinbutton]));
+ w18.TopAttach = ((uint)(1));
+ w18.BottomAttach = ((uint)(2));
+ w18.LeftAttach = ((uint)(3));
+ w18.RightAttach = ((uint)(4));
+ w18.XOptions = ((global::Gtk.AttachOptions)(4));
+ w18.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.label11 = new global::Gtk.Label ();
+ this.label11.Name = "label11";
+ this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Position:");
+ this.table1.Add (this.label11);
+ global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1
[this.label11]));
+ w19.LeftAttach = ((uint)(2));
+ w19.RightAttach = ((uint)(3));
+ w19.XOptions = ((global::Gtk.AttachOptions)(4));
+ w19.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.label12 = new global::Gtk.Label ();
+ this.label12.Name = "label12";
+ this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Name:");
+ this.table1.Add (this.label12);
+ global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1
[this.label12]));
+ w20.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.label3 = new global::Gtk.Label ();
+ this.label3.Name = "label3";
+ this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Number:");
+ this.table1.Add (this.label3);
+ global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1
[this.label3]));
+ w21.TopAttach = ((uint)(1));
+ w21.BottomAttach = ((uint)(2));
+ w21.XOptions = ((global::Gtk.AttachOptions)(4));
+ w21.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.label5 = new global::Gtk.Label ();
+ this.label5.Name = "label5";
+ this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Height");
+ this.table1.Add (this.label5);
+ global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1
[this.label5]));
+ w22.TopAttach = ((uint)(1));
+ w22.BottomAttach = ((uint)(2));
+ w22.LeftAttach = ((uint)(2));
+ w22.RightAttach = ((uint)(3));
+ w22.XOptions = ((global::Gtk.AttachOptions)(4));
+ w22.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.label6 = new global::Gtk.Label ();
+ this.label6.Name = "label6";
+ this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Weight");
+ this.table1.Add (this.label6);
+ global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1
[this.label6]));
+ w23.TopAttach = ((uint)(2));
+ w23.BottomAttach = ((uint)(3));
+ w23.XOptions = ((global::Gtk.AttachOptions)(4));
+ w23.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.label7 = new global::Gtk.Label ();
+ this.label7.Name = "label7";
+ this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Birth day");
+ this.table1.Add (this.label7);
+ global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1
[this.label7]));
+ w24.TopAttach = ((uint)(3));
+ w24.BottomAttach = ((uint)(4));
+ w24.XOptions = ((global::Gtk.AttachOptions)(4));
+ w24.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.label8 = new global::Gtk.Label ();
+ this.label8.Name = "label8";
+ this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Nationality");
+ this.table1.Add (this.label8);
+ global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1
[this.label8]));
+ w25.TopAttach = ((uint)(2));
+ w25.BottomAttach = ((uint)(3));
+ w25.LeftAttach = ((uint)(2));
+ w25.RightAttach = ((uint)(3));
+ w25.XOptions = ((global::Gtk.AttachOptions)(4));
+ w25.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.mailentry = new global::Gtk.Entry ();
+ this.mailentry.CanFocus = true;
+ this.mailentry.Name = "mailentry";
+ this.mailentry.IsEditable = true;
+ this.mailentry.InvisibleChar = '•';
+ this.table1.Add (this.mailentry);
+ global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1
[this.mailentry]));
+ w26.TopAttach = ((uint)(3));
+ w26.BottomAttach = ((uint)(4));
+ w26.LeftAttach = ((uint)(3));
+ w26.RightAttach = ((uint)(4));
+ w26.XOptions = ((global::Gtk.AttachOptions)(4));
+ w26.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.maillabel = new global::Gtk.Label ();
+ this.maillabel.Name = "maillabel";
+ this.maillabel.LabelProp = global::Mono.Unix.Catalog.GetString ("E-mail:");
+ this.table1.Add (this.maillabel);
+ global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1
[this.maillabel]));
+ w27.TopAttach = ((uint)(3));
+ w27.BottomAttach = ((uint)(4));
+ w27.LeftAttach = ((uint)(2));
+ w27.RightAttach = ((uint)(3));
+ w27.XOptions = ((global::Gtk.AttachOptions)(4));
+ w27.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.nameentry = new global::Gtk.Entry ();
+ this.nameentry.CanFocus = true;
+ this.nameentry.Name = "nameentry";
+ this.nameentry.IsEditable = true;
+ this.nameentry.InvisibleChar = 'â—';
+ this.table1.Add (this.nameentry);
+ global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1
[this.nameentry]));
+ w28.LeftAttach = ((uint)(1));
+ w28.RightAttach = ((uint)(2));
+ w28.XOptions = ((global::Gtk.AttachOptions)(4));
+ w28.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.nationalityentry = new global::Gtk.Entry ();
+ this.nationalityentry.CanFocus = true;
+ this.nationalityentry.Name = "nationalityentry";
+ this.nationalityentry.IsEditable = true;
+ this.nationalityentry.InvisibleChar = 'â—';
+ this.table1.Add (this.nationalityentry);
+ global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1
[this.nationalityentry]));
+ w29.TopAttach = ((uint)(2));
+ w29.BottomAttach = ((uint)(3));
+ w29.LeftAttach = ((uint)(3));
+ w29.RightAttach = ((uint)(4));
+ w29.XOptions = ((global::Gtk.AttachOptions)(4));
+ w29.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.numberspinbutton = new global::Gtk.SpinButton (0, 100, 1);
+ this.numberspinbutton.CanFocus = true;
+ this.numberspinbutton.Name = "numberspinbutton";
+ this.numberspinbutton.Adjustment.PageIncrement = 10;
+ this.numberspinbutton.ClimbRate = 1;
+ this.numberspinbutton.Numeric = true;
+ this.table1.Add (this.numberspinbutton);
+ global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1
[this.numberspinbutton]));
+ w30.TopAttach = ((uint)(1));
+ w30.BottomAttach = ((uint)(2));
+ w30.LeftAttach = ((uint)(1));
+ w30.RightAttach = ((uint)(2));
+ w30.XOptions = ((global::Gtk.AttachOptions)(4));
+ w30.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.positionentry = new global::Gtk.Entry ();
+ this.positionentry.CanFocus = true;
+ this.positionentry.Name = "positionentry";
+ this.positionentry.IsEditable = true;
+ this.positionentry.InvisibleChar = 'â—';
+ this.table1.Add (this.positionentry);
+ global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1
[this.positionentry]));
+ w31.LeftAttach = ((uint)(3));
+ w31.RightAttach = ((uint)(4));
+ w31.XOptions = ((global::Gtk.AttachOptions)(4));
+ w31.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.weightspinbutton = new global::Gtk.SpinButton (0, 1000, 1);
+ this.weightspinbutton.CanFocus = true;
+ this.weightspinbutton.Name = "weightspinbutton";
+ this.weightspinbutton.Adjustment.PageIncrement = 10;
+ this.weightspinbutton.ClimbRate = 1;
+ this.weightspinbutton.Numeric = true;
+ this.weightspinbutton.Value = 80;
+ this.table1.Add (this.weightspinbutton);
+ global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1
[this.weightspinbutton]));
+ w32.TopAttach = ((uint)(2));
+ w32.BottomAttach = ((uint)(3));
+ w32.LeftAttach = ((uint)(1));
+ w32.RightAttach = ((uint)(2));
+ w32.XOptions = ((global::Gtk.AttachOptions)(4));
+ w32.YOptions = ((global::Gtk.AttachOptions)(4));
+ this.vbox6.Add (this.table1);
+ global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.table1]));
+ w33.Position = 1;
+ w33.Expand = false;
+ w33.Fill = false;
+ this.GtkAlignment5.Add (this.vbox6);
+ this.playerframe.Add (this.GtkAlignment5);
+ this.GtkLabel3 = new global::Gtk.Label ();
+ this.GtkLabel3.Name = "GtkLabel3";
+ this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Player
description</b>");
+ this.GtkLabel3.UseMarkup = true;
+ this.playerframe.LabelWidget = this.GtkLabel3;
+ this.hbox4.Add (this.playerframe);
+ global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox4
[this.playerframe]));
+ w36.Position = 2;
+ w36.Expand = false;
+ w36.Fill = false;
+ this.vbox3.Add (this.hbox4);
+ global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4]));
+ w37.Position = 0;
+ // Container child vbox3.Gtk.Box+BoxChild
+ this.hbuttonbox2 = new global::Gtk.HButtonBox ();
+ this.hbuttonbox2.Name = "hbuttonbox2";
+ this.hbuttonbox2.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(1));
+ // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
+ this.savebutton = new global::Gtk.Button ();
+ this.savebutton.CanFocus = true;
+ this.savebutton.Name = "savebutton";
+ this.savebutton.UseUnderline = true;
+ // Container child savebutton.Gtk.Container+ContainerChild
+ global::Gtk.Alignment w38 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
+ global::Gtk.HBox w39 = new global::Gtk.HBox ();
+ w39.Spacing = 2;
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Image w40 = new global::Gtk.Image ();
+ w40.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save",
global::Gtk.IconSize.Dialog);
+ w39.Add (w40);
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Label w42 = new global::Gtk.Label ();
+ w42.LabelProp = global::Mono.Unix.Catalog.GetString ("Save template");
+ w42.UseUnderline = true;
+ w39.Add (w42);
+ w38.Add (w39);
+ this.savebutton.Add (w38);
+ this.hbuttonbox2.Add (this.savebutton);
+ global::Gtk.ButtonBox.ButtonBoxChild w46 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.savebutton]));
+ w46.Expand = false;
+ w46.Fill = false;
+ // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
+ this.newplayerbutton = new global::Gtk.Button ();
+ this.newplayerbutton.CanFocus = true;
+ this.newplayerbutton.Name = "newplayerbutton";
+ this.newplayerbutton.UseUnderline = true;
+ // Container child newplayerbutton.Gtk.Container+ContainerChild
+ global::Gtk.Alignment w47 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
+ global::Gtk.HBox w48 = new global::Gtk.HBox ();
+ w48.Spacing = 2;
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Image w49 = new global::Gtk.Image ();
+ w49.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-new",
global::Gtk.IconSize.Dialog);
+ w48.Add (w49);
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Label w51 = new global::Gtk.Label ();
+ w51.LabelProp = global::Mono.Unix.Catalog.GetString ("New player");
+ w51.UseUnderline = true;
+ w48.Add (w51);
+ w47.Add (w48);
+ this.newplayerbutton.Add (w47);
+ this.hbuttonbox2.Add (this.newplayerbutton);
+ global::Gtk.ButtonBox.ButtonBoxChild w55 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.newplayerbutton]));
+ w55.Position = 1;
+ w55.Expand = false;
+ w55.Fill = false;
+ // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
+ this.deletebutton = new global::Gtk.Button ();
+ this.deletebutton.CanFocus = true;
+ this.deletebutton.Name = "deletebutton";
+ this.deletebutton.UseUnderline = true;
+ // Container child deletebutton.Gtk.Container+ContainerChild
+ global::Gtk.Alignment w56 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
+ global::Gtk.HBox w57 = new global::Gtk.HBox ();
+ w57.Spacing = 2;
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Image w58 = new global::Gtk.Image ();
+ w58.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete",
global::Gtk.IconSize.Dialog);
+ w57.Add (w58);
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Label w60 = new global::Gtk.Label ();
+ w60.LabelProp = global::Mono.Unix.Catalog.GetString ("Delete player");
+ w60.UseUnderline = true;
+ w57.Add (w60);
+ w56.Add (w57);
+ this.deletebutton.Add (w56);
+ this.hbuttonbox2.Add (this.deletebutton);
+ global::Gtk.ButtonBox.ButtonBoxChild w64 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.deletebutton]));
+ w64.Position = 2;
+ w64.Expand = false;
+ w64.Fill = false;
+ this.vbox3.Add (this.hbuttonbox2);
+ global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.vbox3
[this.hbuttonbox2]));
+ w65.Position = 1;
+ w65.Expand = false;
+ w65.Fill = false;
+ this.Add (this.vbox3);
+ if ((this.Child != null)) {
+ this.Child.ShowAll ();
+ }
+ this.Hide ();
+ }
+ }
+}
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs
new file mode 100644
index 0000000..4169e1e
--- /dev/null
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs
@@ -0,0 +1,617 @@
+
+// This file has been generated by the GUI designer. Do not modify.
+namespace LongoMatch.Gui.Panel
+{
+ public partial class ProjectsManagerPanel
+ {
+ private global::Gtk.VBox vbox3;
+ private global::Gtk.Notebook notebook1;
+ private global::Gtk.HBox hbox4;
+ private global::LongoMatch.Gui.Component.ProjectListWidget projectlistwidget1;
+ private global::Gtk.VBox rbox;
+ 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.Table table1;
+ private global::Gtk.Entry competitionentry;
+ private global::Gtk.Label Competitionlabel;
+ private global::Gtk.HBox hbox5;
+ private global::Gtk.Label datelabel;
+ private global::Gtk.Button calendarbutton;
+ private global::Gtk.HBox hbox9;
+ private global::Gtk.SpinButton localSpinButton;
+ private global::Gtk.Label label2;
+ private global::Gtk.SpinButton visitorSpinButton;
+ private global::Gtk.Label label11;
+ private global::Gtk.Label label5;
+ private global::Gtk.Label label9;
+ private global::Gtk.Entry seasonentry;
+ private global::Gtk.Label seasonlabel;
+ private global::Gtk.Button templatebutton;
+ private global::Gtk.Label templatelabel;
+ private global::Gtk.Label GtkLabel3;
+ private global::Gtk.Frame frame3;
+ private global::Gtk.Alignment GtkAlignment8;
+ private global::Gtk.HBox hbox3;
+ private global::Gtk.Image fileimage;
+ private global::Gtk.VBox vbox1;
+ private global::Gtk.Label medialabel;
+ private global::Gtk.Button filebutton;
+ private global::Gtk.Label GtkLabel6;
+ private global::Gtk.HButtonBox hbuttonbox1;
+ private global::Gtk.Button savebutton;
+ private global::Gtk.Button exportbutton;
+ private global::Gtk.Button deletebutton;
+ private global::Gtk.Label label1;
+ private global::Gtk.Label label3;
+ private global::Gtk.HButtonBox hbuttonbox3;
+ private global::Gtk.Button backbutton;
+
+ protected virtual void Build ()
+ {
+ global::Stetic.Gui.Initialize (this);
+ // Widget LongoMatch.Gui.Panel.ProjectsManagerPanel
+ global::Stetic.BinContainer.Attach (this);
+ this.Name = "LongoMatch.Gui.Panel.ProjectsManagerPanel";
+ // Container child
LongoMatch.Gui.Panel.ProjectsManagerPanel.Gtk.Container+ContainerChild
+ this.vbox3 = new global::Gtk.VBox ();
+ this.vbox3.Name = "vbox3";
+ this.vbox3.Spacing = 6;
+ // Container child vbox3.Gtk.Box+BoxChild
+ this.notebook1 = new global::Gtk.Notebook ();
+ this.notebook1.CanFocus = true;
+ this.notebook1.Name = "notebook1";
+ this.notebook1.CurrentPage = 0;
+ // Container child notebook1.Gtk.Notebook+NotebookChild
+ this.hbox4 = new global::Gtk.HBox ();
+ this.hbox4.Name = "hbox4";
+ this.hbox4.Spacing = 6;
+ // Container child hbox4.Gtk.Box+BoxChild
+ this.projectlistwidget1 = new global::LongoMatch.Gui.Component.ProjectListWidget ();
+ this.projectlistwidget1.Events = ((global::Gdk.EventMask)(256));
+ this.projectlistwidget1.Name = "projectlistwidget1";
+ this.hbox4.Add (this.projectlistwidget1);
+ global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox4
[this.projectlistwidget1]));
+ w1.Position = 0;
+ // Container child hbox4.Gtk.Box+BoxChild
+ this.rbox = new global::Gtk.VBox ();
+ this.rbox.Name = "rbox";
+ this.rbox.Spacing = 6;
+ // Container child rbox.Gtk.Box+BoxChild
+ 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 w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.frame1]));
+ w4.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 w7 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.frame2]));
+ w7.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 w10 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.frame5]));
+ w10.Position = 0;
+ w10.Expand = false;
+ w10.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.table1.Name = "table1";
+ this.table1.RowSpacing = ((uint)(6));
+ this.table1.ColumnSpacing = ((uint)(6));
+ // Container child table1.Gtk.Table+TableChild
+ this.competitionentry = new global::Gtk.Entry ();
+ this.competitionentry.CanFocus = true;
+ this.competitionentry.Name = "competitionentry";
+ this.competitionentry.IsEditable = true;
+ this.competitionentry.InvisibleChar = 'â—';
+ this.table1.Add (this.competitionentry);
+ global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1
[this.competitionentry]));
+ w11.LeftAttach = ((uint)(3));
+ w11.RightAttach = ((uint)(4));
+ w11.XOptions = ((global::Gtk.AttachOptions)(1));
+ w11.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.Competitionlabel = new global::Gtk.Label ();
+ this.Competitionlabel.Name = "Competitionlabel";
+ this.Competitionlabel.LabelProp = global::Mono.Unix.Catalog.GetString
("Competition:");
+ this.table1.Add (this.Competitionlabel);
+ global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1
[this.Competitionlabel]));
+ w12.LeftAttach = ((uint)(2));
+ w12.RightAttach = ((uint)(3));
+ w12.XOptions = ((global::Gtk.AttachOptions)(4));
+ w12.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.hbox5 = new global::Gtk.HBox ();
+ this.hbox5.Name = "hbox5";
+ // Container child hbox5.Gtk.Box+BoxChild
+ this.datelabel = new global::Gtk.Label ();
+ this.datelabel.Name = "datelabel";
+ this.hbox5.Add (this.datelabel);
+ global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox5
[this.datelabel]));
+ w13.Position = 0;
+ // Container child hbox5.Gtk.Box+BoxChild
+ this.calendarbutton = new global::Gtk.Button ();
+ this.calendarbutton.CanFocus = true;
+ this.calendarbutton.Name = "calendarbutton";
+ this.calendarbutton.UseUnderline = true;
+ // Container child calendarbutton.Gtk.Container+ContainerChild
+ global::Gtk.Alignment w14 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
+ global::Gtk.HBox w15 = new global::Gtk.HBox ();
+ w15.Spacing = 2;
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Image w16 = new global::Gtk.Image ();
+ w16.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_calendar",
global::Gtk.IconSize.Button);
+ w15.Add (w16);
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Label w18 = new global::Gtk.Label ();
+ w18.LabelProp = global::Mono.Unix.Catalog.GetString ("_Calendar");
+ w18.UseUnderline = true;
+ w15.Add (w18);
+ w14.Add (w15);
+ this.calendarbutton.Add (w14);
+ this.hbox5.Add (this.calendarbutton);
+ global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox5
[this.calendarbutton]));
+ w22.Position = 1;
+ w22.Expand = false;
+ w22.Fill = false;
+ this.table1.Add (this.hbox5);
+ global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1
[this.hbox5]));
+ w23.TopAttach = ((uint)(1));
+ w23.BottomAttach = ((uint)(2));
+ w23.LeftAttach = ((uint)(3));
+ w23.RightAttach = ((uint)(4));
+ w23.XOptions = ((global::Gtk.AttachOptions)(4));
+ w23.YOptions = ((global::Gtk.AttachOptions)(0));
+ // Container child table1.Gtk.Table+TableChild
+ this.hbox9 = new global::Gtk.HBox ();
+ this.hbox9.Name = "hbox9";
+ this.hbox9.Spacing = 6;
+ // Container child hbox9.Gtk.Box+BoxChild
+ this.localSpinButton = new global::Gtk.SpinButton (0, 1000, 1);
+ this.localSpinButton.CanFocus = true;
+ this.localSpinButton.Name = "localSpinButton";
+ this.localSpinButton.Adjustment.PageIncrement = 10;
+ this.localSpinButton.ClimbRate = 1;
+ this.localSpinButton.Numeric = true;
+ this.hbox9.Add (this.localSpinButton);
+ global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox9
[this.localSpinButton]));
+ w24.Position = 0;
+ w24.Fill = false;
+ // Container child hbox9.Gtk.Box+BoxChild
+ this.label2 = new global::Gtk.Label ();
+ this.label2.Name = "label2";
+ this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("-");
+ this.hbox9.Add (this.label2);
+ global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.label2]));
+ w25.Position = 1;
+ w25.Expand = false;
+ w25.Fill = false;
+ // Container child hbox9.Gtk.Box+BoxChild
+ this.visitorSpinButton = new global::Gtk.SpinButton (0, 1000, 1);
+ this.visitorSpinButton.CanFocus = true;
+ this.visitorSpinButton.Name = "visitorSpinButton";
+ this.visitorSpinButton.Adjustment.PageIncrement = 10;
+ this.visitorSpinButton.ClimbRate = 1;
+ this.visitorSpinButton.Numeric = true;
+ this.hbox9.Add (this.visitorSpinButton);
+ global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox9
[this.visitorSpinButton]));
+ w26.Position = 2;
+ w26.Fill = false;
+ this.table1.Add (this.hbox9);
+ global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1
[this.hbox9]));
+ w27.TopAttach = ((uint)(1));
+ w27.BottomAttach = ((uint)(2));
+ w27.LeftAttach = ((uint)(1));
+ w27.RightAttach = ((uint)(2));
+ w27.XOptions = ((global::Gtk.AttachOptions)(4));
+ w27.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.label11 = new global::Gtk.Label ();
+ this.label11.Name = "label11";
+ this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Score:");
+ this.table1.Add (this.label11);
+ global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1
[this.label11]));
+ w28.TopAttach = ((uint)(1));
+ w28.BottomAttach = ((uint)(2));
+ w28.XOptions = ((global::Gtk.AttachOptions)(4));
+ w28.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.label5 = new global::Gtk.Label ();
+ this.label5.Name = "label5";
+ this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Date:");
+ this.table1.Add (this.label5);
+ global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1
[this.label5]));
+ w29.TopAttach = ((uint)(1));
+ w29.BottomAttach = ((uint)(2));
+ w29.LeftAttach = ((uint)(2));
+ w29.RightAttach = ((uint)(3));
+ w29.XOptions = ((global::Gtk.AttachOptions)(4));
+ w29.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.label9 = new global::Gtk.Label ();
+ this.label9.Name = "label9";
+ this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Analisys Template:");
+ this.table1.Add (this.label9);
+ global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1
[this.label9]));
+ w30.TopAttach = ((uint)(2));
+ w30.BottomAttach = ((uint)(3));
+ w30.XOptions = ((global::Gtk.AttachOptions)(4));
+ w30.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.seasonentry = new global::Gtk.Entry ();
+ this.seasonentry.CanFocus = true;
+ this.seasonentry.Name = "seasonentry";
+ this.seasonentry.IsEditable = true;
+ this.seasonentry.InvisibleChar = 'â—';
+ this.table1.Add (this.seasonentry);
+ global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1
[this.seasonentry]));
+ w31.LeftAttach = ((uint)(1));
+ w31.RightAttach = ((uint)(2));
+ w31.XOptions = ((global::Gtk.AttachOptions)(0));
+ w31.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.seasonlabel = new global::Gtk.Label ();
+ this.seasonlabel.Name = "seasonlabel";
+ this.seasonlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Season:");
+ this.table1.Add (this.seasonlabel);
+ global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1
[this.seasonlabel]));
+ w32.XOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.templatebutton = new global::Gtk.Button ();
+ this.templatebutton.CanFocus = true;
+ this.templatebutton.Name = "templatebutton";
+ this.templatebutton.UseUnderline = true;
+ // Container child templatebutton.Gtk.Container+ContainerChild
+ global::Gtk.Alignment w33 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
+ global::Gtk.HBox w34 = new global::Gtk.HBox ();
+ w34.Spacing = 2;
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Image w35 = new global::Gtk.Image ();
+ w35.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit",
global::Gtk.IconSize.Menu);
+ w34.Add (w35);
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Label w37 = new global::Gtk.Label ();
+ w37.LabelProp = global::Mono.Unix.Catalog.GetString ("Edit template");
+ w37.UseUnderline = true;
+ w34.Add (w37);
+ w33.Add (w34);
+ this.templatebutton.Add (w33);
+ this.table1.Add (this.templatebutton);
+ global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table1
[this.templatebutton]));
+ w41.TopAttach = ((uint)(2));
+ w41.BottomAttach = ((uint)(3));
+ w41.LeftAttach = ((uint)(2));
+ w41.RightAttach = ((uint)(3));
+ w41.XOptions = ((global::Gtk.AttachOptions)(4));
+ w41.YOptions = ((global::Gtk.AttachOptions)(4));
+ // Container child table1.Gtk.Table+TableChild
+ this.templatelabel = new global::Gtk.Label ();
+ this.templatelabel.Name = "templatelabel";
+ this.table1.Add (this.templatelabel);
+ global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table1
[this.templatelabel]));
+ w42.TopAttach = ((uint)(2));
+ w42.BottomAttach = ((uint)(3));
+ w42.LeftAttach = ((uint)(1));
+ w42.RightAttach = ((uint)(2));
+ w42.XOptions = ((global::Gtk.AttachOptions)(4));
+ w42.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 w45 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.frame4]));
+ w45.Position = 1;
+ w45.Expand = false;
+ w45.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.hbox3 = new global::Gtk.HBox ();
+ this.hbox3.Name = "hbox3";
+ this.hbox3.Spacing = 6;
+ // Container child hbox3.Gtk.Box+BoxChild
+ this.fileimage = new global::Gtk.Image ();
+ this.fileimage.WidthRequest = 100;
+ this.fileimage.HeightRequest = 100;
+ this.fileimage.Name = "fileimage";
+ this.hbox3.Add (this.fileimage);
+ global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox3
[this.fileimage]));
+ w46.Position = 0;
+ w46.Expand = false;
+ w46.Fill = false;
+ // Container child hbox3.Gtk.Box+BoxChild
+ this.vbox1 = new global::Gtk.VBox ();
+ this.vbox1.Name = "vbox1";
+ this.vbox1.Spacing = 6;
+ // Container child vbox1.Gtk.Box+BoxChild
+ this.medialabel = new global::Gtk.Label ();
+ this.medialabel.Name = "medialabel";
+ this.medialabel.Xalign = 0F;
+ this.medialabel.UseMarkup = true;
+ this.medialabel.Ellipsize = ((global::Pango.EllipsizeMode)(3));
+ this.medialabel.MaxWidthChars = 50;
+ this.vbox1.Add (this.medialabel);
+ global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox1
[this.medialabel]));
+ w47.Position = 0;
+ // Container child vbox1.Gtk.Box+BoxChild
+ this.filebutton = new global::Gtk.Button ();
+ this.filebutton.CanFocus = true;
+ this.filebutton.Name = "filebutton";
+ this.filebutton.UseUnderline = true;
+ // Container child filebutton.Gtk.Container+ContainerChild
+ global::Gtk.Alignment w48 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
+ global::Gtk.HBox w49 = new global::Gtk.HBox ();
+ w49.Spacing = 2;
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Image w50 = new global::Gtk.Image ();
+ w50.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-open",
global::Gtk.IconSize.Menu);
+ w49.Add (w50);
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Label w52 = new global::Gtk.Label ();
+ w52.LabelProp = global::Mono.Unix.Catalog.GetString ("Change video file");
+ w52.UseUnderline = true;
+ w49.Add (w52);
+ w48.Add (w49);
+ this.filebutton.Add (w48);
+ this.vbox1.Add (this.filebutton);
+ global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox1
[this.filebutton]));
+ w56.Position = 1;
+ w56.Expand = false;
+ w56.Fill = false;
+ this.hbox3.Add (this.vbox1);
+ global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox1]));
+ w57.Position = 1;
+ this.GtkAlignment8.Add (this.hbox3);
+ this.frame3.Add (this.GtkAlignment8);
+ this.GtkLabel6 = new global::Gtk.Label ();
+ this.GtkLabel6.Name = "GtkLabel6";
+ this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Video file</b>");
+ this.GtkLabel6.UseMarkup = true;
+ this.frame3.LabelWidget = this.GtkLabel6;
+ this.descbox.Add (this.frame3);
+ global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.frame3]));
+ w60.Position = 2;
+ w60.Expand = false;
+ w60.Fill = false;
+ this.rbox.Add (this.descbox);
+ global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.rbox [this.descbox]));
+ w61.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.Sensitive = false;
+ this.savebutton.CanFocus = true;
+ this.savebutton.Name = "savebutton";
+ this.savebutton.UseUnderline = true;
+ // Container child savebutton.Gtk.Container+ContainerChild
+ global::Gtk.Alignment w62 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
+ global::Gtk.HBox w63 = new global::Gtk.HBox ();
+ w63.Spacing = 2;
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Image w64 = new global::Gtk.Image ();
+ w64.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save",
global::Gtk.IconSize.Dialog);
+ w63.Add (w64);
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Label w66 = new global::Gtk.Label ();
+ w66.LabelProp = global::Mono.Unix.Catalog.GetString ("Save");
+ w66.UseUnderline = true;
+ w63.Add (w66);
+ w62.Add (w63);
+ this.savebutton.Add (w62);
+ this.hbuttonbox1.Add (this.savebutton);
+ global::Gtk.ButtonBox.ButtonBoxChild w70 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.savebutton]));
+ w70.Expand = false;
+ w70.Fill = false;
+ // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
+ this.exportbutton = new global::Gtk.Button ();
+ this.exportbutton.Sensitive = false;
+ this.exportbutton.CanFocus = true;
+ this.exportbutton.Name = "exportbutton";
+ this.exportbutton.UseUnderline = true;
+ // Container child exportbutton.Gtk.Container+ContainerChild
+ global::Gtk.Alignment w71 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
+ global::Gtk.HBox w72 = new global::Gtk.HBox ();
+ w72.Spacing = 2;
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Image w73 = new global::Gtk.Image ();
+ w73.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save-as",
global::Gtk.IconSize.Dialog);
+ w72.Add (w73);
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Label w75 = new global::Gtk.Label ();
+ w75.LabelProp = global::Mono.Unix.Catalog.GetString ("Export");
+ w75.UseUnderline = true;
+ w72.Add (w75);
+ w71.Add (w72);
+ this.exportbutton.Add (w71);
+ this.hbuttonbox1.Add (this.exportbutton);
+ global::Gtk.ButtonBox.ButtonBoxChild w79 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.exportbutton]));
+ w79.Position = 1;
+ w79.Expand = false;
+ w79.Fill = false;
+ // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
+ this.deletebutton = new global::Gtk.Button ();
+ this.deletebutton.Sensitive = false;
+ this.deletebutton.CanFocus = true;
+ this.deletebutton.Name = "deletebutton";
+ this.deletebutton.UseUnderline = true;
+ // Container child deletebutton.Gtk.Container+ContainerChild
+ global::Gtk.Alignment w80 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
+ global::Gtk.HBox w81 = new global::Gtk.HBox ();
+ w81.Spacing = 2;
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Image w82 = new global::Gtk.Image ();
+ w82.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete",
global::Gtk.IconSize.Dialog);
+ w81.Add (w82);
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Label w84 = new global::Gtk.Label ();
+ w84.LabelProp = global::Mono.Unix.Catalog.GetString ("Delete");
+ w84.UseUnderline = true;
+ w81.Add (w84);
+ w80.Add (w81);
+ this.deletebutton.Add (w80);
+ this.hbuttonbox1.Add (this.deletebutton);
+ global::Gtk.ButtonBox.ButtonBoxChild w88 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.deletebutton]));
+ w88.Position = 2;
+ w88.Expand = false;
+ w88.Fill = false;
+ this.rbox.Add (this.hbuttonbox1);
+ global::Gtk.Box.BoxChild w89 = ((global::Gtk.Box.BoxChild)(this.rbox
[this.hbuttonbox1]));
+ w89.Position = 1;
+ w89.Expand = false;
+ w89.Fill = false;
+ this.hbox4.Add (this.rbox);
+ global::Gtk.Box.BoxChild w90 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.rbox]));
+ w90.Position = 1;
+ w90.Expand = false;
+ w90.Fill = false;
+ this.notebook1.Add (this.hbox4);
+ // Notebook tab
+ this.label1 = new global::Gtk.Label ();
+ this.label1.Name = "label1";
+ this.notebook1.SetTabLabel (this.hbox4, this.label1);
+ this.label1.ShowAll ();
+ // Notebook tab
+ global::Gtk.Label w92 = new global::Gtk.Label ();
+ w92.Visible = true;
+ this.notebook1.Add (w92);
+ this.label3 = new global::Gtk.Label ();
+ this.label3.Name = "label3";
+ this.notebook1.SetTabLabel (w92, this.label3);
+ this.label3.ShowAll ();
+ this.vbox3.Add (this.notebook1);
+ global::Gtk.Box.BoxChild w93 = ((global::Gtk.Box.BoxChild)(this.vbox3
[this.notebook1]));
+ w93.Position = 0;
+ // Container child vbox3.Gtk.Box+BoxChild
+ this.hbuttonbox3 = new global::Gtk.HButtonBox ();
+ this.hbuttonbox3.Name = "hbuttonbox3";
+ this.hbuttonbox3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
+ // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild
+ this.backbutton = new global::Gtk.Button ();
+ this.backbutton.CanFocus = true;
+ this.backbutton.Name = "backbutton";
+ this.backbutton.UseUnderline = true;
+ // Container child backbutton.Gtk.Container+ContainerChild
+ global::Gtk.Alignment w94 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
+ global::Gtk.HBox w95 = new global::Gtk.HBox ();
+ w95.Spacing = 2;
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Image w96 = new global::Gtk.Image ();
+ w96.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-back",
global::Gtk.IconSize.Dialog);
+ w95.Add (w96);
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Label w98 = new global::Gtk.Label ();
+ w98.LabelProp = global::Mono.Unix.Catalog.GetString ("_Back");
+ w98.UseUnderline = true;
+ w95.Add (w98);
+ w94.Add (w95);
+ this.backbutton.Add (w94);
+ this.hbuttonbox3.Add (this.backbutton);
+ global::Gtk.ButtonBox.ButtonBoxChild w102 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3 [this.backbutton]));
+ w102.Expand = false;
+ w102.Fill = false;
+ this.vbox3.Add (this.hbuttonbox3);
+ global::Gtk.Box.BoxChild w103 = ((global::Gtk.Box.BoxChild)(this.vbox3
[this.hbuttonbox3]));
+ w103.Position = 1;
+ w103.Expand = false;
+ w103.Fill = false;
+ this.Add (this.vbox3);
+ if ((this.Child != null)) {
+ this.Child.ShowAll ();
+ }
+ this.descbox.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
new file mode 100644
index 0000000..e35cec0
--- /dev/null
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.SportsTemplatesPanel.cs
@@ -0,0 +1,19 @@
+
+// This file has been generated by the GUI designer. Do not modify.
+namespace LongoMatch.Gui.Panel
+{
+ public partial class SportsTemplatesPanel
+ {
+ protected virtual void Build ()
+ {
+ global::Stetic.Gui.Initialize (this);
+ // Widget LongoMatch.Gui.Panel.SportsTemplatesPanel
+ global::Stetic.BinContainer.Attach (this);
+ this.Name = "LongoMatch.Gui.Panel.SportsTemplatesPanel";
+ if ((this.Child != null)) {
+ this.Child.ShowAll ();
+ }
+ this.Hide ();
+ }
+ }
+}
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.TeamsTemplatesPanel.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.TeamsTemplatesPanel.cs
new file mode 100644
index 0000000..449d1a2
--- /dev/null
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.TeamsTemplatesPanel.cs
@@ -0,0 +1,192 @@
+
+// This file has been generated by the GUI designer. Do not modify.
+namespace LongoMatch.Gui.Panel
+{
+ public partial class TeamsTemplatesPanel
+ {
+ private global::Gtk.VBox vbox3;
+ private global::Gtk.HBox hbox1;
+ private global::Gtk.VBox teamsvbox;
+ private global::Gtk.Frame frame4;
+ private global::Gtk.Alignment GtkAlignment7;
+ private global::Gtk.ScrolledWindow GtkScrolledWindow1;
+ private global::Gtk.TreeView teamstreeview;
+ private global::Gtk.Label GtkLabel7;
+ private global::Gtk.HButtonBox hbuttonbox4;
+ private global::Gtk.Button newteam;
+ private global::Gtk.Button deleteteambutton;
+ private global::Gtk.VSeparator vseparator2;
+ private global::LongoMatch.Gui.Component.TeamTemplateEditor teamtemplateeditor1;
+ private global::Gtk.HButtonBox hbuttonbox3;
+ private global::Gtk.Button backbutton;
+
+ protected virtual void Build ()
+ {
+ global::Stetic.Gui.Initialize (this);
+ // Widget LongoMatch.Gui.Panel.TeamsTemplatesPanel
+ global::Stetic.BinContainer.Attach (this);
+ this.Name = "LongoMatch.Gui.Panel.TeamsTemplatesPanel";
+ // Container child
LongoMatch.Gui.Panel.TeamsTemplatesPanel.Gtk.Container+ContainerChild
+ this.vbox3 = new global::Gtk.VBox ();
+ this.vbox3.Name = "vbox3";
+ this.vbox3.Spacing = 6;
+ // Container child vbox3.Gtk.Box+BoxChild
+ this.hbox1 = new global::Gtk.HBox ();
+ this.hbox1.Name = "hbox1";
+ this.hbox1.Spacing = 6;
+ // Container child hbox1.Gtk.Box+BoxChild
+ this.teamsvbox = new global::Gtk.VBox ();
+ this.teamsvbox.WidthRequest = 280;
+ this.teamsvbox.Name = "teamsvbox";
+ this.teamsvbox.Spacing = 6;
+ // Container child teamsvbox.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.GtkAlignment7 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
+ this.GtkAlignment7.Name = "GtkAlignment7";
+ this.GtkAlignment7.LeftPadding = ((uint)(12));
+ // Container child GtkAlignment7.Gtk.Container+ContainerChild
+ this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
+ this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
+ this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
+ // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
+ this.teamstreeview = new global::Gtk.TreeView ();
+ this.teamstreeview.CanFocus = true;
+ this.teamstreeview.Name = "teamstreeview";
+ this.GtkScrolledWindow1.Add (this.teamstreeview);
+ this.GtkAlignment7.Add (this.GtkScrolledWindow1);
+ this.frame4.Add (this.GtkAlignment7);
+ this.GtkLabel7 = new global::Gtk.Label ();
+ this.GtkLabel7.Name = "GtkLabel7";
+ this.GtkLabel7.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Teams</b>");
+ this.GtkLabel7.UseMarkup = true;
+ this.frame4.LabelWidget = this.GtkLabel7;
+ this.teamsvbox.Add (this.frame4);
+ global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.teamsvbox
[this.frame4]));
+ w4.Position = 0;
+ // Container child teamsvbox.Gtk.Box+BoxChild
+ this.hbuttonbox4 = new global::Gtk.HButtonBox ();
+ this.hbuttonbox4.Name = "hbuttonbox4";
+ // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild
+ this.newteam = new global::Gtk.Button ();
+ this.newteam.CanFocus = true;
+ this.newteam.Name = "newteam";
+ this.newteam.UseUnderline = true;
+ // Container child newteam.Gtk.Container+ContainerChild
+ global::Gtk.Alignment w5 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
+ global::Gtk.HBox w6 = new global::Gtk.HBox ();
+ w6.Spacing = 2;
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Image w7 = new global::Gtk.Image ();
+ w7.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add",
global::Gtk.IconSize.Dialog);
+ w6.Add (w7);
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Label w9 = new global::Gtk.Label ();
+ w9.LabelProp = global::Mono.Unix.Catalog.GetString ("New team");
+ w9.UseUnderline = true;
+ w6.Add (w9);
+ w5.Add (w6);
+ this.newteam.Add (w5);
+ this.hbuttonbox4.Add (this.newteam);
+ global::Gtk.ButtonBox.ButtonBoxChild w13 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4 [this.newteam]));
+ w13.Expand = false;
+ w13.Fill = false;
+ // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild
+ this.deleteteambutton = new global::Gtk.Button ();
+ this.deleteteambutton.CanFocus = true;
+ this.deleteteambutton.Name = "deleteteambutton";
+ this.deleteteambutton.UseUnderline = true;
+ // Container child deleteteambutton.Gtk.Container+ContainerChild
+ global::Gtk.Alignment w14 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
+ global::Gtk.HBox w15 = new global::Gtk.HBox ();
+ w15.Spacing = 2;
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Image w16 = new global::Gtk.Image ();
+ w16.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-remove",
global::Gtk.IconSize.Dialog);
+ w15.Add (w16);
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Label w18 = new global::Gtk.Label ();
+ w18.LabelProp = global::Mono.Unix.Catalog.GetString ("Delete");
+ w18.UseUnderline = true;
+ w15.Add (w18);
+ w14.Add (w15);
+ this.deleteteambutton.Add (w14);
+ this.hbuttonbox4.Add (this.deleteteambutton);
+ global::Gtk.ButtonBox.ButtonBoxChild w22 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4 [this.deleteteambutton]));
+ w22.Position = 1;
+ w22.Expand = false;
+ w22.Fill = false;
+ this.teamsvbox.Add (this.hbuttonbox4);
+ global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.teamsvbox
[this.hbuttonbox4]));
+ w23.Position = 1;
+ w23.Expand = false;
+ w23.Fill = false;
+ this.hbox1.Add (this.teamsvbox);
+ global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox1
[this.teamsvbox]));
+ w24.Position = 0;
+ w24.Expand = false;
+ w24.Fill = false;
+ // Container child hbox1.Gtk.Box+BoxChild
+ this.vseparator2 = new global::Gtk.VSeparator ();
+ this.vseparator2.Name = "vseparator2";
+ this.hbox1.Add (this.vseparator2);
+ global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox1
[this.vseparator2]));
+ w25.Position = 1;
+ w25.Expand = false;
+ w25.Fill = false;
+ // Container child hbox1.Gtk.Box+BoxChild
+ this.teamtemplateeditor1 = new global::LongoMatch.Gui.Component.TeamTemplateEditor ();
+ this.teamtemplateeditor1.Events = ((global::Gdk.EventMask)(256));
+ this.teamtemplateeditor1.Name = "teamtemplateeditor1";
+ this.hbox1.Add (this.teamtemplateeditor1);
+ global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox1
[this.teamtemplateeditor1]));
+ w26.Position = 2;
+ this.vbox3.Add (this.hbox1);
+ global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1]));
+ w27.Position = 0;
+ // Container child vbox3.Gtk.Box+BoxChild
+ this.hbuttonbox3 = new global::Gtk.HButtonBox ();
+ this.hbuttonbox3.Name = "hbuttonbox3";
+ this.hbuttonbox3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
+ // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild
+ this.backbutton = new global::Gtk.Button ();
+ this.backbutton.CanFocus = true;
+ this.backbutton.Name = "backbutton";
+ this.backbutton.UseUnderline = true;
+ // Container child backbutton.Gtk.Container+ContainerChild
+ global::Gtk.Alignment w28 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
+ global::Gtk.HBox w29 = new global::Gtk.HBox ();
+ w29.Spacing = 2;
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Image w30 = new global::Gtk.Image ();
+ w30.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-back",
global::Gtk.IconSize.Dialog);
+ w29.Add (w30);
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Label w32 = new global::Gtk.Label ();
+ w32.LabelProp = global::Mono.Unix.Catalog.GetString ("_Back");
+ w32.UseUnderline = true;
+ w29.Add (w32);
+ w28.Add (w29);
+ this.backbutton.Add (w28);
+ this.hbuttonbox3.Add (this.backbutton);
+ global::Gtk.ButtonBox.ButtonBoxChild w36 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3 [this.backbutton]));
+ w36.Expand = false;
+ w36.Fill = false;
+ this.vbox3.Add (this.hbuttonbox3);
+ global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox3
[this.hbuttonbox3]));
+ w37.Position = 1;
+ w37.Expand = false;
+ w37.Fill = false;
+ this.Add (this.vbox3);
+ if ((this.Child != null)) {
+ this.Child.ShowAll ();
+ }
+ this.Hide ();
+ }
+ }
+}
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.WelcomePanel.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.WelcomePanel.cs
index 4419a43..e101721 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.WelcomePanel.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.WelcomePanel.cs
@@ -48,6 +48,7 @@ namespace LongoMatch.Gui.Panel
w2.Fill = false;
// Container child vbox1.Gtk.Box+BoxChild
this.hbuttonbox1 = new global::Gtk.HButtonBox ();
+ this.hbuttonbox1.Name = "hbuttonbox1";
this.hbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(1));
// Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
this.newbutton = new global::Gtk.Button ();
diff --git a/LongoMatch.GUI/gtk-gui/gui.stetic b/LongoMatch.GUI/gtk-gui/gui.stetic
index 2e1b799..ee8303d 100644
--- a/LongoMatch.GUI/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI/gtk-gui/gui.stetic
@@ -10,796 +10,6 @@
<widget-library name="../../bin/LongoMatch.dll" />
<widget-library name="../../bin/LongoMatch.Gui.dll" internal="true" />
</import>
- <widget class="Gtk.Bin" id="LongoMatch.Gui.Component.ProjectDetailsWidget" design-size="402 476">
- <property name="MemberName" />
- <child>
- <widget class="Gtk.VBox" id="vbox2">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Table" id="table1">
- <property name="MemberName" />
- <property name="NRows">9</property>
- <property name="NColumns">2</property>
- <property name="RowSpacing">6</property>
- <property name="ColumnSpacing">6</property>
- <child>
- <widget class="Gtk.Entry" id="competitionentry">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">â—</property>
- <signal name="Changed" handler="OnEdited" />
- </widget>
- <packing>
- <property name="TopAttach">4</property>
- <property name="BottomAttach">5</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.Label" id="Competitionlabel">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Competition:</property>
- </widget>
- <packing>
- <property name="TopAttach">4</property>
- <property name="BottomAttach">5</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.HBox" id="filehbox">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Entry" id="fileEntry">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">False</property>
- <property name="InvisibleChar">â—</property>
- <signal name="Changed" handler="OnEdited" />
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="openbutton">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-open</property>
- <signal name="Clicked" handler="OnOpenbuttonClicked" />
- <property name="label">gtk-open</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- <property name="Expand">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="TopAttach">7</property>
- <property name="BottomAttach">8</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">False</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="filelabel">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">File:</property>
- </widget>
- <packing>
- <property name="TopAttach">7</property>
- <property name="BottomAttach">8</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.HBox" id="hbox1">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.ComboBox" id="localcombobox">
- <property name="MemberName" />
- <property name="IsTextCombo">True</property>
- <property name="Items" translatable="yes" />
- <signal name="Changed" handler="OnLocalcomboboxChanged" />
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="localteamlabel">
- <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.Button" id="localtemplatebutton">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-edit</property>
- <signal name="Clicked" handler="OnLocaltemplatebuttonClicked" />
- <property name="label">gtk-edit</property>
- </widget>
- <packing>
- <property name="PackType">End</property>
- <property name="Position">2</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <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.HBox" id="hbox2">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.ComboBox" id="visitorcombobox">
- <property name="MemberName" />
- <property name="IsTextCombo">True</property>
- <property name="Items" translatable="yes" />
- <signal name="Changed" handler="OnVisitorcomboboxChanged" />
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="visitorteamlabel">
- <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.Button" id="visitorbutton">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-edit</property>
- <signal name="Clicked" handler="OnVisitorbuttonClicked" />
- <property name="label">gtk-edit</property>
- </widget>
- <packing>
- <property name="PackType">End</property>
- <property name="Position">2</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">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.HBox" id="hbox3">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.ComboBox" id="tagscombobox">
- <property name="MemberName" />
- <property name="IsTextCombo">True</property>
- <property name="Items" translatable="yes" />
- <signal name="Changed" handler="OnCombobox1Changed" />
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="editbutton">
- <property name="MemberName" />
- <property name="Visible">False</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-edit</property>
- <signal name="Clicked" handler="OnEditbuttonClicked" />
- <property name="label">gtk-edit</property>
- </widget>
- <packing>
- <property name="PackType">End</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="TopAttach">5</property>
- <property name="BottomAttach">6</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.HBox" id="hbox4">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.SpinButton" id="localSpinButton">
- <property name="MemberName">localSpinButton</property>
- <property name="CanFocus">True</property>
- <property name="Upper">1000</property>
- <property name="PageIncrement">10</property>
- <property name="StepIncrement">1</property>
- <property name="ClimbRate">1</property>
- <property name="Numeric">True</property>
- <signal name="ValueChanged" handler="OnEdited" />
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label1">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">-</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.SpinButton" id="visitorSpinButton">
- <property name="MemberName">visitorSpinButton</property>
- <property name="CanFocus">True</property>
- <property name="Upper">1000</property>
- <property name="PageIncrement">10</property>
- <property name="StepIncrement">1</property>
- <property name="ClimbRate">1</property>
- <property name="Numeric">True</property>
- <signal name="ValueChanged" handler="OnEdited" />
- </widget>
- <packing>
- <property name="Position">2</property>
- <property name="AutoSize">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </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>
- <child>
- <widget class="Gtk.HBox" id="hbox5">
- <property name="MemberName" />
- <child>
- <widget class="Gtk.Entry" id="dateEntry">
- <property name="MemberName">dateEntry</property>
- <property name="CanFocus">True</property>
- <property name="IsEditable">False</property>
- <property name="InvisibleChar">â—</property>
- <signal name="Changed" handler="OnEdited" />
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="calendarbutton">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:stock_calendar Button</property>
- <property name="Label" translatable="yes">_Calendar</property>
- <property name="UseUnderline">True</property>
- <signal name="Clicked" handler="OnCalendarbuttonClicked" />
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="TopAttach">6</property>
- <property name="BottomAttach">7</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">False</property>
- <property name="YOptions">0</property>
- <property name="XExpand">True</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="label10">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Visitor Team:</property>
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="AutoSize">False</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label11">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Score:</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="label5">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Date:</property>
- </widget>
- <packing>
- <property name="TopAttach">6</property>
- <property name="BottomAttach">7</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="label8">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Local Team:</property>
- </widget>
- <packing>
- <property name="AutoSize">False</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="label9">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Categories Template:</property>
- </widget>
- <packing>
- <property name="TopAttach">5</property>
- <property name="BottomAttach">6</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.Entry" id="seasonentry">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">â—</property>
- <signal name="Changed" handler="OnEdited" />
- </widget>
- <packing>
- <property name="TopAttach">3</property>
- <property name="BottomAttach">4</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.Label" id="seasonlabel">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Season:</property>
- </widget>
- <packing>
- <property name="TopAttach">3</property>
- <property name="BottomAttach">4</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="urientry">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">True</property>
- <property name="InvisibleChar">•</property>
- </widget>
- <packing>
- <property name="TopAttach">8</property>
- <property name="BottomAttach">9</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.Label" id="urilabel">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">URL:</property>
- </widget>
- <packing>
- <property name="TopAttach">8</property>
- <property name="BottomAttach">9</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">0</property>
- <property name="AutoSize">False</property>
- <property name="Expand">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Expander" id="expander1">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Expanded">True</property>
- <child>
- <widget class="Gtk.Table" id="table2">
- <property name="MemberName" />
- <property name="NRows">4</property>
- <property name="NColumns">2</property>
- <property name="RowSpacing">6</property>
- <property name="ColumnSpacing">6</property>
- <child>
- <widget class="Gtk.Label" id="device">
- <property name="MemberName" />
- <property name="Visible">False</property>
- <property name="LabelProp" translatable="yes">Device:</property>
- </widget>
- <packing>
- <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.ComboBox" id="devicecombobox">
- <property name="MemberName" />
- <property name="IsTextCombo">True</property>
- <property name="Items" translatable="yes" />
- </widget>
- <packing>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">False</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.ComboBox" id="encodingcombobox">
- <property name="MemberName" />
- <property name="IsTextCombo">True</property>
- <property name="Items" translatable="yes" />
- </widget>
- <packing>
- <property name="TopAttach">1</property>
- <property name="BottomAttach">2</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">False</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.ComboBox" id="imagecombobox">
- <property name="MemberName" />
- <property name="IsTextCombo">True</property>
- <property name="Items" translatable="yes" />
- </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="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="label2">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Quality:</property>
- </widget>
- <packing>
- <property name="TopAttach">3</property>
- <property name="BottomAttach">4</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.ComboBox" id="qualitycombobox">
- <property name="MemberName" />
- <property name="IsTextCombo">True</property>
- <property name="Items" translatable="yes" />
- </widget>
- <packing>
- <property name="TopAttach">3</property>
- <property name="BottomAttach">4</property>
- <property name="LeftAttach">1</property>
- <property name="RightAttach">2</property>
- <property name="AutoSize">False</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">True</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="sizelabel">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Image format:</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="videoformatlabel">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Encoding format:</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>
- </widget>
- </child>
- <child>
- <widget class="Gtk.Label" id="GtkLabel5">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Video encoding properties</property>
- <property name="UseUnderline">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>
<widget class="Gtk.Bin" id="LongoMatch.Gui.Component.ProjectListWidget" design-size="572 300">
<property name="MemberName" />
<child>
@@ -988,571 +198,6 @@
</widget>
</child>
</widget>
- <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.ProjectsManager" design-size="833 538">
- <property name="MemberName" />
- <property name="Title" translatable="yes">Projects Manager</property>
- <property name="Icon">stock:longomatch Dialog</property>
- <property name="WindowPosition">CenterOnParent</property>
- <property name="Modal">True</property>
- <property name="Gravity">Center</property>
- <property name="SkipPagerHint">True</property>
- <property name="SkipTaskbarHint">True</property>
- <property name="Buttons">1</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="dialog1_VBox">
- <property name="MemberName" />
- <property name="BorderWidth">2</property>
- <child>
- <widget class="Gtk.VBox" id="dialog1_VBox1">
- <property name="MemberName" />
- <property name="BorderWidth">2</property>
- <child>
- <widget class="Gtk.HBox" id="hbox2">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.HPaned" id="hpaned1">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Position">349</property>
- <child>
- <widget class="LongoMatch.Gui.Component.ProjectListWidget" id="projectlistwidget1">
- <property name="MemberName" />
- <property name="Events">ButtonPressMask</property>
- <signal name="ProjectsSelected" handler="OnProjectlistwidget1ProjectsSelected" />
- </widget>
- <packing>
- <property name="Resize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.ScrolledWindow" id="scrolledwindow3">
- <property name="MemberName" />
- <property name="CanFocus">True</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="vbox3">
- <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="LongoMatch.Gui.Component.ProjectDetailsWidget"
id="projectdetails">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="Events">ButtonPressMask</property>
- <property name="Edited">False</property>
- <property name="LocalGoals">0</property>
- <property name="VisitorGoals">0</property>
- <property name="Date">0</property>
- <signal name="EditedEvent" handler="OnProjectdetailsEditedEvent"
/>
- </widget>
- </child>
- </widget>
- </child>
- <child>
- <widget class="Gtk.Label" id="GtkLabel7">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes"><b>Project
Details</b></property>
- <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.Button" id="saveButton">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="Tooltip" translatable="yes">Save the selected
project</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-save</property>
- <signal name="Pressed" handler="OnSaveButtonPressed" />
- <property name="label">gtk-save</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="deleteButton">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="Tooltip" translatable="yes">Delete the selected
project</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-delete</property>
- <signal name="Pressed" handler="OnDeleteButtonPressed" />
- <property name="label">gtk-delete</property>
- </widget>
- <packing>
- <property name="Position">2</property>
- <property name="AutoSize">False</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>
- <property name="Tooltip" translatable="yes">Export the selected project
to a file</property>
- <property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:stock_export Menu</property>
- <property name="Label" translatable="yes">_Export</property>
- <property name="UseUnderline">True</property>
- <signal name="Clicked" handler="OnExportbuttonClicked" />
- </widget>
- <packing>
- <property name="Position">3</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HSeparator" id="hseparator3">
- <property name="MemberName" />
- </widget>
- <packing>
- <property name="PackType">End</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">0</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">5</property>
- <property name="Size">1</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="buttonOk">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-quit</property>
- <property name="ResponseId">0</property>
- <signal name="Clicked" handler="OnButtonOkClicked" />
- <property name="label">gtk-quit</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.OpenProjectDialog" design-size="615 359">
- <property name="MemberName" />
- <property name="Title" translatable="yes">Open Project</property>
- <property name="Icon">stock:longomatch Dialog</property>
- <property name="WindowPosition">CenterOnParent</property>
- <property name="Modal">True</property>
- <property name="Gravity">Center</property>
- <property name="SkipPagerHint">True</property>
- <property name="SkipTaskbarHint">True</property>
- <property name="Buttons">2</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="dialog1_VBox">
- <property name="MemberName" />
- <property name="BorderWidth">2</property>
- <child>
- <widget class="LongoMatch.Gui.Component.ProjectListWidget" id="projectlistwidget">
- <property name="MemberName">projectlistwidget</property>
- <property name="Events">ButtonPressMask</property>
- <signal name="ProjectsSelected" handler="OnProjectlistwidgetProjectsSelected" />
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">5</property>
- <property name="Size">2</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="buttonCancel">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-cancel</property>
- <property name="ResponseId">-6</property>
- <property name="label">gtk-cancel</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonOk">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-open</property>
- <property name="ResponseId">-5</property>
- <property name="label">gtk-open</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.NewProjectDialog" design-size="405 579">
- <property name="MemberName" />
- <property name="Title" translatable="yes">New Project</property>
- <property name="Icon">stock:longomatch Dialog</property>
- <property name="WindowPosition">CenterOnParent</property>
- <property name="Modal">True</property>
- <property name="DestroyWithParent">True</property>
- <property name="Gravity">Center</property>
- <property name="SkipPagerHint">True</property>
- <property name="SkipTaskbarHint">True</property>
- <property name="Buttons">2</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="dialog1_VBox">
- <property name="MemberName" />
- <property name="BorderWidth">2</property>
- <child>
- <widget class="LongoMatch.Gui.Component.ProjectDetailsWidget" id="fdwidget">
- <property name="MemberName">fdwidget</property>
- <property name="Edited">False</property>
- <property name="LocalGoals">0</property>
- <property name="VisitorGoals">0</property>
- <property name="Date">0</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">5</property>
- <property name="Size">2</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="buttonCancel">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-cancel</property>
- <property name="ResponseId">-6</property>
- <property name="label">gtk-cancel</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonOk">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-ok</property>
- <property name="ResponseId">-5</property>
- <property name="label">gtk-ok</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <widget class="Gtk.Bin" id="LongoMatch.Gui.Base.TemplatesEditorBase" design-size="794 268">
- <property name="MemberName" />
- <property name="WidthRequest">400</property>
- <signal name="KeyPressEvent" handler="OnKeyPressEvent" />
- <child>
- <widget class="Gtk.Notebook" id="notebook">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="CurrentPage">0</property>
- <child>
- <widget class="Gtk.HBox" id="hbox1">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.VBox" id="mainbox">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.ScrolledWindow" id="scrolledwindow2">
- <property name="MemberName" />
- <property name="CanFocus">True</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.ScrolledWindow" id="scrolledwindow">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
- <child>
- <widget class="Gtk.Viewport" id="GtkViewport1">
- <property name="MemberName" />
- <property name="ShadowType">None</property>
- <child>
- <placeholder />
- </child>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.VBox" id="vbox2">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.VBox" id="upbox">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <placeholder />
- </child>
- </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.Button" id="newprevbutton">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="Tooltip" translatable="yes">Insert a new category before the selected
one</property>
- <property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-goto-top Menu</property>
- <property name="Label" translatable="yes">New Before</property>
- <property name="UseUnderline">True</property>
- <signal name="Clicked" handler="OnNewBefore" />
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="newafterbutton">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="Tooltip" translatable="yes">Insert a new category after the selected
one</property>
- <property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-goto-bottom Menu</property>
- <property name="Label" translatable="yes">New After</property>
- <property name="UseUnderline">True</property>
- <signal name="Clicked" handler="OnNewAfter" />
- <signal name="Activated" handler="OnNewBefore" />
- </widget>
- <packing>
- <property name="Position">2</property>
- <property name="AutoSize">False</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="removebutton">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="Tooltip" translatable="yes">Remove the selected category</property>
- <property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-remove Menu</property>
- <property name="Label" translatable="yes">Remove</property>
- <property name="UseUnderline">True</property>
- <signal name="Clicked" handler="OnRemove" />
- </widget>
- <packing>
- <property name="Position">3</property>
- <property name="AutoSize">False</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="editbutton">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="Tooltip" translatable="yes">Edit the selected category</property>
- <property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-edit Menu</property>
- <property name="Label" translatable="yes">Edit</property>
- <property name="UseUnderline">True</property>
- <signal name="Clicked" handler="OnEdit" />
- </widget>
- <packing>
- <property name="Position">4</property>
- <property name="AutoSize">False</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="Visible">False</property>
- <property name="Tooltip" translatable="yes">Export the template to a file</property>
- <property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-save-as Menu</property>
- <property name="Label" translatable="yes">Export</property>
- <property name="UseUnderline">True</property>
- <signal name="Clicked" handler="OnExportbuttonClicked" />
- </widget>
- <packing>
- <property name="PackType">End</property>
- <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.HSeparator" id="hseparator1">
- <property name="MemberName" />
- <property name="Visible">False</property>
- </widget>
- <packing>
- <property name="PackType">End</property>
- <property name="Position">6</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- <child>
- <widget class="Gtk.Label" id="label1">
- <property name="MemberName" />
- </widget>
- <packing>
- <property name="type">tab</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
<widget class="Gtk.Window" id="LongoMatch.Gui.MainWindow" design-size="938 604">
<action-group name="Default">
<action id="FileAction">
@@ -2701,62 +1346,6 @@ Sort by duration</property>
</widget>
</child>
</widget>
- <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.TemplateEditorDialog" design-size="713 373">
- <property name="MemberName" />
- <property name="Title" translatable="yes">Categories Template</property>
- <property name="Icon">stock:longomatch Dialog</property>
- <property name="WindowPosition">CenterOnParent</property>
- <property name="Modal">True</property>
- <property name="Gravity">Center</property>
- <property name="SkipPagerHint">True</property>
- <property name="SkipTaskbarHint">True</property>
- <property name="Buttons">1</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="dialog1_VBox">
- <property name="MemberName" />
- <property name="BorderWidth">2</property>
- <child>
- <widget class="Gtk.HBox" id="templateeditorbox">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <placeholder />
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">5</property>
- <property name="Size">1</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="buttonOk">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-apply</property>
- <property name="ResponseId">-10</property>
- <property name="label">gtk-apply</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
<widget class="Gtk.Bin" id="LongoMatch.Gui.Component.PlayListWidget" design-size="291 447">
<property name="MemberName" />
<property name="WidthRequest">100</property>
@@ -4396,166 +2985,6 @@ No</property>
</widget>
</child>
</widget>
- <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.TemplatesManager" design-size="866 336">
- <property name="MemberName" />
- <property name="Title" translatable="yes">Templates Manager</property>
- <property name="Icon">stock:longomatch Dialog</property>
- <property name="WindowPosition">CenterOnParent</property>
- <property name="Modal">True</property>
- <property name="Gravity">Center</property>
- <property name="SkipPagerHint">True</property>
- <property name="SkipTaskbarHint">True</property>
- <property name="Buttons">1</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="dialog1_VBox">
- <property name="MemberName" />
- <property name="BorderWidth">2</property>
- <child>
- <widget class="Gtk.HPaned" id="hpaned1">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Position">144</property>
- <child>
- <widget class="Gtk.VBox" id="vbox2">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.ScrolledWindow" id="scrolledwindow2">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
- <child>
- <widget class="Gtk.TreeView" id="treeview">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <signal name="RowActivated" handler="OnTreeviewRowActivated" />
- <signal name="CursorChanged" handler="OnTreeviewCursorChanged" />
- </widget>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HBox" id="hbox2">
- <property name="MemberName" />
- <property name="Homogeneous">True</property>
- <child>
- <widget class="Gtk.Button" id="newbutton">
- <property name="MemberName" />
- <property name="Tooltip" translatable="yes">Create a new template</property>
- <property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-new Button</property>
- <property name="Label" translatable="yes" />
- <property name="UseUnderline">True</property>
- <signal name="Clicked" handler="OnNewbuttonClicked" />
- </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.Button" id="deletebutton">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="Tooltip" translatable="yes">Delete this template</property>
- <property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-delete Button</property>
- <property name="Label" translatable="yes" />
- <property name="UseUnderline">True</property>
- <signal name="Clicked" handler="OnDeletebuttonClicked" />
- </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.Button" id="savebutton">
- <property name="MemberName" />
- <property name="Sensitive">False</property>
- <property name="Tooltip" translatable="yes">Save this template</property>
- <property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-save Button</property>
- <property name="Label" translatable="yes" />
- <property name="UseUnderline">True</property>
- <signal name="Clicked" handler="OnSavebuttonClicked" />
- </widget>
- <packing>
- <property name="Position">2</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Resize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HBox" id="templateditorbox">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <placeholder />
- </child>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">5</property>
- <property name="Size">1</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="buttonOk">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-quit</property>
- <property name="ResponseId">0</property>
- <signal name="Clicked" handler="OnButtonOkClicked" />
- <property name="label">gtk-quit</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
<widget class="Gtk.Bin" id="LongoMatch.Gui.Component.PlayersListTreeWidget" design-size="300 300">
<property name="MemberName" />
<child>
@@ -5058,58 +3487,6 @@ Show-><b> S</b>
</widget>
</child>
</widget>
- <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.EditPlayerDialog" design-size="257 355">
- <property name="MemberName" />
- <property name="Title" translatable="yes">Player Details</property>
- <property name="Icon">resource:logo.svg</property>
- <property name="WindowPosition">CenterOnParent</property>
- <property name="Modal">True</property>
- <property name="SkipPagerHint">True</property>
- <property name="SkipTaskbarHint">True</property>
- <property name="Buttons">1</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="dialog1_VBox">
- <property name="MemberName" />
- <property name="BorderWidth">2</property>
- <child>
- <widget class="LongoMatch.Gui.Component.PlayerProperties" id="playerproperties1">
- <property name="MemberName" />
- <property name="Events">ButtonPressMask</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">5</property>
- <property name="Size">1</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="buttonOk">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-ok</property>
- <property name="ResponseId">-5</property>
- <property name="label">gtk-ok</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
<widget class="Gtk.Bin" id="LongoMatch.Gui.Component.DrawingWidget" design-size="300 300">
<property name="MemberName" />
<property name="Visible">False</property>
@@ -5574,235 +3951,6 @@ Show-><b> S</b>
</widget>
</child>
</widget>
- <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.ProjectSelectionDialog" design-size="348 220">
- <property name="MemberName" />
- <property name="Title" translatable="yes">New Project</property>
- <property name="Icon">stock:longomatch Menu</property>
- <property name="WindowPosition">CenterOnParent</property>
- <property name="Modal">True</property>
- <property name="Gravity">Center</property>
- <property name="SkipPagerHint">True</property>
- <property name="SkipTaskbarHint">True</property>
- <property name="Buttons">2</property>
- <property name="HelpButton">False</property>
- <child internal-child="VBox">
- <widget class="Gtk.VBox" id="dialog1_VBox">
- <property name="MemberName" />
- <property name="BorderWidth">2</property>
- <child>
- <widget class="Gtk.VBox" id="vbox2">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.HBox" id="hbox1">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.RadioButton" id="fromfileradiobutton">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Label" translatable="yes">New project using a video file</property>
- <property name="DrawIndicator">True</property>
- <property name="HasLabel">True</property>
- <property name="UseUnderline">True</property>
- <property name="FocusOnClick">False</property>
- <property name="Group">project</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Image" id="image61">
- <property name="MemberName" />
- <property name="Pixbuf">resource:video.png</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </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.HBox" id="hbox2">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.RadioButton" id="liveradiobutton">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Label" translatable="yes">Live project using a capture device</property>
- <property name="DrawIndicator">True</property>
- <property name="HasLabel">True</property>
- <property name="UseUnderline">True</property>
- <property name="Group">project</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Image" id="image63">
- <property name="MemberName" />
- <property name="Pixbuf">resource:camera-video.png</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.HBox" id="hbox3">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.RadioButton" id="fakeliveradiobutton">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Label" translatable="yes">Live project using a fake capture
device</property>
- <property name="DrawIndicator">True</property>
- <property name="HasLabel">True</property>
- <property name="UseUnderline">True</property>
- <property name="Group">project</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Image" id="image62">
- <property name="MemberName" />
- <property name="Pixbuf">resource:camera-video.png</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </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.HBox" id="ipcamerabox">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.RadioButton" id="uriliveradiobutton">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Label" translatable="yes">Live project using an IP camera</property>
- <property name="DrawIndicator">True</property>
- <property name="HasLabel">True</property>
- <property name="UseUnderline">True</property>
- <property name="Group">project</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Image" id="image64">
- <property name="MemberName" />
- <property name="Pixbuf">resource:camera-video.png</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="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">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- <child internal-child="ActionArea">
- <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <property name="BorderWidth">5</property>
- <property name="Size">2</property>
- <property name="LayoutStyle">End</property>
- <child>
- <widget class="Gtk.Button" id="buttonCancel">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-cancel</property>
- <property name="ResponseId">-6</property>
- <property name="label">gtk-cancel</property>
- </widget>
- <packing>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="buttonOk">
- <property name="MemberName" />
- <property name="CanDefault">True</property>
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-ok</property>
- <property name="ResponseId">-5</property>
- <property name="label">gtk-ok</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
<widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.EndCaptureDialog" design-size="566 178">
<property name="MemberName" />
<property name="Title" translatable="yes" />
@@ -9746,6 +7894,7 @@ Defining <b> Game Units </b> will help you during the analysis to in
<property name="MemberName" />
<property name="CanFocus">True</property>
<property name="Label" translatable="yes">New project using a video
file</property>
+ <property name="Active">True</property>
<property name="DrawIndicator">True</property>
<property name="HasLabel">True</property>
<property name="UseUnderline">True</property>
@@ -10853,4 +9002,1502 @@ Defining <b> Game Units </b> will help you during the analysis to in
</widget>
</child>
</widget>
+ <widget class="Gtk.Bin" id="LongoMatch.Gui.Panel.TeamsTemplatesPanel" design-size="1123 552">
+ <property name="MemberName" />
+ <property name="Visible">False</property>
+ <child>
+ <widget class="Gtk.VBox" id="vbox3">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="Gtk.HBox" id="hbox1">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="Gtk.VBox" id="teamsvbox">
+ <property name="MemberName" />
+ <property name="WidthRequest">280</property>
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="Gtk.Frame" id="frame4">
+ <property name="MemberName" />
+ <property name="ShadowType">None</property>
+ <child>
+ <widget class="Gtk.Alignment" id="GtkAlignment7">
+ <property name="MemberName" />
+ <property name="Xalign">0</property>
+ <property name="Yalign">0</property>
+ <property name="LeftPadding">12</property>
+ <child>
+ <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow1">
+ <property name="MemberName" />
+ <property name="ShadowType">In</property>
+ <child>
+ <widget class="Gtk.TreeView" id="teamstreeview">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="ShowScrollbars">True</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="GtkLabel7">
+ <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>
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">True</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.HButtonBox" id="hbuttonbox4">
+ <property name="MemberName" />
+ <property name="Size">2</property>
+ <child>
+ <widget class="Gtk.Button" id="newteam">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:gtk-add Dialog</property>
+ <property name="Label" translatable="yes">New team</property>
+ <property name="UseUnderline">True</property>
+ </widget>
+ <packing>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Button" id="deleteteambutton">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:gtk-remove Dialog</property>
+ <property name="Label" translatable="yes">Delete</property>
+ <property name="UseUnderline">True</property>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">False</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </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.VSeparator" id="vseparator2">
+ <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="LongoMatch.Gui.Component.TeamTemplateEditor" id="teamtemplateeditor1">
+ <property name="MemberName" />
+ <property name="Events">ButtonPressMask</property>
+ </widget>
+ <packing>
+ <property name="Position">2</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.HButtonBox" id="hbuttonbox3">
+ <property name="MemberName" />
+ <property name="Size">1</property>
+ <property name="LayoutStyle">Start</property>
+ <child>
+ <widget class="Gtk.Button" id="backbutton">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:gtk-go-back Dialog</property>
+ <property name="Label" translatable="yes">_Back</property>
+ <property name="UseUnderline">True</property>
+ </widget>
+ <packing>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">False</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ <widget class="Gtk.Bin" id="LongoMatch.Gui.Component.TeamTemplateEditor" design-size="841 514">
+ <property name="MemberName" />
+ <property name="Visible">False</property>
+ <child>
+ <widget class="Gtk.VBox" id="vbox3">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="Gtk.HBox" id="hbox4">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="Gtk.VBox" id="vbox5">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="Gtk.HBox" id="hbox2">
+ <property name="MemberName" />
+ <property name="Spacing">50</property>
+ <child>
+ <widget class="Gtk.Frame" id="frame1">
+ <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.EventBox" id="shieldeventbox">
+ <property name="MemberName" />
+ <child>
+ <widget class="Gtk.Image" id="shieldimage">
+ <property name="MemberName" />
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="shield">
+ <property name="MemberName" />
+ <property name="LabelProp"
translatable="yes"><b>Shield</b></property>
+ <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>
+ <property name="Expand">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Frame" id="frame6">
+ <property name="MemberName" />
+ <property name="ShadowType">None</property>
+ <child>
+ <widget class="Gtk.Alignment" id="GtkAlignment3">
+ <property name="MemberName" />
+ <property name="Xalign">0</property>
+ <property name="Yalign">0</property>
+ <property name="LeftPadding">12</property>
+ <child>
+ <widget class="Gtk.Entry" id="teamnameentry">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="IsEditable">True</property>
+ <property name="InvisibleChar">•</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="GtkLabel4">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes"><b>Team
name</b></property>
+ <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">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </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.ScrolledWindow" id="GtkScrolledWindow">
+ <property name="MemberName" />
+ <property name="ShadowType">In</property>
+ <child>
+ <widget class="Gtk.IconView" id="playersiconview">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="ShowScrollbars">True</property>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">True</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">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.Frame" id="playerframe">
+ <property name="MemberName" />
+ <property name="ShadowType">None</property>
+ <child>
+ <widget class="Gtk.Alignment" id="GtkAlignment5">
+ <property name="MemberName" />
+ <property name="Xalign">0</property>
+ <property name="Yalign">0</property>
+ <property name="LeftPadding">12</property>
+ <child>
+ <widget class="Gtk.VBox" id="vbox6">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="Gtk.EventBox" id="playereventbox">
+ <property name="MemberName" />
+ <child>
+ <widget class="Gtk.Image" id="playerimage">
+ <property name="MemberName" />
+ </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.Table" id="table1">
+ <property name="MemberName" />
+ <property name="NRows">4</property>
+ <property name="NColumns">4</property>
+ <property name="RowSpacing">6</property>
+ <property name="ColumnSpacing">6</property>
+ <child>
+ <widget class="Gtk.HBox" id="hbox3">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="Gtk.Label" id="bdaylabel">
+ <property name="MemberName" />
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Button" id="datebutton">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="Type">TextOnly</property>
+ <property name="Label" translatable="yes">_Calendar</property>
+ <property name="UseUnderline">True</property>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="TopAttach">3</property>
+ <property name="BottomAttach">4</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.SpinButton" id="heightspinbutton">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="Upper">100</property>
+ <property name="PageIncrement">10</property>
+ <property name="StepIncrement">1</property>
+ <property name="ClimbRate">1</property>
+ <property name="Digits">2</property>
+ <property name="Numeric">True</property>
+ <property name="Value">18</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="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="label11">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes">Position:</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="Gtk.Label" id="label12">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes">Name:</property>
+ </widget>
+ <packing>
+ <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="label3">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes">Number:</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="LabelProp" translatable="yes">Height</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="label6">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes">Weight</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="label7">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes">Birth day</property>
+ </widget>
+ <packing>
+ <property name="TopAttach">3</property>
+ <property name="BottomAttach">4</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="label8">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes">Nationality</property>
+ </widget>
+ <packing>
+ <property name="TopAttach">2</property>
+ <property name="BottomAttach">3</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.Entry" id="mailentry">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="IsEditable">True</property>
+ <property name="InvisibleChar">•</property>
+ </widget>
+ <packing>
+ <property name="TopAttach">3</property>
+ <property name="BottomAttach">4</property>
+ <property name="LeftAttach">3</property>
+ <property name="RightAttach">4</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="maillabel">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes">E-mail:</property>
+ </widget>
+ <packing>
+ <property name="TopAttach">3</property>
+ <property name="BottomAttach">4</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.Entry" id="nameentry">
+ <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">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="nationalityentry">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="IsEditable">True</property>
+ <property name="InvisibleChar">â—</property>
+ </widget>
+ <packing>
+ <property name="TopAttach">2</property>
+ <property name="BottomAttach">3</property>
+ <property name="LeftAttach">3</property>
+ <property name="RightAttach">4</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.SpinButton" id="numberspinbutton">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="Upper">100</property>
+ <property name="PageIncrement">10</property>
+ <property name="StepIncrement">1</property>
+ <property name="ClimbRate">1</property>
+ <property name="Numeric">True</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>
+ <child>
+ <widget class="Gtk.Entry" id="positionentry">
+ <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="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.SpinButton" id="weightspinbutton">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="Upper">1000</property>
+ <property name="PageIncrement">10</property>
+ <property name="StepIncrement">1</property>
+ <property name="ClimbRate">1</property>
+ <property name="Numeric">True</property>
+ <property name="Value">80</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>
+ <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>
+ <child>
+ <widget class="Gtk.Label" id="GtkLabel3">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes"><b>Player
description</b></property>
+ <property name="UseMarkup">True</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">2</property>
+ <property name="AutoSize">False</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.HButtonBox" id="hbuttonbox2">
+ <property name="MemberName" />
+ <property name="Size">3</property>
+ <property name="LayoutStyle">Spread</property>
+ <child>
+ <widget class="Gtk.Button" id="savebutton">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:gtk-save Dialog</property>
+ <property name="Label" translatable="yes">Save template</property>
+ <property name="UseUnderline">True</property>
+ </widget>
+ <packing>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Button" id="newplayerbutton">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:gtk-new Dialog</property>
+ <property name="Label" translatable="yes">New player</property>
+ <property name="UseUnderline">True</property>
+ </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="deletebutton">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:gtk-delete Dialog</property>
+ <property name="Label" translatable="yes">Delete player</property>
+ <property name="UseUnderline">True</property>
+ </widget>
+ <packing>
+ <property name="Position">2</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </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>
+ <widget class="Gtk.Bin" id="LongoMatch.Gui.Panel.ProjectsManagerPanel" design-size="1070 557">
+ <property name="MemberName" />
+ <property name="Visible">False</property>
+ <child>
+ <widget class="Gtk.VBox" id="vbox3">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="Gtk.Notebook" id="notebook1">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="CurrentPage">0</property>
+ <child>
+ <widget class="Gtk.HBox" id="hbox4">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="LongoMatch.Gui.Component.ProjectListWidget" id="projectlistwidget1">
+ <property name="MemberName" />
+ <property name="Events">ButtonPressMask</property>
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">True</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.VBox" id="rbox">
+ <property name="MemberName" />
+ <property name="Visible">False</property>
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="Gtk.VBox" id="descbox">
+ <property name="MemberName" />
+ <property name="Visible">False</property>
+ <property name="Spacing">15</property>
+ <child>
+ <widget class="Gtk.Frame" id="frame5">
+ <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>
+ </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.Frame" id="frame4">
+ <property name="MemberName" />
+ <property name="ShadowType">None</property>
+ <child>
+ <widget class="Gtk.Alignment" id="GtkAlignment3">
+ <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>
+ <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">False</property>
+ <property name="XOptions">Expand</property>
+ <property name="YOptions">Fill</property>
+ <property name="XExpand">True</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="Competitionlabel">
+ <property name="MemberName" />
+ <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="Gtk.HBox" id="hbox5">
+ <property name="MemberName" />
+ <child>
+ <widget class="Gtk.Label" id="datelabel">
+ <property name="MemberName" />
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Button" id="calendarbutton">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:stock_calendar Button</property>
+ <property name="Label" translatable="yes">_Calendar</property>
+ <property name="UseUnderline">True</property>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">False</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="TopAttach">1</property>
+ <property name="BottomAttach">2</property>
+ <property name="LeftAttach">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.HBox" id="hbox9">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="Gtk.SpinButton" id="localSpinButton">
+ <property name="MemberName">localSpinButton</property>
+ <property name="CanFocus">True</property>
+ <property name="Upper">1000</property>
+ <property name="PageIncrement">10</property>
+ <property name="StepIncrement">1</property>
+ <property name="ClimbRate">1</property>
+ <property name="Numeric">True</property>
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="label2">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes">-</property>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.SpinButton" id="visitorSpinButton">
+ <property name="MemberName">visitorSpinButton</property>
+ <property name="CanFocus">True</property>
+ <property name="Upper">1000</property>
+ <property name="PageIncrement">10</property>
+ <property name="StepIncrement">1</property>
+ <property name="ClimbRate">1</property>
+ <property name="Numeric">True</property>
+ </widget>
+ <packing>
+ <property name="Position">2</property>
+ <property name="AutoSize">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="TopAttach">1</property>
+ <property name="BottomAttach">2</property>
+ <property name="LeftAttach">1</property>
+ <property name="RightAttach">2</property>
+ <property name="AutoSize">False</property>
+ <property name="XOptions">Fill</property>
+ <property name="YOptions">Fill</property>
+ <property name="XExpand">False</property>
+ <property name="XFill">True</property>
+ <property name="XShrink">False</property>
+ <property name="YExpand">False</property>
+ <property name="YFill">True</property>
+ <property name="YShrink">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="label11">
+ <property name="MemberName" />
+ <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="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="LabelProp" translatable="yes">Analisys
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.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="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.Button" id="templatebutton">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:gtk-edit Menu</property>
+ <property name="Label" translatable="yes">Edit template</property>
+ <property name="UseUnderline">True</property>
+ </widget>
+ <packing>
+ <property name="TopAttach">2</property>
+ <property name="BottomAttach">3</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="templatelabel">
+ <property name="MemberName" />
+ </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="UseMarkup">True</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </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.Frame" id="frame3">
+ <property name="MemberName" />
+ <property name="ShadowType">None</property>
+ <child>
+ <widget class="Gtk.Alignment" id="GtkAlignment8">
+ <property name="MemberName" />
+ <property name="Xalign">0</property>
+ <property name="Yalign">0</property>
+ <property name="LeftPadding">12</property>
+ <child>
+ <widget class="Gtk.HBox" id="hbox3">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="Gtk.Image" id="fileimage">
+ <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.Label" id="medialabel">
+ <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">0</property>
+ <property name="AutoSize">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Button" id="filebutton">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:gtk-open Menu</property>
+ <property name="Label" translatable="yes">Change video
file</property>
+ <property name="UseUnderline">True</property>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">False</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="GtkLabel6">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes"><b>Video
file</b></property>
+ <property name="UseMarkup">True</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">2</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.HButtonBox" id="hbuttonbox1">
+ <property name="MemberName" />
+ <property name="Size">3</property>
+ <child>
+ <widget class="Gtk.Button" id="savebutton">
+ <property name="MemberName" />
+ <property name="Sensitive">False</property>
+ <property name="CanFocus">True</property>
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:gtk-save Dialog</property>
+ <property name="Label" translatable="yes">Save</property>
+ <property name="UseUnderline">True</property>
+ </widget>
+ <packing>
+ <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>
+ <property name="CanFocus">True</property>
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:gtk-save-as Dialog</property>
+ <property name="Label" translatable="yes">Export</property>
+ <property name="UseUnderline">True</property>
+ </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="deletebutton">
+ <property name="MemberName" />
+ <property name="Sensitive">False</property>
+ <property name="CanFocus">True</property>
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:gtk-delete Dialog</property>
+ <property name="Label">Delete</property>
+ <property name="UseUnderline">True</property>
+ </widget>
+ <packing>
+ <property name="Position">2</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="label1">
+ <property name="MemberName" />
+ </widget>
+ <packing>
+ <property name="type">tab</property>
+ </packing>
+ </child>
+ <child>
+ <placeholder />
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="label3">
+ <property name="MemberName" />
+ </widget>
+ <packing>
+ <property name="type">tab</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.HButtonBox" id="hbuttonbox3">
+ <property name="MemberName" />
+ <property name="Size">1</property>
+ <property name="LayoutStyle">Start</property>
+ <child>
+ <widget class="Gtk.Button" id="backbutton">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:gtk-go-back Dialog</property>
+ <property name="Label" translatable="yes">_Back</property>
+ <property name="UseUnderline">True</property>
+ </widget>
+ <packing>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">False</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ <widget class="Gtk.Bin" id="LongoMatch.Gui.Panel.SportsTemplatesPanel" design-size="300 300">
+ <property name="MemberName" />
+ <property name="Visible">False</property>
+ <child>
+ <placeholder />
+ </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 c71d4b5..4a76feb 100644
--- a/LongoMatch.GUI/gtk-gui/objects.xml
+++ b/LongoMatch.GUI/gtk-gui/objects.xml
@@ -7,23 +7,6 @@
<itemgroups />
<signals />
</object>
- <object type="LongoMatch.Gui.Component.ProjectDetailsWidget" palette-category="General"
allow-children="false" base-type="Gtk.Bin">
- <itemgroups>
- <itemgroup label="ProjectDetailsWidget Properties">
- <property name="Edited" />
- <property name="Season" />
- <property name="Competition" />
- <property name="LocalGoals" />
- <property name="VisitorGoals" />
- <property name="Date" />
- </itemgroup>
- </itemgroups>
- <signals>
- <itemgroup label="ProjectDetailsWidget Signals">
- <signal name="EditedEvent" />
- </itemgroup>
- </signals>
- </object>
<object type="LongoMatch.Gui.Component.ButtonsWidget" palette-category="General" allow-children="false"
base-type="Gtk.Bin">
<itemgroups />
<signals>
@@ -207,14 +190,6 @@
<itemgroups />
<signals />
</object>
- <object type="LongoMatch.Gui.Component.CategoriesTemplateEditorWidget" palette-category="General"
allow-children="false" base-type="LongoMatch.Gui.Base.TemplatesEditorBase">
- <itemgroups />
- <signals />
- </object>
- <object type="LongoMatch.Gui.Component.TeamTemplateEditorWidget" palette-category="General"
allow-children="false" base-type="LongoMatch.Gui.Base.TemplatesEditorBase">
- <itemgroups />
- <signals />
- </object>
<object type="LongoMatch.Gui.Component.RenderingStateBar" palette-category="General"
allow-children="false" base-type="Gtk.Bin">
<itemgroups>
<itemgroup label="IRenderingStateBar Properties">
@@ -261,24 +236,6 @@
</itemgroups>
<signals />
</object>
- <object type="LongoMatch.Gui.Base.TemplatesEditorBase" palette-category="General" allow-children="false"
base-type="Gtk.Bin">
- <itemgroups>
- <itemgroup label="TemplatesEditorBase Properties">
- <property name="CanExport" />
- <property name="Edited" />
- </itemgroup>
- </itemgroups>
- <signals />
- </object>
- <object type="LongoMatch.Gui.Base.TemplatesEditorWidget" palette-category="General" allow-children="false"
base-type="LongoMatch.Gui.Base.TemplatesEditorBase">
- <itemgroups>
- <itemgroup label="ITemplateWidget Properties">
- <property name="Edited" />
- <property name="CanExport" />
- </itemgroup>
- </itemgroups>
- <signals />
- </object>
<object type="LongoMatch.Gui.Component.GameUnitTimeScale" palette-category="General"
allow-children="false" base-type="Gtk.DrawingArea">
<itemgroups />
<signals>
@@ -506,8 +463,8 @@
<itemgroups />
<signals>
<itemgroup label="NewProjectPanel Signals">
- <signal name="CancelEvent" />
<signal name="OpenNewProjectEvent" />
+ <signal name="BackEvent" />
</itemgroup>
</signals>
</object>
@@ -515,4 +472,32 @@
<itemgroups />
<signals />
</object>
+ <object type="LongoMatch.Gui.Panel.TeamsTemplatesPanel" palette-category="General" allow-children="false"
base-type="Gtk.Bin">
+ <itemgroups />
+ <signals>
+ <itemgroup label="TeamsTemplatesPanel Signals">
+ <signal name="BackEvent" />
+ </itemgroup>
+ </signals>
+ </object>
+ <object type="LongoMatch.Gui.Component.TeamTemplateEditor" palette-category="General"
allow-children="false" base-type="Gtk.Bin">
+ <itemgroups>
+ <itemgroup label="TeamTemplateEditor Properties">
+ <property name="Edited" />
+ </itemgroup>
+ </itemgroups>
+ <signals />
+ </object>
+ <object type="LongoMatch.Gui.Panel.ProjectsManagerPanel" palette-category="General" allow-children="false"
base-type="Gtk.Bin">
+ <itemgroups />
+ <signals>
+ <itemgroup label="IPanel Signals">
+ <signal name="BackEvent" />
+ </itemgroup>
+ </signals>
+ </object>
+ <object type="LongoMatch.Gui.Panel.SportsTemplatesPanel" palette-category="General" allow-children="false"
base-type="Gtk.Bin">
+ <itemgroups />
+ <signals />
+ </object>
</objects>
\ No newline at end of file
diff --git a/LongoMatch.Services/Services/Core.cs b/LongoMatch.Services/Services/Core.cs
index c59f788..d6c0216 100644
--- a/LongoMatch.Services/Services/Core.cs
+++ b/LongoMatch.Services/Services/Core.cs
@@ -118,7 +118,7 @@ namespace LongoMatch.Services
/* Start playlists manager */
plManager = new PlaylistManager(Config.GUIToolkit, videoRenderer, projectsManager);
}
-
+
public static void BindEvents(IMainController mainController) {
mainController.QuitApplicationEvent += () => {Config.GUIToolkit.Quit();};
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]