Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
comparison gtk-gui/gui.stetic @ 132:cff58ea990c4
Fixes #361: Add XML export UI to GTK#
* Use translatable widgets
* Add English translations
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 08 Oct 2011 20:33:37 +0100 |
parents | d5a631a8d288 |
children | 560eb34acd17 |
comparison
equal
deleted
inserted
replaced
131:0d8004d6a4e5 | 132:cff58ea990c4 |
---|---|
8 <widget-library name="../../IBBoard.GtkSharp/bin/Debug/IBBoard.GtkSharp.dll" /> | 8 <widget-library name="../../IBBoard.GtkSharp/bin/Debug/IBBoard.GtkSharp.dll" /> |
9 <widget-library name="../bin/Debug/WarFoundry-GTK.exe" internal="true" /> | 9 <widget-library name="../bin/Debug/WarFoundry-GTK.exe" internal="true" /> |
10 </import> | 10 </import> |
11 <widget class="Gtk.Window" id="IBBoard.WarFoundry.GUI.GTK.FrmMainWindow" design-size="832 659"> | 11 <widget class="Gtk.Window" id="IBBoard.WarFoundry.GUI.GTK.FrmMainWindow" design-size="832 659"> |
12 <action-group name="Default"> | 12 <action-group name="Default"> |
13 <action id="menuFile"> | 13 <action id="FileAction"> |
14 <property name="Type">Action</property> | 14 <property name="Type">Action</property> |
15 <property name="Label" translatable="yes">File</property> | 15 <property name="Label" translatable="yes">File</property> |
16 <property name="ShortLabel" translatable="yes">File</property> | 16 <property name="ShortLabel" translatable="yes">File</property> |
17 </action> | 17 </action> |
18 <action id="miNewArmy"> | 18 <action id="miNewArmy"> |
163 <property name="Label" translatable="yes">preferences</property> | 163 <property name="Label" translatable="yes">preferences</property> |
164 <property name="ShortLabel" translatable="yes">preferences</property> | 164 <property name="ShortLabel" translatable="yes">preferences</property> |
165 <property name="StockId">gtk-preferences</property> | 165 <property name="StockId">gtk-preferences</property> |
166 <signal name="Activated" handler="miPreferencesClicked" /> | 166 <signal name="Activated" handler="miPreferencesClicked" /> |
167 </action> | 167 </action> |
168 <action id="transformedXmlAction"> | 168 <action id="miExportArmyAsTransformedXml"> |
169 <property name="Type">Action</property> | 169 <property name="Type">Action</property> |
170 <property name="Label" translatable="yes">transformed xml</property> | 170 <property name="Label" translatable="yes">transformed xml</property> |
171 <property name="ShortLabel" translatable="yes">transformed xml</property> | 171 <property name="ShortLabel" translatable="yes">transformed xml</property> |
172 <signal name="Activated" handler="OnTransformedXmlActionActivated" /> | 172 <signal name="Activated" handler="OnTransformedXmlActionActivated" /> |
173 </action> | 173 </action> |
180 <property name="MemberName" /> | 180 <property name="MemberName" /> |
181 <child> | 181 <child> |
182 <widget class="Gtk.MenuBar" id="menubar1"> | 182 <widget class="Gtk.MenuBar" id="menubar1"> |
183 <property name="MemberName" /> | 183 <property name="MemberName" /> |
184 <node name="menubar1" type="Menubar"> | 184 <node name="menubar1" type="Menubar"> |
185 <node type="Menu" action="menuFile"> | 185 <node type="Menu" action="FileAction"> |
186 <node type="Menuitem" action="miNewArmy" /> | 186 <node type="Menuitem" action="miNewArmy" /> |
187 <node type="Menuitem" action="miOpenArmy" /> | 187 <node type="Menuitem" action="miOpenArmy" /> |
188 <node type="Menuitem" action="miSaveArmy" /> | 188 <node type="Menuitem" action="miSaveArmy" /> |
189 <node type="Menuitem" action="miSaveArmyAs" /> | 189 <node type="Menuitem" action="miSaveArmyAs" /> |
190 <node type="Menu" action="miExportArmyAs"> | 190 <node type="Menu" action="miExportArmyAs"> |
191 <node type="Menuitem" action="miExportArmyAsBasicHTML" /> | 191 <node type="Menuitem" action="miExportArmyAsBasicHTML" /> |
192 <node type="Menuitem" action="transformedXmlAction" /> | 192 <node type="Menuitem" action="miExportArmyAsTransformedXml" /> |
193 </node> | 193 </node> |
194 <node type="Menuitem" action="miCloseArmy" /> | 194 <node type="Menuitem" action="miCloseArmy" /> |
195 <node type="Separator" /> | 195 <node type="Separator" /> |
196 <node type="Menuitem" action="miReloadFiles" /> | 196 <node type="Menuitem" action="miReloadFiles" /> |
197 <node type="Separator" /> | 197 <node type="Separator" /> |
2530 </packing> | 2530 </packing> |
2531 </child> | 2531 </child> |
2532 </widget> | 2532 </widget> |
2533 </child> | 2533 </child> |
2534 </widget> | 2534 </widget> |
2535 <widget class="Gtk.Bin" id="IBBoard.WarFoundry.GUI.GTK.TransformXmlWidget" design-size="300 55"> | 2535 <widget class="Gtk.Bin" id="IBBoard.WarFoundry.GUI.GTK.TransformXmlWidget" design-size="348 55"> |
2536 <property name="MemberName" /> | 2536 <property name="MemberName" /> |
2537 <property name="Visible">False</property> | 2537 <property name="Visible">False</property> |
2538 <child> | 2538 <child> |
2539 <widget class="Gtk.Table" id="table1"> | 2539 <widget class="Gtk.Table" id="table1"> |
2540 <property name="MemberName" /> | 2540 <property name="MemberName" /> |
2544 <property name="ColumnSpacing">6</property> | 2544 <property name="ColumnSpacing">6</property> |
2545 <child> | 2545 <child> |
2546 <placeholder /> | 2546 <placeholder /> |
2547 </child> | 2547 </child> |
2548 <child> | 2548 <child> |
2549 <widget class="Gtk.CheckButton" id="doTransformWidget"> | 2549 <widget class="IBBoard.GtkSharp.Translatable.TranslatableCheckButton" id="doTransformWidget"> |
2550 <property name="MemberName" /> | 2550 <property name="MemberName" /> |
2551 <property name="CanFocus">True</property> | 2551 <property name="CanFocus">True</property> |
2552 <property name="Label" translatable="yes">transform output</property> | 2552 <property name="Label" translatable="yes">transform output</property> |
2553 <property name="DrawIndicator">True</property> | 2553 <property name="DrawIndicator">True</property> |
2554 <property name="HasLabel">True</property> | 2554 <property name="HasLabel">True</property> |