Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
comparison gtk-gui/gui.stetic @ 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 | 76b73f15d07e |
children | f58f69ea2435 |
comparison
equal
deleted
inserted
replaced
121:3ec818926241 | 122:2479414b16f6 |
---|---|
3 <configuration> | 3 <configuration> |
4 <images-root-path>..</images-root-path> | 4 <images-root-path>..</images-root-path> |
5 <target-gtk-version>2.12</target-gtk-version> | 5 <target-gtk-version>2.12</target-gtk-version> |
6 </configuration> | 6 </configuration> |
7 <import> | 7 <import> |
8 <widget-library name="../../IBBoard.GtkSharp/bin/Release/IBBoard.GtkSharp.dll" /> | 8 <widget-library name="../../IBBoard.GtkSharp/bin/Debug/IBBoard.GtkSharp.dll" /> |
9 <widget-library name="../bin/Release/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="menuFile"> |
14 <property name="Type">Action</property> | 14 <property name="Type">Action</property> |
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"> | |
169 <property name="Type">Action</property> | |
170 <property name="Label" translatable="yes">transformed xml</property> | |
171 <property name="ShortLabel" translatable="yes">transformed xml</property> | |
172 <signal name="Activated" handler="OnTransformedXmlActionActivated" /> | |
173 </action> | |
168 </action-group> | 174 </action-group> |
169 <property name="MemberName" /> | 175 <property name="MemberName" /> |
170 <property name="Title" translatable="yes">MainWindow</property> | 176 <property name="Title" translatable="yes">MainWindow</property> |
171 <property name="Icon">resource:App.ico</property> | 177 <property name="Icon">resource:App.ico</property> |
172 <child> | 178 <child> |
181 <node type="Menuitem" action="miOpenArmy" /> | 187 <node type="Menuitem" action="miOpenArmy" /> |
182 <node type="Menuitem" action="miSaveArmy" /> | 188 <node type="Menuitem" action="miSaveArmy" /> |
183 <node type="Menuitem" action="miSaveArmyAs" /> | 189 <node type="Menuitem" action="miSaveArmyAs" /> |
184 <node type="Menu" action="miExportArmyAs"> | 190 <node type="Menu" action="miExportArmyAs"> |
185 <node type="Menuitem" action="miExportArmyAsBasicHTML" /> | 191 <node type="Menuitem" action="miExportArmyAsBasicHTML" /> |
192 <node type="Menuitem" action="transformedXmlAction" /> | |
186 </node> | 193 </node> |
187 <node type="Menuitem" action="miCloseArmy" /> | 194 <node type="Menuitem" action="miCloseArmy" /> |
188 <node type="Separator" /> | 195 <node type="Separator" /> |
189 <node type="Menuitem" action="miReloadFiles" /> | 196 <node type="Menuitem" action="miReloadFiles" /> |
190 <node type="Separator" /> | 197 <node type="Separator" /> |
2523 </packing> | 2530 </packing> |
2524 </child> | 2531 </child> |
2525 </widget> | 2532 </widget> |
2526 </child> | 2533 </child> |
2527 </widget> | 2534 </widget> |
2535 <widget class="Gtk.Dialog" id="IBBoard.WarFoundry.GUI.GTK.FrmExportXml" design-size="400 300"> | |
2536 <property name="MemberName" /> | |
2537 <property name="WindowPosition">CenterOnParent</property> | |
2538 <property name="Buttons">2</property> | |
2539 <property name="HelpButton">False</property> | |
2540 <child internal-child="VBox"> | |
2541 <widget class="Gtk.VBox" id="dialog1_VBox"> | |
2542 <property name="MemberName" /> | |
2543 <property name="BorderWidth">2</property> | |
2544 <child> | |
2545 <widget class="Gtk.Table" id="table"> | |
2546 <property name="MemberName" /> | |
2547 <property name="NRows">3</property> | |
2548 <property name="NColumns">2</property> | |
2549 <property name="RowSpacing">6</property> | |
2550 <property name="ColumnSpacing">6</property> | |
2551 <child> | |
2552 <placeholder /> | |
2553 </child> | |
2554 <child> | |
2555 <widget class="Gtk.CheckButton" id="doTransformWidget"> | |
2556 <property name="MemberName" /> | |
2557 <property name="CanFocus">True</property> | |
2558 <property name="Label" translatable="yes">Transform output?</property> | |
2559 <property name="DrawIndicator">True</property> | |
2560 <property name="HasLabel">True</property> | |
2561 <property name="UseUnderline">True</property> | |
2562 <signal name="Toggled" handler="OnDoTransformWidgetToggled" /> | |
2563 </widget> | |
2564 <packing> | |
2565 <property name="TopAttach">1</property> | |
2566 <property name="BottomAttach">2</property> | |
2567 <property name="LeftAttach">1</property> | |
2568 <property name="RightAttach">2</property> | |
2569 <property name="AutoSize">True</property> | |
2570 <property name="XOptions">Fill</property> | |
2571 <property name="YOptions">Fill</property> | |
2572 <property name="XExpand">False</property> | |
2573 <property name="XFill">True</property> | |
2574 <property name="XShrink">False</property> | |
2575 <property name="YExpand">False</property> | |
2576 <property name="YFill">True</property> | |
2577 <property name="YShrink">False</property> | |
2578 </packing> | |
2579 </child> | |
2580 <child> | |
2581 <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblOutputFile"> | |
2582 <property name="MemberName" /> | |
2583 <property name="Xalign">1</property> | |
2584 <property name="LabelProp" translatable="yes">Save as:</property> | |
2585 </widget> | |
2586 <packing> | |
2587 <property name="AutoSize">True</property> | |
2588 <property name="XOptions">Fill</property> | |
2589 <property name="YOptions">Fill</property> | |
2590 <property name="XExpand">False</property> | |
2591 <property name="XFill">True</property> | |
2592 <property name="XShrink">False</property> | |
2593 <property name="YExpand">False</property> | |
2594 <property name="YFill">True</property> | |
2595 <property name="YShrink">False</property> | |
2596 </packing> | |
2597 </child> | |
2598 <child> | |
2599 <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblTransform"> | |
2600 <property name="MemberName" /> | |
2601 <property name="Sensitive">False</property> | |
2602 <property name="LabelProp" translatable="yes">Transform:</property> | |
2603 </widget> | |
2604 <packing> | |
2605 <property name="TopAttach">2</property> | |
2606 <property name="BottomAttach">3</property> | |
2607 <property name="AutoSize">True</property> | |
2608 <property name="XOptions">Fill</property> | |
2609 <property name="YOptions">Fill</property> | |
2610 <property name="XExpand">False</property> | |
2611 <property name="XFill">True</property> | |
2612 <property name="XShrink">False</property> | |
2613 <property name="YExpand">False</property> | |
2614 <property name="YFill">True</property> | |
2615 <property name="YShrink">False</property> | |
2616 </packing> | |
2617 </child> | |
2618 <child> | |
2619 <widget class="Gtk.FileChooserButton" id="saveAsPath"> | |
2620 <property name="MemberName" /> | |
2621 </widget> | |
2622 <packing> | |
2623 <property name="LeftAttach">1</property> | |
2624 <property name="RightAttach">2</property> | |
2625 <property name="AutoSize">True</property> | |
2626 <property name="XOptions">Fill</property> | |
2627 <property name="YOptions">Fill</property> | |
2628 <property name="XExpand">False</property> | |
2629 <property name="XFill">True</property> | |
2630 <property name="XShrink">False</property> | |
2631 <property name="YExpand">False</property> | |
2632 <property name="YFill">True</property> | |
2633 <property name="YShrink">False</property> | |
2634 </packing> | |
2635 </child> | |
2636 <child> | |
2637 <widget class="Gtk.ComboBox" id="transformList"> | |
2638 <property name="MemberName" /> | |
2639 <property name="Sensitive">False</property> | |
2640 <property name="IsTextCombo">True</property> | |
2641 <property name="Items" translatable="yes" /> | |
2642 </widget> | |
2643 <packing> | |
2644 <property name="TopAttach">2</property> | |
2645 <property name="BottomAttach">3</property> | |
2646 <property name="LeftAttach">1</property> | |
2647 <property name="RightAttach">2</property> | |
2648 <property name="AutoSize">True</property> | |
2649 <property name="XOptions">Fill</property> | |
2650 <property name="YOptions">Fill</property> | |
2651 <property name="XExpand">False</property> | |
2652 <property name="XFill">True</property> | |
2653 <property name="XShrink">False</property> | |
2654 <property name="YExpand">False</property> | |
2655 <property name="YFill">True</property> | |
2656 <property name="YShrink">False</property> | |
2657 </packing> | |
2658 </child> | |
2659 </widget> | |
2660 <packing> | |
2661 <property name="Position">0</property> | |
2662 <property name="AutoSize">True</property> | |
2663 <property name="Expand">False</property> | |
2664 <property name="Fill">False</property> | |
2665 </packing> | |
2666 </child> | |
2667 </widget> | |
2668 </child> | |
2669 <child internal-child="ActionArea"> | |
2670 <widget class="Gtk.HButtonBox" id="dialog1_ActionArea"> | |
2671 <property name="MemberName" /> | |
2672 <property name="Spacing">10</property> | |
2673 <property name="BorderWidth">5</property> | |
2674 <property name="Size">2</property> | |
2675 <property name="LayoutStyle">End</property> | |
2676 <child> | |
2677 <widget class="Gtk.Button" id="buttonCancel"> | |
2678 <property name="MemberName" /> | |
2679 <property name="CanDefault">True</property> | |
2680 <property name="CanFocus">True</property> | |
2681 <property name="UseStock">True</property> | |
2682 <property name="Type">StockItem</property> | |
2683 <property name="StockId">gtk-cancel</property> | |
2684 <property name="ResponseId">-6</property> | |
2685 <property name="label">gtk-cancel</property> | |
2686 </widget> | |
2687 <packing> | |
2688 <property name="Expand">False</property> | |
2689 <property name="Fill">False</property> | |
2690 </packing> | |
2691 </child> | |
2692 <child> | |
2693 <widget class="Gtk.Button" id="buttonOk"> | |
2694 <property name="MemberName" /> | |
2695 <property name="CanDefault">True</property> | |
2696 <property name="CanFocus">True</property> | |
2697 <property name="UseStock">True</property> | |
2698 <property name="Type">StockItem</property> | |
2699 <property name="StockId">gtk-ok</property> | |
2700 <property name="ResponseId">-5</property> | |
2701 <property name="label">gtk-ok</property> | |
2702 </widget> | |
2703 <packing> | |
2704 <property name="Position">1</property> | |
2705 <property name="Expand">False</property> | |
2706 <property name="Fill">False</property> | |
2707 </packing> | |
2708 </child> | |
2709 </widget> | |
2710 </child> | |
2711 </widget> | |
2528 </stetic-interface> | 2712 </stetic-interface> |