[longomatch] Add players list in the tagger dialog
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Add players list in the tagger dialog
- Date: Fri, 27 Jan 2012 22:09:00 +0000 (UTC)
commit a96d2c68b27eae961199fa1331a16ccb0c60db2c
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Fri Jan 27 22:33:19 2012 +0100
Add players list in the tagger dialog
.../PlayersTagger.cs} | 48 +++---
.../Gui/Component/PlayersTaggerWidget.cs | 27 +---
LongoMatch.GUI/Gui/Dialog/TaggerDialog.cs | 2 +-
LongoMatch.GUI/LongoMatch.GUI.mdp | 4 +-
LongoMatch.GUI/Makefile.am | 4 +-
.../LongoMatch.Gui.Component.PlayersTagger.cs | 27 +++
...LongoMatch.Gui.Component.PlayersTaggerWidget.cs | 41 +----
...LongoMatch.Gui.Dialog.PlayersSelectionDialog.cs | 73 --------
LongoMatch.GUI/gtk-gui/gui.stetic | 196 +++++---------------
LongoMatch.GUI/gtk-gui/objects.xml | 20 ++-
10 files changed, 126 insertions(+), 316 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Dialog/PlayersSelectionDialog.cs b/LongoMatch.GUI/Gui/Component/PlayersTagger.cs
similarity index 79%
rename from LongoMatch.GUI/Gui/Dialog/PlayersSelectionDialog.cs
rename to LongoMatch.GUI/Gui/Component/PlayersTagger.cs
index 3913cf3..004d877 100644
--- a/LongoMatch.GUI/Gui/Dialog/PlayersSelectionDialog.cs
+++ b/LongoMatch.GUI/Gui/Component/PlayersTagger.cs
@@ -1,21 +1,21 @@
-//
-// Copyright (C) 2007-2009 Andoni Morales Alastruey
-//
+//
+// Copyright (C) 2012 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 System.Linq;
using Gtk;
@@ -23,29 +23,33 @@ using Gtk;
using LongoMatch.Store;
using LongoMatch.Store.Templates;
-namespace LongoMatch.Gui.Dialog
+namespace LongoMatch.Gui.Component
{
-
-
- public partial class PlayersSelectionDialog : Gtk.Dialog
+ [System.ComponentModel.ToolboxItem(true)]
+ public partial class PlayersTagger : Gtk.Bin
{
- private PlayerSubCategory subcat;
- private TeamTemplate template;
- private PlayersTagStore players;
- private Dictionary<CheckButton, PlayerTag> checkButtonsDict;
- private RadioButton firstRB;
+ PlayerSubCategory subcat;
+ TeamTemplate template;
+ PlayersTagStore players;
+ Dictionary<CheckButton, PlayerTag> checkButtonsDict;
+ RadioButton firstRB;
+ const uint DEFAULT_WIDTH = 6;
+
+ public PlayersTagger ()
+ {
+ this.Build ();
+ }
- public PlayersSelectionDialog(PlayerSubCategory subcat, TeamTemplate template,
- PlayersTagStore players)
+ public void Load (PlayerSubCategory subcat, TeamTemplate template,
+ PlayersTagStore players)
{
- this.Build();
this.subcat = subcat;
this.template = template;
this.players = players;
SetPlayersInfo();
UpdateSelectedPlayers();
}
-
+
private void UpdateSelectedPlayers () {
foreach(var pair in checkButtonsDict) {
pair.Key.Active = players.Contains(pair.Value);
@@ -59,8 +63,8 @@ namespace LongoMatch.Gui.Dialog
checkButtonsDict = new Dictionary<CheckButton, PlayerTag>();
playersList = template.PlayingPlayersList.Select(p => new PlayerTag {Value=p, SubCategory=subcat}).ToList();
- table1.NColumns =(uint)(playersList.Count/10);
- table1.NRows =(uint) 10;
+ table1.NRows =(uint)(playersList.Count/DEFAULT_WIDTH);
+ table1.NColumns =(uint) DEFAULT_WIDTH;
foreach(PlayerTag player in playersList) {
CheckButton button;
diff --git a/LongoMatch.GUI/Gui/Component/PlayersTaggerWidget.cs b/LongoMatch.GUI/Gui/Component/PlayersTaggerWidget.cs
index bcbcd5d..1b6de2a 100644
--- a/LongoMatch.GUI/Gui/Component/PlayersTaggerWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/PlayersTaggerWidget.cs
@@ -28,33 +28,16 @@ namespace LongoMatch.Gui.Component
[System.ComponentModel.ToolboxItem(true)]
public partial class PlayersTaggerWidget : Gtk.Bin
{
- private PlayerSubCategory subcat;
- private PlayersTagStore players;
- private TeamTemplate template;
+ PlayersTagger tagger;
public PlayersTaggerWidget (PlayerSubCategory subcat, TeamTemplate template,
PlayersTagStore players) {
this.Build ();
- this.subcat = subcat;
- this.players = players;
- this.template = template;
CategoryLabel.Markup = "<b>" + subcat.Name + "</b>";
- LoadTagsLabel();
- editbutton.Clicked += OnEditClicked;
- }
-
- private void LoadTagsLabel () {
- var playersNames = players.GetTags(subcat).Select(p => p.Value.Name).ToArray();
- playerslabel.Text = String.Join(" ; ", playersNames);
- }
-
- protected virtual void OnEditClicked (object sender, System.EventArgs e)
- {
- PlayersSelectionDialog dialog = new PlayersSelectionDialog(subcat, template, players);
- dialog.TransientFor = this.Toplevel as Gtk.Window;
- dialog.Run();
- dialog.Destroy();
- LoadTagsLabel();
+ tagger = new PlayersTagger();
+ tagger.Load(subcat, template, players);
+ tagger.Show();
+ GtkAlignment.Add(tagger);
}
}
}
diff --git a/LongoMatch.GUI/Gui/Dialog/TaggerDialog.cs b/LongoMatch.GUI/Gui/Dialog/TaggerDialog.cs
index b1d4067..0f1c5be 100644
--- a/LongoMatch.GUI/Gui/Dialog/TaggerDialog.cs
+++ b/LongoMatch.GUI/Gui/Dialog/TaggerDialog.cs
@@ -91,7 +91,7 @@ namespace LongoMatch.Gui.Dialog
PlayersTaggerWidget widget = new PlayersTaggerWidget(subcat, template, tags);
widget.Show();
- playersbox.PackStart(widget, false, true, 0);
+ playersbox.PackStart(widget, true, true, 0);
}
}
diff --git a/LongoMatch.GUI/LongoMatch.GUI.mdp b/LongoMatch.GUI/LongoMatch.GUI.mdp
index aef0626..dd50b44 100644
--- a/LongoMatch.GUI/LongoMatch.GUI.mdp
+++ b/LongoMatch.GUI/LongoMatch.GUI.mdp
@@ -36,7 +36,6 @@
<File subtype="Code" buildaction="Compile" name="Gui/TreeView/PlayerPropertiesTreeView.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/TreeView/PlayListTreeView.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/TreeView/PlaysTreeView.cs" />
- <File subtype="Code" buildaction="Compile" name="Gui/Dialog/PlayersSelectionDialog.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Dialog/SnapshotsDialog.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Dialog/UpdateDialog.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Dialog/Win32CalendarDialog.cs" />
@@ -87,7 +86,6 @@
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Dialog.HotKeySelectorDialog.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Component.PlayerProperties.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Component.PlayersListTreeWidget.cs" />
- <File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Dialog.PlayersSelectionDialog.cs" />
<File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Dialog.Win32CalendarDialog.cs" />
<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" />
@@ -153,6 +151,8 @@
<File subtype="Directory" buildaction="Compile" name="Gui" />
<File subtype="Code" buildaction="Compile" name="Gui/Helpers.cs" />
<File subtype="Code" buildaction="Compile" name="Gui/Cairo.cs" />
+ <File subtype="Code" buildaction="Compile" name="Gui/Component/PlayersTagger.cs" />
+ <File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Component.PlayersTagger.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/Makefile.am b/LongoMatch.GUI/Makefile.am
index a46fdaa..be79d05 100644
--- a/LongoMatch.GUI/Makefile.am
+++ b/LongoMatch.GUI/Makefile.am
@@ -18,6 +18,7 @@ SOURCES = \
gtk-gui/LongoMatch.Gui.Component.PlayerProperties.cs \
gtk-gui/LongoMatch.Gui.Component.PlayersListTreeWidget.cs \
gtk-gui/LongoMatch.Gui.Component.PlayersTaggerWidget.cs \
+ gtk-gui/LongoMatch.Gui.Component.PlayersTagger.cs \
gtk-gui/LongoMatch.Gui.Component.PlayListWidget.cs \
gtk-gui/LongoMatch.Gui.Component.PlaysListTreeWidget.cs \
gtk-gui/LongoMatch.Gui.Component.ProjectDetailsWidget.cs \
@@ -37,7 +38,6 @@ SOURCES = \
gtk-gui/LongoMatch.Gui.Dialog.HotKeySelectorDialog.cs \
gtk-gui/LongoMatch.Gui.Dialog.NewProjectDialog.cs \
gtk-gui/LongoMatch.Gui.Dialog.OpenProjectDialog.cs \
- gtk-gui/LongoMatch.Gui.Dialog.PlayersSelectionDialog.cs \
gtk-gui/LongoMatch.Gui.Dialog.ProjectSelectionDialog.cs \
gtk-gui/LongoMatch.Gui.Dialog.ProjectsManager.cs \
gtk-gui/LongoMatch.Gui.Dialog.RenderingJobsDialog.cs \
@@ -69,6 +69,7 @@ SOURCES = \
Gui/Component/PlayerProperties.cs \
Gui/Component/PlayersListTreeWidget.cs \
Gui/Component/PlayersTaggerWidget.cs \
+ Gui/Component/PlayersTagger.cs \
Gui/Component/PlayListWidget.cs \
Gui/Component/PlaysListTreeWidget.cs \
Gui/Component/ProjectDetailsWidget.cs \
@@ -94,7 +95,6 @@ SOURCES = \
Gui/Dialog/HotKeySelectorDialog.cs \
Gui/Dialog/NewProjectDialog.cs \
Gui/Dialog/OpenProjectDialog.cs \
- Gui/Dialog/PlayersSelectionDialog.cs \
Gui/Dialog/ProjectSelectionDialog.cs \
Gui/Dialog/ProjectsManager.cs \
Gui/Dialog/RenderingJobsDialog.cs \
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.PlayersTagger.cs b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.PlayersTagger.cs
new file mode 100644
index 0000000..462c6c3
--- /dev/null
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.PlayersTagger.cs
@@ -0,0 +1,27 @@
+
+// This file has been generated by the GUI designer. Do not modify.
+namespace LongoMatch.Gui.Component
+{
+ public partial class PlayersTagger
+ {
+ private global::Gtk.Table table1;
+
+ protected virtual void Build ()
+ {
+ global::Stetic.Gui.Initialize (this);
+ // Widget LongoMatch.Gui.Component.PlayersTagger
+ global::Stetic.BinContainer.Attach (this);
+ this.Name = "LongoMatch.Gui.Component.PlayersTagger";
+ // Container child LongoMatch.Gui.Component.PlayersTagger.Gtk.Container+ContainerChild
+ this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false);
+ this.table1.Name = "table1";
+ this.table1.RowSpacing = ((uint)(6));
+ this.table1.ColumnSpacing = ((uint)(6));
+ this.Add (this.table1);
+ if ((this.Child != null)) {
+ this.Child.ShowAll ();
+ }
+ this.Hide ();
+ }
+ }
+}
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.PlayersTaggerWidget.cs b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.PlayersTaggerWidget.cs
index 3bf5871..e82e1a5 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.PlayersTaggerWidget.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.PlayersTaggerWidget.cs
@@ -6,10 +6,6 @@ namespace LongoMatch.Gui.Component
{
private global::Gtk.Frame frame1;
private global::Gtk.Alignment GtkAlignment;
- private global::Gtk.HBox hbox1;
- private global::Gtk.Label label2;
- private global::Gtk.Label playerslabel;
- private global::Gtk.Button editbutton;
private global::Gtk.Label CategoryLabel;
protected virtual void Build ()
@@ -26,45 +22,10 @@ namespace LongoMatch.Gui.Component
this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
this.GtkAlignment.Name = "GtkAlignment";
this.GtkAlignment.LeftPadding = ((uint)(12));
- // Container child GtkAlignment.Gtk.Container+ContainerChild
- this.hbox1 = new global::Gtk.HBox ();
- this.hbox1.Name = "hbox1";
- this.hbox1.Spacing = 6;
- // Container child hbox1.Gtk.Box+BoxChild
- this.label2 = new global::Gtk.Label ();
- this.label2.Name = "label2";
- this.label2.Xalign = 0F;
- this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Players:");
- this.hbox1.Add (this.label2);
- global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label2]));
- w1.Position = 0;
- w1.Expand = false;
- w1.Fill = false;
- // Container child hbox1.Gtk.Box+BoxChild
- this.playerslabel = new global::Gtk.Label ();
- this.playerslabel.Name = "playerslabel";
- this.playerslabel.Xalign = 0F;
- this.playerslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("None");
- this.hbox1.Add (this.playerslabel);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.playerslabel]));
- w2.Position = 1;
- // Container child hbox1.Gtk.Box+BoxChild
- this.editbutton = new global::Gtk.Button ();
- this.editbutton.CanFocus = true;
- this.editbutton.Name = "editbutton";
- this.editbutton.UseStock = true;
- this.editbutton.UseUnderline = true;
- this.editbutton.Label = "gtk-edit";
- this.hbox1.Add (this.editbutton);
- global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.editbutton]));
- w3.Position = 2;
- w3.Expand = false;
- w3.Fill = false;
- this.GtkAlignment.Add (this.hbox1);
this.frame1.Add (this.GtkAlignment);
this.CategoryLabel = new global::Gtk.Label ();
this.CategoryLabel.Name = "CategoryLabel";
- this.CategoryLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>GtkFrame</b>");
+ this.CategoryLabel.LabelProp = "";
this.CategoryLabel.UseMarkup = true;
this.frame1.LabelWidget = this.CategoryLabel;
this.Add (this.frame1);
diff --git a/LongoMatch.GUI/gtk-gui/gui.stetic b/LongoMatch.GUI/gtk-gui/gui.stetic
index 9aadca6..09cd5c1 100644
--- a/LongoMatch.GUI/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI/gtk-gui/gui.stetic
@@ -153,6 +153,7 @@
<child>
<widget class="Gtk.Label" id="localteamlabel">
<property name="MemberName" />
+ <property name="LabelProp" translatable="yes" />
</widget>
<packing>
<property name="Position">1</property>
@@ -213,6 +214,7 @@
<child>
<widget class="Gtk.Label" id="visitorteamlabel">
<property name="MemberName" />
+ <property name="LabelProp" translatable="yes" />
</widget>
<packing>
<property name="Position">1</property>
@@ -1578,6 +1580,7 @@
<child>
<widget class="Gtk.Label" id="label1">
<property name="MemberName" />
+ <property name="LabelProp" translatable="yes" />
</widget>
<packing>
<property name="type">tab</property>
@@ -3412,6 +3415,7 @@ Extra</property>
<child>
<widget class="Gtk.Label" id="playLabel">
<property name="MemberName" />
+ <property name="LabelProp" translatable="yes" />
</widget>
<packing>
<property name="LeftAttach">1</property>
@@ -3858,6 +3862,7 @@ Hotkeys with a single key are also allowed with Ctrl+key.</property>
<child>
<widget class="Gtk.Label" id="bdaylabel">
<property name="MemberName" />
+ <property name="LabelProp" translatable="yes" />
</widget>
<packing>
<property name="Position">0</property>
@@ -4418,105 +4423,6 @@ No</property>
</widget>
</child>
</widget>
- <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.PlayersSelectionDialog" design-size="204 300">
- <property name="MemberName" />
- <property name="Title" translatable="yes">Tag players</property>
- <property name="Icon">stock:longomatch Dialog</property>
- <property name="WindowPosition">CenterOnParent</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.Table" id="table1">
- <property name="MemberName" />
- <property name="NRows">3</property>
- <property name="NColumns">3</property>
- <property name="RowSpacing">6</property>
- <property name="ColumnSpacing">6</property>
- <child>
- <placeholder />
- </child>
- <child>
- <placeholder />
- </child>
- <child>
- <placeholder />
- </child>
- <child>
- <placeholder />
- </child>
- <child>
- <placeholder />
- </child>
- <child>
- <placeholder />
- </child>
- <child>
- <placeholder />
- </child>
- <child>
- <placeholder />
- </child>
- <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">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.Win32CalendarDialog" design-size="219 225">
<property name="MemberName" />
<property name="Title" translatable="yes">Calendar</property>
@@ -5333,7 +5239,7 @@ Show-><b> S</b>
</widget>
</child>
</widget>
- <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.TaggerDialog" design-size="620 267">
+ <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.TaggerDialog" design-size="620 278">
<property name="MemberName" />
<property name="Title" translatable="yes">Tag play</property>
<property name="Icon">stock:longomatch Menu</property>
@@ -5916,6 +5822,7 @@ You can continue with the current capture, cancel it or save your project.
<child>
<widget class="Gtk.Label" id="messagelabel">
<property name="MemberName" />
+ <property name="LabelProp" translatable="yes" />
</widget>
<packing>
<property name="Position">0</property>
@@ -6216,57 +6123,14 @@ You can continue with the current capture, cancel it or save your project.
<property name="Yalign">0</property>
<property name="LeftPadding">12</property>
<child>
- <widget class="Gtk.HBox" id="hbox1">
- <property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Label" id="label2">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">Players:</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Label" id="playerslabel">
- <property name="MemberName" />
- <property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes">None</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="editbutton">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="UseStock">True</property>
- <property name="Type">StockItem</property>
- <property name="StockId">gtk-edit</property>
- <property name="label">gtk-edit</property>
- </widget>
- <packing>
- <property name="Position">2</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- </widget>
+ <placeholder />
</child>
</widget>
</child>
<child>
<widget class="Gtk.Label" id="CategoryLabel">
<property name="MemberName" />
- <property name="LabelProp" translatable="yes"><b>GtkFrame</b></property>
+ <property name="LabelProp" translatable="yes" />
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -6352,7 +6216,7 @@ You can continue with the current capture, cancel it or save your project.
<child>
<widget class="Gtk.Label" id="titlelabel">
<property name="MemberName" />
- <property name="LabelProp" translatable="yes"><b>GtkFrame</b></property>
+ <property name="LabelProp" translatable="yes" />
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -6892,4 +6756,44 @@ Defining <b> Game Units </b> will help you during the analysis to in
</widget>
</child>
</widget>
+ <widget class="Gtk.Bin" id="LongoMatch.Gui.Component.PlayersTagger" design-size="300 300">
+ <property name="MemberName" />
+ <property name="Visible">False</property>
+ <child>
+ <widget class="Gtk.Table" id="table1">
+ <property name="MemberName" />
+ <property name="NRows">3</property>
+ <property name="NColumns">3</property>
+ <property name="RowSpacing">6</property>
+ <property name="ColumnSpacing">6</property>
+ <child>
+ <placeholder />
+ </child>
+ <child>
+ <placeholder />
+ </child>
+ <child>
+ <placeholder />
+ </child>
+ <child>
+ <placeholder />
+ </child>
+ <child>
+ <placeholder />
+ </child>
+ <child>
+ <placeholder />
+ </child>
+ <child>
+ <placeholder />
+ </child>
+ <child>
+ <placeholder />
+ </child>
+ <child>
+ <placeholder />
+ </child>
+ </widget>
+ </child>
+ </widget>
</stetic-interface>
\ No newline at end of file
diff --git a/LongoMatch.GUI/gtk-gui/objects.xml b/LongoMatch.GUI/gtk-gui/objects.xml
index 52fada6..48f1aa2 100644
--- a/LongoMatch.GUI/gtk-gui/objects.xml
+++ b/LongoMatch.GUI/gtk-gui/objects.xml
@@ -322,14 +322,6 @@
</itemgroup>
</signals>
</object>
- <object type="LongoMatch.Gui.Component.CategoryProperties" palette-category="LongoMatch" allow-children="false" base-type="Gtk.Bin">
- <itemgroups />
- <signals>
- <itemgroup label="CategoryProperties Signals">
- <signal name="HotKeyChanged" />
- </itemgroup>
- </signals>
- </object>
<object type="LongoMatch.Gui.Component.PlaysListTreeWidget" palette-category="LongoMatch" allow-children="false" base-type="Gtk.Bin">
<itemgroups />
<signals>
@@ -344,4 +336,16 @@
</itemgroup>
</signals>
</object>
+ <object type="LongoMatch.Gui.Component.CategoryProperties" palette-category="LongoMatch" allow-children="false" base-type="Gtk.Bin">
+ <itemgroups />
+ <signals>
+ <itemgroup label="CategoryProperties Signals">
+ <signal name="HotKeyChanged" />
+ </itemgroup>
+ </signals>
+ </object>
+ <object type="LongoMatch.Gui.Component.PlayersTagger" palette-category="General" allow-children="false" base-type="Gtk.Bin">
+ <itemgroups />
+ <signals />
+ </object>
</objects>
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]