view gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmAddEquipment.cs @ 167:9808adf2d566

Re #419: Remove assumptions of a file-based install * Update GTK# GUI to use Streams version of XSLT export
author IBBoard <dev@ibboard.co.uk>
date Wed, 28 Nov 2012 20:25:53 +0000
parents fac0636ae13b
children
line source
2 // This file has been generated by the GUI designer. Do not modify.
3 namespace IBBoard.WarFoundry.GUI.GTK
4 {
5 public partial class FrmAddEquipment
6 {
7 private global::Gtk.Table table1;
8 private global::Gtk.ScrolledWindow GtkScrolledWindow;
9 private global::Gtk.TreeView lstEquipment;
10 private global::Gtk.HBox hbox2;
11 private global::Gtk.Table table2;
12 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblEquipAll;
13 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblPercent;
14 private global::Gtk.SpinButton numericAmount;
15 private global::Gtk.SpinButton percentageAmount;
16 private global::Gtk.RadioButton rbEquipAll;
17 private global::Gtk.RadioButton rbEquipNumeric;
18 private global::Gtk.RadioButton rbEquipPercent;
19 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblAmount;
20 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblItem;
21 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCancel;
22 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnOkay;
24 protected virtual void Build ()
25 {
26 global::Stetic.Gui.Initialize (this);
27 // Widget IBBoard.WarFoundry.GUI.GTK.FrmAddEquipment
28 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmAddEquipment";
29 this.Title = global::Mono.Unix.Catalog.GetString ("Add equipment");
30 this.WindowPosition = ((global::Gtk.WindowPosition)(4));
31 this.Modal = true;
32 this.SkipPagerHint = true;
33 this.SkipTaskbarHint = true;
34 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmAddEquipment.VBox
35 global::Gtk.VBox w1 = this.VBox;
36 w1.Name = "dialog1_VBox";
37 w1.BorderWidth = ((uint)(2));
38 // Container child dialog1_VBox.Gtk.Box+BoxChild
39 this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
40 this.table1.Name = "table1";
41 this.table1.RowSpacing = ((uint)(6));
42 this.table1.ColumnSpacing = ((uint)(6));
43 // Container child table1.Gtk.Table+TableChild
44 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
45 this.GtkScrolledWindow.Name = "GtkScrolledWindow";
46 this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
47 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
48 this.lstEquipment = new global::Gtk.TreeView ();
49 this.lstEquipment.CanFocus = true;
50 this.lstEquipment.Name = "lstEquipment";
51 this.lstEquipment.HeadersVisible = false;
52 this.GtkScrolledWindow.Add (this.lstEquipment);
53 this.table1.Add (this.GtkScrolledWindow);
54 global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow]));
55 w3.LeftAttach = ((uint)(1));
56 w3.RightAttach = ((uint)(2));
57 w3.YOptions = ((global::Gtk.AttachOptions)(4));
58 // Container child table1.Gtk.Table+TableChild
59 this.hbox2 = new global::Gtk.HBox ();
60 this.hbox2.Name = "hbox2";
61 this.hbox2.Spacing = 6;
62 // Container child hbox2.Gtk.Box+BoxChild
63 this.table2 = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false);
64 this.table2.Name = "table2";
65 this.table2.RowSpacing = ((uint)(6));
66 this.table2.ColumnSpacing = ((uint)(6));
67 // Container child table2.Gtk.Table+TableChild
68 this.lblEquipAll = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
69 this.lblEquipAll.Name = "lblEquipAll";
70 this.lblEquipAll.LabelProp = global::Mono.Unix.Catalog.GetString ("equip all");
71 this.table2.Add (this.lblEquipAll);
72 global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.lblEquipAll]));
73 w4.TopAttach = ((uint)(2));
74 w4.BottomAttach = ((uint)(3));
75 w4.LeftAttach = ((uint)(1));
76 w4.RightAttach = ((uint)(2));
77 w4.YOptions = ((global::Gtk.AttachOptions)(4));
78 // Container child table2.Gtk.Table+TableChild
79 this.lblPercent = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
80 this.lblPercent.Name = "lblPercent";
81 this.lblPercent.LabelProp = global::Mono.Unix.Catalog.GetString ("%");
82 this.table2.Add (this.lblPercent);
83 global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.lblPercent]));
84 w5.TopAttach = ((uint)(1));
85 w5.BottomAttach = ((uint)(2));
86 w5.LeftAttach = ((uint)(2));
87 w5.RightAttach = ((uint)(3));
88 w5.XOptions = ((global::Gtk.AttachOptions)(4));
89 w5.YOptions = ((global::Gtk.AttachOptions)(4));
90 // Container child table2.Gtk.Table+TableChild
91 this.numericAmount = new global::Gtk.SpinButton (0, 100, 1);
92 this.numericAmount.CanFocus = true;
93 this.numericAmount.Name = "numericAmount";
94 this.numericAmount.Adjustment.PageIncrement = 10;
95 this.numericAmount.ClimbRate = 1;
96 this.numericAmount.Numeric = true;
97 this.table2.Add (this.numericAmount);
98 global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.numericAmount]));
99 w6.LeftAttach = ((uint)(1));
100 w6.RightAttach = ((uint)(2));
101 w6.XOptions = ((global::Gtk.AttachOptions)(0));
102 w6.YOptions = ((global::Gtk.AttachOptions)(4));
103 // Container child table2.Gtk.Table+TableChild
104 this.percentageAmount = new global::Gtk.SpinButton (0, 100, 1);
105 this.percentageAmount.CanFocus = true;
106 this.percentageAmount.Name = "percentageAmount";
107 this.percentageAmount.Adjustment.PageIncrement = 10;
108 this.percentageAmount.ClimbRate = 1;
109 this.percentageAmount.Digits = ((uint)(1));
110 this.percentageAmount.Numeric = true;
111 this.table2.Add (this.percentageAmount);
112 global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.percentageAmount]));
113 w7.TopAttach = ((uint)(1));
114 w7.BottomAttach = ((uint)(2));
115 w7.LeftAttach = ((uint)(1));
116 w7.RightAttach = ((uint)(2));
117 w7.XOptions = ((global::Gtk.AttachOptions)(0));
118 w7.YOptions = ((global::Gtk.AttachOptions)(4));
119 // Container child table2.Gtk.Table+TableChild
120 this.rbEquipAll = new global::Gtk.RadioButton ("");
121 this.rbEquipAll.CanFocus = true;
122 this.rbEquipAll.Name = "rbEquipAll";
123 this.rbEquipAll.Active = true;
124 this.rbEquipAll.DrawIndicator = true;
125 this.rbEquipAll.UseUnderline = true;
126 this.rbEquipAll.Group = new global::GLib.SList (global::System.IntPtr.Zero);
127 this.table2.Add (this.rbEquipAll);
128 global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.rbEquipAll]));
129 w8.TopAttach = ((uint)(2));
130 w8.BottomAttach = ((uint)(3));
131 w8.XOptions = ((global::Gtk.AttachOptions)(4));
132 w8.YOptions = ((global::Gtk.AttachOptions)(4));
133 // Container child table2.Gtk.Table+TableChild
134 this.rbEquipNumeric = new global::Gtk.RadioButton ("");
135 this.rbEquipNumeric.CanFocus = true;
136 this.rbEquipNumeric.Name = "rbEquipNumeric";
137 this.rbEquipNumeric.DrawIndicator = true;
138 this.rbEquipNumeric.UseUnderline = true;
139 this.rbEquipNumeric.Group = this.rbEquipAll.Group;
140 this.table2.Add (this.rbEquipNumeric);
141 global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.rbEquipNumeric]));
142 w9.XOptions = ((global::Gtk.AttachOptions)(4));
143 w9.YOptions = ((global::Gtk.AttachOptions)(4));
144 // Container child table2.Gtk.Table+TableChild
145 this.rbEquipPercent = new global::Gtk.RadioButton ("");
146 this.rbEquipPercent.CanFocus = true;
147 this.rbEquipPercent.Name = "rbEquipPercent";
148 this.rbEquipPercent.DrawIndicator = true;
149 this.rbEquipPercent.UseUnderline = true;
150 this.rbEquipPercent.Group = this.rbEquipAll.Group;
151 this.table2.Add (this.rbEquipPercent);
152 global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.rbEquipPercent]));
153 w10.TopAttach = ((uint)(1));
154 w10.BottomAttach = ((uint)(2));
155 w10.XOptions = ((global::Gtk.AttachOptions)(4));
156 w10.YOptions = ((global::Gtk.AttachOptions)(4));
157 this.hbox2.Add (this.table2);
158 global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.table2]));
159 w11.Position = 0;
160 w11.Expand = false;
161 w11.Fill = false;
162 this.table1.Add (this.hbox2);
163 global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox2]));
164 w12.TopAttach = ((uint)(1));
165 w12.BottomAttach = ((uint)(2));
166 w12.LeftAttach = ((uint)(1));
167 w12.RightAttach = ((uint)(2));
168 w12.YOptions = ((global::Gtk.AttachOptions)(4));
169 // Container child table1.Gtk.Table+TableChild
170 this.lblAmount = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
171 this.lblAmount.Name = "lblAmount";
172 this.lblAmount.LabelProp = global::Mono.Unix.Catalog.GetString ("amount:");
173 this.table1.Add (this.lblAmount);
174 global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblAmount]));
175 w13.TopAttach = ((uint)(1));
176 w13.BottomAttach = ((uint)(2));
177 w13.XOptions = ((global::Gtk.AttachOptions)(4));
178 w13.YOptions = ((global::Gtk.AttachOptions)(4));
179 // Container child table1.Gtk.Table+TableChild
180 this.lblItem = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
181 this.lblItem.Name = "lblItem";
182 this.lblItem.LabelProp = global::Mono.Unix.Catalog.GetString ("equipment");
183 this.table1.Add (this.lblItem);
184 global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblItem]));
185 w14.XOptions = ((global::Gtk.AttachOptions)(4));
186 w14.YOptions = ((global::Gtk.AttachOptions)(4));
187 w1.Add (this.table1);
188 global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(w1 [this.table1]));
189 w15.Position = 0;
190 w15.Expand = false;
191 w15.Fill = false;
192 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmAddEquipment.ActionArea
193 global::Gtk.HButtonBox w16 = this.ActionArea;
194 w16.Name = "dialog1_ActionArea";
195 w16.Spacing = 10;
196 w16.BorderWidth = ((uint)(5));
197 w16.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
198 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
199 this.bttnCancel = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
200 this.bttnCancel.CanDefault = true;
201 this.bttnCancel.CanFocus = true;
202 this.bttnCancel.Name = "bttnCancel";
203 this.bttnCancel.UseStock = true;
204 this.bttnCancel.UseUnderline = true;
205 this.bttnCancel.Label = "gtk-cancel";
206 this.AddActionWidget (this.bttnCancel, -6);
207 global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16 [this.bttnCancel]));
208 w17.Expand = false;
209 w17.Fill = false;
210 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
211 this.bttnOkay = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
212 this.bttnOkay.CanDefault = true;
213 this.bttnOkay.CanFocus = true;
214 this.bttnOkay.Name = "bttnOkay";
215 this.bttnOkay.UseStock = true;
216 this.bttnOkay.UseUnderline = true;
217 this.bttnOkay.Label = "gtk-ok";
218 this.AddActionWidget (this.bttnOkay, -5);
219 global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16 [this.bttnOkay]));
220 w18.Position = 1;
221 w18.Expand = false;
222 w18.Fill = false;
223 if ((this.Child != null)) {
224 this.Child.ShowAll ();
225 }
226 this.DefaultWidth = 400;
227 this.DefaultHeight = 300;
228 this.Show ();
229 this.rbEquipNumeric.Clicked += new global::System.EventHandler (this.RadioButtonClicked);
230 this.percentageAmount.ValueChanged += new global::System.EventHandler (this.SpinButtonValueChanged);
231 this.numericAmount.ValueChanged += new global::System.EventHandler (this.SpinButtonValueChanged);
232 this.bttnCancel.Clicked += new global::System.EventHandler (this.CancelButtonClicked);
233 this.bttnOkay.Clicked += new global::System.EventHandler (this.OkayButtonClicked);
234 }
235 }
236 }