2010-11-01 14:30:23 +01:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<interface>
|
|
|
|
<requires lib="gtk+" version="2.16"/>
|
|
|
|
<!-- interface-naming-policy project-wide -->
|
|
|
|
<object class="GtkHBox" id="whiteboard_hbox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
<child>
|
2010-11-03 19:10:20 +01:00
|
|
|
<object class="GtkVBox" id="vbuttonbox1">
|
2010-11-01 14:30:23 +01:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="border_width">6</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkToggleButton" id="brush_button">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
2010-11-03 19:10:20 +01:00
|
|
|
<property name="tooltip_text" translatable="yes">Brush Tool: Draw freehand lines</property>
|
2010-11-01 14:30:23 +01:00
|
|
|
<signal name="toggled" handler="on_brush_button_toggled"/>
|
|
|
|
<child>
|
2010-11-03 19:10:20 +01:00
|
|
|
<object class="GtkImage" id="image5">
|
2010-11-01 14:30:23 +01:00
|
|
|
<property name="visible">True</property>
|
2010-11-03 19:10:20 +01:00
|
|
|
<property name="stock">brush_tool</property>
|
2010-11-01 14:30:23 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkToggleButton" id="oval_button">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
2010-11-03 19:10:20 +01:00
|
|
|
<property name="tooltip_text" translatable="yes">Oval Tool: Create circles and ellipses</property>
|
2010-11-01 14:30:23 +01:00
|
|
|
<signal name="toggled" handler="on_oval_button_toggled"/>
|
|
|
|
<child>
|
2010-11-03 19:10:20 +01:00
|
|
|
<object class="GtkImage" id="image6">
|
2010-11-01 14:30:23 +01:00
|
|
|
<property name="visible">True</property>
|
2010-11-03 19:10:20 +01:00
|
|
|
<property name="stock">oval_tool</property>
|
2010-11-01 14:30:23 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkToggleButton" id="line_button">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
2010-11-03 19:10:20 +01:00
|
|
|
<property name="tooltip_text" translatable="yes">Line Tool: Draw straight lines</property>
|
2010-11-01 14:30:23 +01:00
|
|
|
<signal name="toggled" handler="on_line_button_toggled"/>
|
|
|
|
<child>
|
2010-11-03 19:10:20 +01:00
|
|
|
<object class="GtkImage" id="image7">
|
2010-11-01 14:30:23 +01:00
|
|
|
<property name="visible">True</property>
|
2010-11-03 19:10:20 +01:00
|
|
|
<property name="stock">line_tool</property>
|
2010-11-01 14:30:23 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkToggleButton" id="delete_button">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
2010-11-03 19:10:20 +01:00
|
|
|
<property name="tooltip_text" translatable="yes">Delete Tool: Removal of the individual figures</property>
|
2010-11-01 14:30:23 +01:00
|
|
|
<signal name="toggled" handler="on_delete_button_toggled"/>
|
|
|
|
<child>
|
2010-11-03 19:10:20 +01:00
|
|
|
<object class="GtkImage" id="image2">
|
2010-11-01 14:30:23 +01:00
|
|
|
<property name="visible">True</property>
|
2010-11-03 19:10:20 +01:00
|
|
|
<property name="stock">gtk-delete</property>
|
2010-11-01 14:30:23 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="clear_button">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
2010-11-03 19:10:20 +01:00
|
|
|
<property name="tooltip_text" translatable="yes">Clear Canvas: Cleanup Canvas</property>
|
2010-11-01 14:30:23 +01:00
|
|
|
<signal name="clicked" handler="on_clear_button_clicked"/>
|
|
|
|
<child>
|
2010-11-03 19:10:20 +01:00
|
|
|
<object class="GtkImage" id="image3">
|
2010-11-01 14:30:23 +01:00
|
|
|
<property name="visible">True</property>
|
2010-11-03 19:10:20 +01:00
|
|
|
<property name="stock">gtk-clear</property>
|
2010-11-01 14:30:23 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">4</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="export_button">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
2010-11-03 19:10:20 +01:00
|
|
|
<property name="tooltip_text" translatable="yes">Export Images: Save image to file</property>
|
2010-11-01 14:30:23 +01:00
|
|
|
<signal name="clicked" handler="on_export_button_clicked"/>
|
|
|
|
<child>
|
2010-11-03 19:10:20 +01:00
|
|
|
<object class="GtkImage" id="image4">
|
2010-11-01 14:30:23 +01:00
|
|
|
<property name="visible">True</property>
|
2010-11-03 19:10:20 +01:00
|
|
|
<property name="stock">gtk-save-as</property>
|
2010-11-01 14:30:23 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">5</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2010-11-03 19:10:20 +01:00
|
|
|
<object class="GtkVScale" id="size_scale">
|
|
|
|
<property name="height_request">68</property>
|
2010-11-01 14:30:23 +01:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
2010-11-03 19:10:20 +01:00
|
|
|
<property name="tooltip_text" translatable="yes">Linewidth</property>
|
|
|
|
<property name="orientation">vertical</property>
|
2010-11-01 14:30:23 +01:00
|
|
|
<property name="adjustment">adjustment1</property>
|
2010-11-03 19:10:20 +01:00
|
|
|
<property name="inverted">True</property>
|
2010-11-01 14:30:23 +01:00
|
|
|
<property name="digits">0</property>
|
2010-11-03 19:10:20 +01:00
|
|
|
<property name="value_pos">bottom</property>
|
2010-11-01 14:30:23 +01:00
|
|
|
<signal name="value_changed" handler="on_size_scale_format_value"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">6</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2010-11-03 19:10:20 +01:00
|
|
|
<object class="GtkColorButton" id="fg_color_button">
|
2010-11-01 14:30:23 +01:00
|
|
|
<property name="visible">True</property>
|
2010-11-03 19:10:20 +01:00
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="tooltip_text" translatable="yes">Foreground Color</property>
|
|
|
|
<property name="color">#000000000000</property>
|
|
|
|
<signal name="color_set" handler="on_fg_color_button_color_set"/>
|
2010-11-01 14:30:23 +01:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">7</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<object class="GtkImage" id="image1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="stock">gtk-delete</property>
|
|
|
|
</object>
|
|
|
|
<object class="GtkAdjustment" id="adjustment1">
|
|
|
|
<property name="value">2</property>
|
|
|
|
<property name="lower">1</property>
|
|
|
|
<property name="upper">110</property>
|
|
|
|
<property name="step_increment">1</property>
|
|
|
|
<property name="page_increment">10</property>
|
|
|
|
<property name="page_size">10</property>
|
|
|
|
</object>
|
|
|
|
</interface>
|