comparison gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmExportXml.cs @ 126:d4e6bfeb1c61

Re #361: Add XML export UI to GTK# * Separate out the "transform" section so we can add it as an ExtraWidget on the file chooser
author IBBoard <dev@ibboard.co.uk>
date Sat, 01 Oct 2011 16:19:48 +0100
parents 42d2aa87dfa7
children
comparison
equal deleted inserted replaced
125:42d2aa87dfa7 126:d4e6bfeb1c61
2 // This file has been generated by the GUI designer. Do not modify. 2 // This file has been generated by the GUI designer. Do not modify.
3 namespace IBBoard.WarFoundry.GUI.GTK 3 namespace IBBoard.WarFoundry.GUI.GTK
4 { 4 {
5 public partial class FrmExportXml 5 public partial class FrmExportXml
6 { 6 {
7 private global::Gtk.Table table; 7 private global::Gtk.FileChooserWidget saveAsPath;
8 private global::Gtk.CheckButton doTransformWidget;
9 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblOutputFile;
10 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblSaveIn;
11 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblTransform;
12 private global::Gtk.Entry saveAsName;
13 private global::Gtk.FileChooserButton saveAsPath;
14 private global::Gtk.ComboBox transformList;
15 private global::Gtk.Button buttonCancel; 8 private global::Gtk.Button buttonCancel;
16 private global::Gtk.Button buttonOk; 9 private global::Gtk.Button buttonOk;
17 10
18 protected virtual void Build () 11 protected virtual void Build ()
19 { 12 {
20 global::Stetic.Gui.Initialize (this); 13 global::Stetic.Gui.Initialize (this);
21 // Widget IBBoard.WarFoundry.GUI.GTK.FrmExportXml 14 // Widget IBBoard.WarFoundry.GUI.GTK.FrmExportXml
22 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmExportXml"; 15 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmExportXml";
23 this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); 16 this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
24 this.WindowPosition = ((global::Gtk.WindowPosition)(4)); 17 this.WindowPosition = ((global::Gtk.WindowPosition)(4));
18 this.SkipPagerHint = true;
19 this.SkipTaskbarHint = true;
25 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmExportXml.VBox 20 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmExportXml.VBox
26 global::Gtk.VBox w1 = this.VBox; 21 global::Gtk.VBox w1 = this.VBox;
27 w1.Name = "dialog1_VBox"; 22 w1.Name = "dialog1_VBox";
28 w1.BorderWidth = ((uint)(2)); 23 w1.BorderWidth = ((uint)(2));
29 // Container child dialog1_VBox.Gtk.Box+BoxChild 24 // Container child dialog1_VBox.Gtk.Box+BoxChild
30 this.table = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false); 25 this.saveAsPath = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(1)));
31 this.table.Name = "table";
32 this.table.RowSpacing = ((uint)(6));
33 this.table.ColumnSpacing = ((uint)(6));
34 // Container child table.Gtk.Table+TableChild
35 this.doTransformWidget = new global::Gtk.CheckButton ();
36 this.doTransformWidget.CanFocus = true;
37 this.doTransformWidget.Name = "doTransformWidget";
38 this.doTransformWidget.Label = global::Mono.Unix.Catalog.GetString ("Transform output?");
39 this.doTransformWidget.DrawIndicator = true;
40 this.doTransformWidget.UseUnderline = true;
41 this.table.Add (this.doTransformWidget);
42 global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table [this.doTransformWidget]));
43 w2.TopAttach = ((uint)(2));
44 w2.BottomAttach = ((uint)(3));
45 w2.LeftAttach = ((uint)(1));
46 w2.RightAttach = ((uint)(2));
47 w2.XOptions = ((global::Gtk.AttachOptions)(4));
48 w2.YOptions = ((global::Gtk.AttachOptions)(4));
49 // Container child table.Gtk.Table+TableChild
50 this.lblOutputFile = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
51 this.lblOutputFile.Name = "lblOutputFile";
52 this.lblOutputFile.Xalign = 1F;
53 this.lblOutputFile.LabelProp = global::Mono.Unix.Catalog.GetString ("save as:");
54 this.table.Add (this.lblOutputFile);
55 global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table [this.lblOutputFile]));
56 w3.XOptions = ((global::Gtk.AttachOptions)(4));
57 w3.YOptions = ((global::Gtk.AttachOptions)(4));
58 // Container child table.Gtk.Table+TableChild
59 this.lblSaveIn = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
60 this.lblSaveIn.Name = "lblSaveIn";
61 this.lblSaveIn.Xalign = 1F;
62 this.lblSaveIn.LabelProp = global::Mono.Unix.Catalog.GetString ("in folder");
63 this.table.Add (this.lblSaveIn);
64 global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table [this.lblSaveIn]));
65 w4.TopAttach = ((uint)(1));
66 w4.BottomAttach = ((uint)(2));
67 w4.XOptions = ((global::Gtk.AttachOptions)(4));
68 w4.YOptions = ((global::Gtk.AttachOptions)(4));
69 // Container child table.Gtk.Table+TableChild
70 this.lblTransform = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
71 this.lblTransform.Sensitive = false;
72 this.lblTransform.Name = "lblTransform";
73 this.lblTransform.LabelProp = global::Mono.Unix.Catalog.GetString ("transform:");
74 this.table.Add (this.lblTransform);
75 global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table [this.lblTransform]));
76 w5.TopAttach = ((uint)(3));
77 w5.BottomAttach = ((uint)(4));
78 w5.XOptions = ((global::Gtk.AttachOptions)(4));
79 w5.YOptions = ((global::Gtk.AttachOptions)(4));
80 // Container child table.Gtk.Table+TableChild
81 this.saveAsName = new global::Gtk.Entry ();
82 this.saveAsName.CanFocus = true;
83 this.saveAsName.Name = "saveAsName";
84 this.saveAsName.IsEditable = true;
85 this.saveAsName.InvisibleChar = '●';
86 this.table.Add (this.saveAsName);
87 global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table [this.saveAsName]));
88 w6.LeftAttach = ((uint)(1));
89 w6.RightAttach = ((uint)(2));
90 w6.XOptions = ((global::Gtk.AttachOptions)(4));
91 w6.YOptions = ((global::Gtk.AttachOptions)(4));
92 // Container child table.Gtk.Table+TableChild
93 this.saveAsPath = new global::Gtk.FileChooserButton (global::Mono.Unix.Catalog.GetString ("Select A File"), ((global::Gtk.FileChooserAction)(2)));
94 this.saveAsPath.Name = "saveAsPath"; 26 this.saveAsPath.Name = "saveAsPath";
95 this.saveAsPath.WidthChars = 20; 27 this.saveAsPath.LocalOnly = false;
96 this.saveAsPath.DoOverwriteConfirmation = true; 28 this.saveAsPath.DoOverwriteConfirmation = true;
97 this.table.Add (this.saveAsPath); 29 w1.Add (this.saveAsPath);
98 global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table [this.saveAsPath])); 30 global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.saveAsPath]));
99 w7.TopAttach = ((uint)(1)); 31 w2.Position = 0;
100 w7.BottomAttach = ((uint)(2));
101 w7.LeftAttach = ((uint)(1));
102 w7.RightAttach = ((uint)(2));
103 w7.XOptions = ((global::Gtk.AttachOptions)(4));
104 w7.YOptions = ((global::Gtk.AttachOptions)(4));
105 // Container child table.Gtk.Table+TableChild
106 this.transformList = global::Gtk.ComboBox.NewText ();
107 this.transformList.Sensitive = false;
108 this.transformList.Name = "transformList";
109 this.table.Add (this.transformList);
110 global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table [this.transformList]));
111 w8.TopAttach = ((uint)(3));
112 w8.BottomAttach = ((uint)(4));
113 w8.LeftAttach = ((uint)(1));
114 w8.RightAttach = ((uint)(2));
115 w8.YOptions = ((global::Gtk.AttachOptions)(4));
116 w1.Add (this.table);
117 global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1 [this.table]));
118 w9.Position = 0;
119 w9.Expand = false;
120 w9.Fill = false;
121 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmExportXml.ActionArea 32 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmExportXml.ActionArea
122 global::Gtk.HButtonBox w10 = this.ActionArea; 33 global::Gtk.HButtonBox w3 = this.ActionArea;
123 w10.Name = "dialog1_ActionArea"; 34 w3.Name = "dialog1_ActionArea";
124 w10.Spacing = 10; 35 w3.Spacing = 10;
125 w10.BorderWidth = ((uint)(5)); 36 w3.BorderWidth = ((uint)(5));
126 w10.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); 37 w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
127 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild 38 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
128 this.buttonCancel = new global::Gtk.Button (); 39 this.buttonCancel = new global::Gtk.Button ();
129 this.buttonCancel.CanDefault = true; 40 this.buttonCancel.CanDefault = true;
130 this.buttonCancel.CanFocus = true; 41 this.buttonCancel.CanFocus = true;
131 this.buttonCancel.Name = "buttonCancel"; 42 this.buttonCancel.Name = "buttonCancel";
132 this.buttonCancel.UseStock = true; 43 this.buttonCancel.UseStock = true;
133 this.buttonCancel.UseUnderline = true; 44 this.buttonCancel.UseUnderline = true;
134 this.buttonCancel.Label = "gtk-cancel"; 45 this.buttonCancel.Label = "gtk-cancel";
135 this.AddActionWidget (this.buttonCancel, -6); 46 this.AddActionWidget (this.buttonCancel, -6);
136 global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10 [this.buttonCancel])); 47 global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonCancel]));
137 w11.Expand = false; 48 w4.Expand = false;
138 w11.Fill = false; 49 w4.Fill = false;
139 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild 50 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
140 this.buttonOk = new global::Gtk.Button (); 51 this.buttonOk = new global::Gtk.Button ();
141 this.buttonOk.CanDefault = true; 52 this.buttonOk.CanDefault = true;
142 this.buttonOk.CanFocus = true; 53 this.buttonOk.CanFocus = true;
143 this.buttonOk.Name = "buttonOk"; 54 this.buttonOk.Name = "buttonOk";
144 this.buttonOk.UseStock = true; 55 this.buttonOk.UseStock = true;
145 this.buttonOk.UseUnderline = true; 56 this.buttonOk.UseUnderline = true;
146 this.buttonOk.Label = "gtk-ok"; 57 this.buttonOk.Label = "gtk-ok";
147 this.AddActionWidget (this.buttonOk, -5); 58 this.AddActionWidget (this.buttonOk, -5);
148 global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10 [this.buttonOk])); 59 global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonOk]));
149 w12.Position = 1; 60 w5.Position = 1;
150 w12.Expand = false; 61 w5.Expand = false;
151 w12.Fill = false; 62 w5.Fill = false;
152 if ((this.Child != null)) { 63 if ((this.Child != null)) {
153 this.Child.ShowAll (); 64 this.Child.ShowAll ();
154 } 65 }
155 this.DefaultWidth = 397; 66 this.DefaultWidth = 634;
156 this.DefaultHeight = 300; 67 this.DefaultHeight = 468;
157 this.Show (); 68 this.Show ();
158 this.transformList.Changed += new global::System.EventHandler (this.OnTransformListChanged); 69 this.SizeAllocated += new global::Gtk.SizeAllocatedHandler (this.OnSizeAllocated);
159 this.saveAsPath.SelectionChanged += new global::System.EventHandler (this.OnSaveAsPathSelectionChanged); 70 this.saveAsPath.SelectionChanged += new global::System.EventHandler (this.OnSaveAsPathSelectionChanged);
160 this.saveAsName.Changed += new global::System.EventHandler (this.OnSaveAsNameChanged);
161 this.doTransformWidget.Toggled += new global::System.EventHandler (this.OnDoTransformWidgetToggled);
162 this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); 71 this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked);
163 this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); 72 this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
164 } 73 }
165 } 74 }
166 } 75 }