Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
comparison gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmExportXml.cs @ 122:2479414b16f6
Re #361: Add XML output to GTK GUI
* Add initial form and load XSLT file list
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 27 Sep 2011 21:01:49 +0100 |
parents | |
children | f58f69ea2435 |
comparison
equal
deleted
inserted
replaced
121:3ec818926241 | 122:2479414b16f6 |
---|---|
1 | |
2 // This file has been generated by the GUI designer. Do not modify. | |
3 namespace IBBoard.WarFoundry.GUI.GTK | |
4 { | |
5 public partial class FrmExportXml | |
6 { | |
7 private global::Gtk.Table table; | |
8 private global::Gtk.CheckButton doTransformWidget; | |
9 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblOutputFile; | |
10 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblTransform; | |
11 private global::Gtk.FileChooserButton saveAsPath; | |
12 private global::Gtk.ComboBox transformList; | |
13 private global::Gtk.Button buttonCancel; | |
14 private global::Gtk.Button buttonOk; | |
15 | |
16 protected virtual void Build () | |
17 { | |
18 global::Stetic.Gui.Initialize (this); | |
19 // Widget IBBoard.WarFoundry.GUI.GTK.FrmExportXml | |
20 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmExportXml"; | |
21 this.WindowPosition = ((global::Gtk.WindowPosition)(4)); | |
22 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmExportXml.VBox | |
23 global::Gtk.VBox w1 = this.VBox; | |
24 w1.Name = "dialog1_VBox"; | |
25 w1.BorderWidth = ((uint)(2)); | |
26 // Container child dialog1_VBox.Gtk.Box+BoxChild | |
27 this.table = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); | |
28 this.table.Name = "table"; | |
29 this.table.RowSpacing = ((uint)(6)); | |
30 this.table.ColumnSpacing = ((uint)(6)); | |
31 // Container child table.Gtk.Table+TableChild | |
32 this.doTransformWidget = new global::Gtk.CheckButton (); | |
33 this.doTransformWidget.CanFocus = true; | |
34 this.doTransformWidget.Name = "doTransformWidget"; | |
35 this.doTransformWidget.Label = global::Mono.Unix.Catalog.GetString ("Transform output?"); | |
36 this.doTransformWidget.DrawIndicator = true; | |
37 this.doTransformWidget.UseUnderline = true; | |
38 this.table.Add (this.doTransformWidget); | |
39 global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table [this.doTransformWidget])); | |
40 w2.TopAttach = ((uint)(1)); | |
41 w2.BottomAttach = ((uint)(2)); | |
42 w2.LeftAttach = ((uint)(1)); | |
43 w2.RightAttach = ((uint)(2)); | |
44 w2.XOptions = ((global::Gtk.AttachOptions)(4)); | |
45 w2.YOptions = ((global::Gtk.AttachOptions)(4)); | |
46 // Container child table.Gtk.Table+TableChild | |
47 this.lblOutputFile = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel (); | |
48 this.lblOutputFile.Name = "lblOutputFile"; | |
49 this.lblOutputFile.Xalign = 1F; | |
50 this.lblOutputFile.LabelProp = global::Mono.Unix.Catalog.GetString ("Save as:"); | |
51 this.table.Add (this.lblOutputFile); | |
52 global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table [this.lblOutputFile])); | |
53 w3.XOptions = ((global::Gtk.AttachOptions)(4)); | |
54 w3.YOptions = ((global::Gtk.AttachOptions)(4)); | |
55 // Container child table.Gtk.Table+TableChild | |
56 this.lblTransform = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel (); | |
57 this.lblTransform.Sensitive = false; | |
58 this.lblTransform.Name = "lblTransform"; | |
59 this.lblTransform.LabelProp = global::Mono.Unix.Catalog.GetString ("Transform:"); | |
60 this.table.Add (this.lblTransform); | |
61 global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table [this.lblTransform])); | |
62 w4.TopAttach = ((uint)(2)); | |
63 w4.BottomAttach = ((uint)(3)); | |
64 w4.XOptions = ((global::Gtk.AttachOptions)(4)); | |
65 w4.YOptions = ((global::Gtk.AttachOptions)(4)); | |
66 // Container child table.Gtk.Table+TableChild | |
67 this.saveAsPath = new global::Gtk.FileChooserButton (global::Mono.Unix.Catalog.GetString ("Select A File"), ((global::Gtk.FileChooserAction)(0))); | |
68 this.saveAsPath.Name = "saveAsPath"; | |
69 this.table.Add (this.saveAsPath); | |
70 global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table [this.saveAsPath])); | |
71 w5.LeftAttach = ((uint)(1)); | |
72 w5.RightAttach = ((uint)(2)); | |
73 w5.XOptions = ((global::Gtk.AttachOptions)(4)); | |
74 w5.YOptions = ((global::Gtk.AttachOptions)(4)); | |
75 // Container child table.Gtk.Table+TableChild | |
76 this.transformList = global::Gtk.ComboBox.NewText (); | |
77 this.transformList.Sensitive = false; | |
78 this.transformList.Name = "transformList"; | |
79 this.table.Add (this.transformList); | |
80 global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table [this.transformList])); | |
81 w6.TopAttach = ((uint)(2)); | |
82 w6.BottomAttach = ((uint)(3)); | |
83 w6.LeftAttach = ((uint)(1)); | |
84 w6.RightAttach = ((uint)(2)); | |
85 w6.XOptions = ((global::Gtk.AttachOptions)(4)); | |
86 w6.YOptions = ((global::Gtk.AttachOptions)(4)); | |
87 w1.Add (this.table); | |
88 global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1 [this.table])); | |
89 w7.Position = 0; | |
90 w7.Expand = false; | |
91 w7.Fill = false; | |
92 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmExportXml.ActionArea | |
93 global::Gtk.HButtonBox w8 = this.ActionArea; | |
94 w8.Name = "dialog1_ActionArea"; | |
95 w8.Spacing = 10; | |
96 w8.BorderWidth = ((uint)(5)); | |
97 w8.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); | |
98 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild | |
99 this.buttonCancel = new global::Gtk.Button (); | |
100 this.buttonCancel.CanDefault = true; | |
101 this.buttonCancel.CanFocus = true; | |
102 this.buttonCancel.Name = "buttonCancel"; | |
103 this.buttonCancel.UseStock = true; | |
104 this.buttonCancel.UseUnderline = true; | |
105 this.buttonCancel.Label = "gtk-cancel"; | |
106 this.AddActionWidget (this.buttonCancel, -6); | |
107 global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonCancel])); | |
108 w9.Expand = false; | |
109 w9.Fill = false; | |
110 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild | |
111 this.buttonOk = new global::Gtk.Button (); | |
112 this.buttonOk.CanDefault = true; | |
113 this.buttonOk.CanFocus = true; | |
114 this.buttonOk.Name = "buttonOk"; | |
115 this.buttonOk.UseStock = true; | |
116 this.buttonOk.UseUnderline = true; | |
117 this.buttonOk.Label = "gtk-ok"; | |
118 this.AddActionWidget (this.buttonOk, -5); | |
119 global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonOk])); | |
120 w10.Position = 1; | |
121 w10.Expand = false; | |
122 w10.Fill = false; | |
123 if ((this.Child != null)) { | |
124 this.Child.ShowAll (); | |
125 } | |
126 this.DefaultWidth = 400; | |
127 this.DefaultHeight = 300; | |
128 this.Show (); | |
129 this.doTransformWidget.Toggled += new global::System.EventHandler (this.OnDoTransformWidgetToggled); | |
130 } | |
131 } | |
132 } |