Add DataFormatOptionsDialog to the GTK GUI

This commit is contained in:
Michael Becker 2014-08-10 23:46:33 -04:00
parent 8f3c9a62a4
commit 0e56e7c4ae
3 changed files with 114 additions and 3 deletions

View File

@ -70,6 +70,8 @@
<Compile Include="gtk-gui\UniversalEditor.Engines.GTK.ObjectModelBrowser.cs" />
<Compile Include="Dialogs\AboutDialog.cs" />
<Compile Include="gtk-gui\UniversalEditor.Engines.GTK.Dialogs.AboutDialog.cs" />
<Compile Include="Dialogs\DataFormatOptionsDialog.cs" />
<Compile Include="gtk-gui\UniversalEditor.Engines.GTK.Dialogs.DataFormatOptionsDialog.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>

View File

@ -1,9 +1,60 @@
namespace UniversalEditor.Engines.GTK
// This file has been generated by the GUI designer. Do not modify.
namespace UniversalEditor.Engines.GTK.Dialogs
{
public partial class DataFormatOptionsDialog
{
private Gtk.Button buttonCancel;
private Gtk.Button buttonOk;
private global::Gtk.Button buttonCancel;
private global::Gtk.Button buttonOk;
protected virtual void Build ()
{
global::Stetic.Gui.Initialize (this);
// Widget UniversalEditor.Engines.GTK.Dialogs.DataFormatOptionsDialog
this.Name = "UniversalEditor.Engines.GTK.Dialogs.DataFormatOptionsDialog";
this.Title = global::Mono.Unix.Catalog.GetString ("Data Format Options");
this.WindowPosition = ((global::Gtk.WindowPosition)(4));
// Internal child UniversalEditor.Engines.GTK.Dialogs.DataFormatOptionsDialog.VBox
global::Gtk.VBox w1 = this.VBox;
w1.Name = "dialog1_VBox";
w1.BorderWidth = ((uint)(2));
// Internal child UniversalEditor.Engines.GTK.Dialogs.DataFormatOptionsDialog.ActionArea
global::Gtk.HButtonBox w2 = this.ActionArea;
w2.Name = "dialog1_ActionArea";
w2.Spacing = 10;
w2.BorderWidth = ((uint)(5));
w2.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
this.buttonCancel = new global::Gtk.Button ();
this.buttonCancel.CanDefault = true;
this.buttonCancel.CanFocus = true;
this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.UseStock = true;
this.buttonCancel.UseUnderline = true;
this.buttonCancel.Label = "gtk-cancel";
this.AddActionWidget (this.buttonCancel, -6);
global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w2 [this.buttonCancel]));
w3.Expand = false;
w3.Fill = false;
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
this.buttonOk = new global::Gtk.Button ();
this.buttonOk.CanDefault = true;
this.buttonOk.CanFocus = true;
this.buttonOk.Name = "buttonOk";
this.buttonOk.UseStock = true;
this.buttonOk.UseUnderline = true;
this.buttonOk.Label = "gtk-ok";
this.AddActionWidget (this.buttonOk, -5);
global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w2 [this.buttonOk]));
w4.Position = 1;
w4.Expand = false;
w4.Fill = false;
if ((this.Child != null)) {
this.Child.ShowAll ();
}
this.DefaultWidth = 476;
this.DefaultHeight = 300;
this.Show ();
}
}
}

View File

@ -567,4 +567,62 @@ This implementation of the Universal Editor Platform is primarily developed and
</widget>
</child>
</widget>
<widget class="Gtk.Dialog" id="UniversalEditor.Engines.GTK.Dialogs.DataFormatOptionsDialog" design-size="476 300">
<property name="MemberName" />
<property name="Title" translatable="yes">Data Format Options</property>
<property name="WindowPosition">CenterOnParent</property>
<property name="Buttons">2</property>
<property name="HelpButton">False</property>
<child internal-child="VBox">
<widget class="Gtk.VBox" id="dialog1_VBox">
<property name="MemberName" />
<property name="BorderWidth">2</property>
<child>
<placeholder />
</child>
</widget>
</child>
<child internal-child="ActionArea">
<widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
<property name="MemberName" />
<property name="Spacing">10</property>
<property name="BorderWidth">5</property>
<property name="Size">2</property>
<property name="LayoutStyle">End</property>
<child>
<widget class="Gtk.Button" id="buttonCancel">
<property name="MemberName" />
<property name="CanDefault">True</property>
<property name="CanFocus">True</property>
<property name="UseStock">True</property>
<property name="Type">StockItem</property>
<property name="StockId">gtk-cancel</property>
<property name="ResponseId">-6</property>
<property name="label">gtk-cancel</property>
</widget>
<packing>
<property name="Expand">False</property>
<property name="Fill">False</property>
</packing>
</child>
<child>
<widget class="Gtk.Button" id="buttonOk">
<property name="MemberName" />
<property name="CanDefault">True</property>
<property name="CanFocus">True</property>
<property name="UseStock">True</property>
<property name="Type">StockItem</property>
<property name="StockId">gtk-ok</property>
<property name="ResponseId">-5</property>
<property name="label">gtk-ok</property>
</widget>
<packing>
<property name="Position">1</property>
<property name="Expand">False</property>
<property name="Fill">False</property>
</packing>
</child>
</widget>
</child>
</widget>
</stetic-interface>