[longomatch/redesign2] WIP
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/redesign2] WIP
- Date: Tue, 7 Jun 2011 23:25:43 +0000 (UTC)
commit f2f3fd8d5bc4e769005d26678919c6b2b7307009
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Jun 8 01:25:03 2011 +0200
WIP
LongoMatch/Gui/Component/PlayersTaggerWidget.cs | 64 +-----
LongoMatch/Gui/Dialog/TaggerDialog.cs | 20 ++-
LongoMatch/Handlers/EventsManager.cs | 2 +-
LongoMatch/Store/Project.cs | 2 +-
LongoMatch/Store/Tag.cs | 2 +-
...LongoMatch.Gui.Component.PlayersTaggerWidget.cs | 78 ++++++--
.../LongoMatch.Gui.Component.TaggerWidget.cs | 19 +--
.../gtk-gui/LongoMatch.Gui.Dialog.TaggerDialog.cs | 52 ++++-
LongoMatch/gtk-gui/gui.stetic | 209 ++++++++++++--------
9 files changed, 265 insertions(+), 183 deletions(-)
---
diff --git a/LongoMatch/Gui/Component/PlayersTaggerWidget.cs b/LongoMatch/Gui/Component/PlayersTaggerWidget.cs
index 91f2c0b..4357826 100644
--- a/LongoMatch/Gui/Component/PlayersTaggerWidget.cs
+++ b/LongoMatch/Gui/Component/PlayersTaggerWidget.cs
@@ -17,69 +17,27 @@
//
using System;
using System.Collections.Generic;
-using Gtk;
+using System.Linq;
using LongoMatch.Store;
-using LongoMatch.Store.Templates;
namespace LongoMatch.Gui.Component
{
[System.ComponentModel.ToolboxItem(true)]
public partial class PlayersTaggerWidget : Gtk.Bin
{
- TeamTemplate template;
- Dictionary<CheckButton, Player> checkButtonsDict;
-
- public PlayersTaggerWidget ()
- {
+ private List<PlayerTag> players;
+
+ public PlayersTaggerWidget (PlayerSubCategory subcat, List<PlayerTag> players) {
this.Build ();
- checkButtonsDict = new Dictionary<CheckButton, Player>();
- }
-
- public void SetPlayersInfo(TeamTemplate template) {
- CheckButton button;
- List<Player> playersList;
- int i=0;
-
- if(this.template != null)
- return;
-
- this.template = template;
- playersList = template.PlayingPlayersList;
-
- table1.NColumns =(uint)(playersList.Count/10);
- table1.NRows =(uint) 10;
-
- foreach(Player player in playersList) {
- button = new CheckButton();
- button.Label = player.Number + "-" + player.Name;
- button.Name = i.ToString();
- button.Show();
-
- uint row_top =(uint)(i%table1.NRows);
- uint row_bottom = (uint) row_top+1 ;
- uint col_left = (uint) i/table1.NRows;
- uint col_right = (uint) col_left+1 ;
-
- table1.Attach(button,col_left,col_right,row_top,row_bottom);
- checkButtonsDict.Add(button, player);
- i++;
- }
+ CategoryLabel.Markup = "<b>" + subcat.Name + "</b>";
+ LoadTagsLabel();
}
-
- public List<Player> PlayersChecked {
- set {
- foreach(var pair in checkButtonsDict)
- pair.Key.Active = value.Contains(pair.Value);
- }
- get {
- List<Player> playersList = new List<Player>();
- foreach(var pair in checkButtonsDict) {
- if(pair.Key.Active)
- playersList.Add(pair.Value);
- }
- return playersList;
- }
+
+ private void LoadTagsLabel () {
+ var playersNames = players.Select(p => p.Value.Name).ToArray();
+
+ playerslabel.Text = String.Join(";", playersNames);
}
}
}
diff --git a/LongoMatch/Gui/Dialog/TaggerDialog.cs b/LongoMatch/Gui/Dialog/TaggerDialog.cs
index 8304f3b..fdd5a5b 100644
--- a/LongoMatch/Gui/Dialog/TaggerDialog.cs
+++ b/LongoMatch/Gui/Dialog/TaggerDialog.cs
@@ -19,6 +19,8 @@
using System;
using System.Linq;
using System.Collections.Generic;
+
+using LongoMatch.Gui.Component;
using LongoMatch.Store;
using LongoMatch.Store.Templates;
@@ -29,7 +31,7 @@ namespace LongoMatch.Gui.Dialog
public partial class TaggerDialog : Gtk.Dialog
{
- public TaggerDialog(Category cat, StringTagStore tags)
+ public TaggerDialog(Category cat, StringTagStore tags, PlayersTagStore players)
{
this.Build();
buttonOk.Visible = false;
@@ -39,13 +41,25 @@ namespace LongoMatch.Gui.Dialog
var tagcat = subcat as TagSubCategory;
if (!tags.Contains(tagcat))
continue;
- AddSubcategory(tagcat, tags.GetTags(tagcat));
+ AddTagSubcategory(tagcat, tags.GetTags(tagcat));
+ } else if (subcat is PlayerSubCategory) {
+ var tagcat = subcat as PlayerSubCategory;
+ if (!players.Contains(tagcat))
+ continue;
+ AddPlayerSubcategory(tagcat, players.GetTags(tagcat));
}
}
}
- public void AddSubcategory (TagSubCategory subcat, List<StringTag> tags){
+ public void AddTagSubcategory (TagSubCategory subcat, List<StringTag> tags){
taggerwidget1.AddSubCategory(subcat, tags);
}
+
+ public void AddPlayerSubcategory (PlayerSubCategory subcat, List<PlayerTag> tags){
+ PlayersTaggerWidget widget = new PlayersTaggerWidget(subcat, tags);
+ widget.Show();
+ playersbox.Add(widget);
+ }
+
}
}
diff --git a/LongoMatch/Handlers/EventsManager.cs b/LongoMatch/Handlers/EventsManager.cs
index 54f0c1e..08569c9 100644
--- a/LongoMatch/Handlers/EventsManager.cs
+++ b/LongoMatch/Handlers/EventsManager.cs
@@ -195,7 +195,7 @@ namespace LongoMatch
else
miniature = null;
var play = openedProject.AddPlay(category, start, stop,miniature);
- TaggerDialog tg = new TaggerDialog(category, play.Tags);
+ TaggerDialog tg = new TaggerDialog(category, play.Tags, play.Players);
tg.Run();
treewidget.AddPlay(play);
tagsTreeWidget.AddPlay(play);
diff --git a/LongoMatch/Store/Project.cs b/LongoMatch/Store/Project.cs
index c83c20d..2ddfdd2 100644
--- a/LongoMatch/Store/Project.cs
+++ b/LongoMatch/Store/Project.cs
@@ -266,7 +266,7 @@ namespace LongoMatch.Store
foreach (var play in timeline) {
foreach (var player in play.Players.AllUniqueElements)
- store.AppendValues(dict[player], new object[1] {play});
+ store.AppendValues(dict[player.Value], new object[1] {play});
}
return store;
}
diff --git a/LongoMatch/Store/Tag.cs b/LongoMatch/Store/Tag.cs
index 40afe49..cace631 100644
--- a/LongoMatch/Store/Tag.cs
+++ b/LongoMatch/Store/Tag.cs
@@ -86,7 +86,7 @@ namespace LongoMatch.Store
public class StringTagStore: TagsStore<TagSubCategory, StringTag> {}
- public class PlayersTagStore: TagsStore<PlayerSubCategory, Player> {}
+ public class PlayersTagStore: TagsStore<PlayerSubCategory, PlayerTag> {}
public class TeamsTagStore: TagsStore<PlayerSubCategory, Team> {}
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.Component.PlayersTaggerWidget.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.Component.PlayersTaggerWidget.cs
index 4225eaf..7c78539 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.Component.PlayersTaggerWidget.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.Component.PlayersTaggerWidget.cs
@@ -4,9 +4,19 @@ namespace LongoMatch.Gui.Component
{
public partial class PlayersTaggerWidget
{
- private global::Gtk.ScrolledWindow scrolledwindow1;
+ private global::Gtk.Frame frame1;
- private global::Gtk.Table table1;
+ private global::Gtk.Alignment GtkAlignment;
+
+ private global::Gtk.HBox hbox1;
+
+ private global::Gtk.Label label2;
+
+ private global::Gtk.Label playerslabel;
+
+ private global::Gtk.Button button5;
+
+ private global::Gtk.Label CategoryLabel;
protected virtual void Build ()
{
@@ -15,21 +25,55 @@ namespace LongoMatch.Gui.Component
global::Stetic.BinContainer.Attach (this);
this.Name = "LongoMatch.Gui.Component.PlayersTaggerWidget";
// Container child LongoMatch.Gui.Component.PlayersTaggerWidget.Gtk.Container+ContainerChild
- this.scrolledwindow1 = new global::Gtk.ScrolledWindow ();
- this.scrolledwindow1.CanFocus = true;
- this.scrolledwindow1.Name = "scrolledwindow1";
- this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
- // Container child scrolledwindow1.Gtk.Container+ContainerChild
- global::Gtk.Viewport w1 = new global::Gtk.Viewport ();
- w1.ShadowType = ((global::Gtk.ShadowType)(0));
- // Container child GtkViewport.Gtk.Container+ContainerChild
- this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false);
- this.table1.Name = "table1";
- this.table1.RowSpacing = ((uint)(6));
- this.table1.ColumnSpacing = ((uint)(6));
- w1.Add (this.table1);
- this.scrolledwindow1.Add (w1);
- this.Add (this.scrolledwindow1);
+ this.frame1 = new global::Gtk.Frame ();
+ this.frame1.Name = "frame1";
+ this.frame1.ShadowType = ((global::Gtk.ShadowType)(0));
+ // Container child frame1.Gtk.Container+ContainerChild
+ 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.button5 = new global::Gtk.Button ();
+ this.button5.CanFocus = true;
+ this.button5.Name = "button5";
+ this.button5.UseStock = true;
+ this.button5.UseUnderline = true;
+ this.button5.Label = "gtk-edit";
+ this.hbox1.Add (this.button5);
+ global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.button5]));
+ 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.UseMarkup = true;
+ this.frame1.LabelWidget = this.CategoryLabel;
+ this.Add (this.frame1);
if ((this.Child != null)) {
this.Child.ShowAll ();
}
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.Component.TaggerWidget.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.Component.TaggerWidget.cs
index 0fb880e..565c401 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.Component.TaggerWidget.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.Component.TaggerWidget.cs
@@ -6,8 +6,6 @@ namespace LongoMatch.Gui.Component
{
private global::Gtk.VBox vbox2;
- private global::Gtk.ScrolledWindow scrolledwindow1;
-
private global::Gtk.Table table1;
protected virtual void Build ()
@@ -21,28 +19,17 @@ namespace LongoMatch.Gui.Component
this.vbox2.Name = "vbox2";
this.vbox2.Spacing = 6;
// Container child vbox2.Gtk.Box+BoxChild
- this.scrolledwindow1 = new global::Gtk.ScrolledWindow ();
- this.scrolledwindow1.CanFocus = true;
- this.scrolledwindow1.Name = "scrolledwindow1";
- this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
- // Container child scrolledwindow1.Gtk.Container+ContainerChild
- global::Gtk.Viewport w1 = new global::Gtk.Viewport ();
- w1.ShadowType = ((global::Gtk.ShadowType)(0));
- // Container child GtkViewport.Gtk.Container+ContainerChild
this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false);
this.table1.Name = "table1";
this.table1.RowSpacing = ((uint)(6));
this.table1.ColumnSpacing = ((uint)(6));
- w1.Add (this.table1);
- this.scrolledwindow1.Add (w1);
- this.vbox2.Add (this.scrolledwindow1);
- global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.scrolledwindow1]));
- w4.Position = 0;
+ this.vbox2.Add (this.table1);
+ global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1]));
+ w1.Position = 0;
this.Add (this.vbox2);
if ((this.Child != null)) {
this.Child.ShowAll ();
}
- this.scrolledwindow1.Hide ();
this.Hide ();
}
}
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.TaggerDialog.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.TaggerDialog.cs
index 1b4ae12..6d070b5 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.TaggerDialog.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.TaggerDialog.cs
@@ -4,8 +4,14 @@ namespace LongoMatch.Gui.Dialog
{
public partial class TaggerDialog
{
+ private global::Gtk.ScrolledWindow scrolledwindow1;
+
+ private global::Gtk.VBox vbox3;
+
private global::LongoMatch.Gui.Component.TaggerWidget taggerwidget1;
+ private global::Gtk.VBox playersbox;
+
private global::Gtk.Button buttonOk;
protected virtual void Build ()
@@ -21,18 +27,42 @@ namespace LongoMatch.Gui.Dialog
w1.Name = "dialog1_VBox";
w1.BorderWidth = ((uint)(2));
// Container child dialog1_VBox.Gtk.Box+BoxChild
+ this.scrolledwindow1 = new global::Gtk.ScrolledWindow ();
+ this.scrolledwindow1.CanFocus = true;
+ this.scrolledwindow1.Name = "scrolledwindow1";
+ this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
+ // Container child scrolledwindow1.Gtk.Container+ContainerChild
+ global::Gtk.Viewport w2 = new global::Gtk.Viewport ();
+ w2.ShadowType = ((global::Gtk.ShadowType)(0));
+ // Container child GtkViewport.Gtk.Container+ContainerChild
+ this.vbox3 = new global::Gtk.VBox ();
+ this.vbox3.Name = "vbox3";
+ this.vbox3.Spacing = 6;
+ // Container child vbox3.Gtk.Box+BoxChild
this.taggerwidget1 = new global::LongoMatch.Gui.Component.TaggerWidget ();
this.taggerwidget1.Events = ((global::Gdk.EventMask)(256));
this.taggerwidget1.Name = "taggerwidget1";
- w1.Add (this.taggerwidget1);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.taggerwidget1]));
- w2.Position = 0;
+ this.vbox3.Add (this.taggerwidget1);
+ global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.taggerwidget1]));
+ w3.Position = 0;
+ // Container child vbox3.Gtk.Box+BoxChild
+ this.playersbox = new global::Gtk.VBox ();
+ this.playersbox.Name = "playersbox";
+ this.playersbox.Spacing = 6;
+ this.vbox3.Add (this.playersbox);
+ global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.playersbox]));
+ w4.Position = 1;
+ w2.Add (this.vbox3);
+ this.scrolledwindow1.Add (w2);
+ w1.Add (this.scrolledwindow1);
+ global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1[this.scrolledwindow1]));
+ w7.Position = 0;
// Internal child LongoMatch.Gui.Dialog.TaggerDialog.ActionArea
- global::Gtk.HButtonBox w3 = this.ActionArea;
- w3.Name = "dialog1_ActionArea";
- w3.Spacing = 6;
- w3.BorderWidth = ((uint)(5));
- w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
+ global::Gtk.HButtonBox w8 = this.ActionArea;
+ w8.Name = "dialog1_ActionArea";
+ w8.Spacing = 6;
+ w8.BorderWidth = ((uint)(5));
+ w8.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
this.buttonOk = new global::Gtk.Button ();
this.buttonOk.CanDefault = true;
@@ -42,9 +72,9 @@ namespace LongoMatch.Gui.Dialog
this.buttonOk.UseUnderline = true;
this.buttonOk.Label = "gtk-ok";
this.AddActionWidget (this.buttonOk, -5);
- global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk]));
- w4.Expand = false;
- w4.Fill = false;
+ global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8[this.buttonOk]));
+ w9.Expand = false;
+ w9.Fill = false;
if ((this.Child != null)) {
this.Child.ShowAll ();
}
diff --git a/LongoMatch/gtk-gui/gui.stetic b/LongoMatch/gtk-gui/gui.stetic
index e081f05..d071738 100644
--- a/LongoMatch/gtk-gui/gui.stetic
+++ b/LongoMatch/gtk-gui/gui.stetic
@@ -5401,52 +5401,38 @@ Show-><b> S</b>
<property name="MemberName" />
<property name="Spacing">6</property>
<child>
- <widget class="Gtk.ScrolledWindow" id="scrolledwindow1">
+ <widget class="Gtk.Table" id="table1">
<property name="MemberName" />
- <property name="Visible">False</property>
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
+ <property name="NRows">3</property>
+ <property name="NColumns">3</property>
+ <property name="RowSpacing">6</property>
+ <property name="ColumnSpacing">6</property>
<child>
- <widget class="Gtk.Viewport" id="GtkViewport">
- <property name="MemberName" />
- <property name="ShadowType">None</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>
+ <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>
@@ -5469,13 +5455,55 @@ Show-><b> S</b>
<property name="MemberName" />
<property name="BorderWidth">2</property>
<child>
- <widget class="LongoMatch.Gui.Component.TaggerWidget" id="taggerwidget1">
+ <widget class="Gtk.ScrolledWindow" id="scrolledwindow1">
<property name="MemberName" />
- <property name="Events">ButtonPressMask</property>
+ <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="LongoMatch.Gui.Component.TaggerWidget" id="taggerwidget1">
+ <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="playersbox">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <child>
+ <placeholder />
+ </child>
+ <child>
+ <placeholder />
+ </child>
+ <child>
+ <placeholder />
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">True</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
</widget>
<packing>
<property name="Position">0</property>
- <property name="AutoSize">False</property>
+ <property name="AutoSize">True</property>
</packing>
</child>
</widget>
@@ -6263,56 +6291,77 @@ You can continue with the current capture, cancel it or save your project.
</widget>
</child>
</widget>
- <widget class="Gtk.Bin" id="LongoMatch.Gui.Component.PlayersTaggerWidget" design-size="300 300">
+ <widget class="Gtk.Bin" id="LongoMatch.Gui.Component.PlayersTaggerWidget" design-size="300 40">
<property name="MemberName" />
<property name="Visible">False</property>
<child>
- <widget class="Gtk.ScrolledWindow" id="scrolledwindow1">
+ <widget class="Gtk.Frame" id="frame1">
<property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="ShadowType">In</property>
+ <property name="ShadowType">None</property>
<child>
- <widget class="Gtk.Viewport" id="GtkViewport">
+ <widget class="Gtk.Alignment" id="GtkAlignment">
<property name="MemberName" />
- <property name="ShadowType">None</property>
+ <property name="Xalign">0</property>
+ <property name="Yalign">0</property>
+ <property name="LeftPadding">12</property>
<child>
- <widget class="Gtk.Table" id="table1">
+ <widget class="Gtk.HBox" id="hbox1">
<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>
+ <property name="Spacing">6</property>
<child>
- <placeholder />
+ <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>
- <placeholder />
+ <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>
- <placeholder />
+ <widget class="Gtk.Button" id="button5">
+ <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>
</child>
</widget>
</child>
+ <child>
+ <widget class="Gtk.Label" id="CategoryLabel">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes"><b>GtkFrame</b></property>
+ <property name="UseMarkup">True</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
</widget>
</child>
</widget>
@@ -6350,4 +6399,4 @@ You can continue with the current capture, cancel it or save your project.
</widget>
</child>
</widget>
-</stetic-interface>
\ No newline at end of file
+</stetic-interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]