|
|
@ -1,92 +1,84 @@ |
|
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
|
<!-- Generated with glade 3.22.2 --> |
|
|
|
<!-- Generated with glade 3.38.2 --> |
|
|
|
<interface> |
|
|
|
<requires lib="gtk+" version="3.24"/> |
|
|
|
<object class="GtkAdjustment" id="adjustment1"> |
|
|
|
<property name="upper">100</property> |
|
|
|
<property name="step_increment">1</property> |
|
|
|
<property name="page_increment">10</property> |
|
|
|
</object> |
|
|
|
<object class="GtkWindow" id="util_window"> |
|
|
|
<property name="width_request">800</property> |
|
|
|
<property name="height_request">600</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<child type="titlebar"> |
|
|
|
<placeholder/> |
|
|
|
</child> |
|
|
|
<property name="width-request">800</property> |
|
|
|
<property name="height-request">600</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<child> |
|
|
|
<object class="GtkLayout" id="util_layout"> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="margin_left">10</property> |
|
|
|
<property name="margin_right">10</property> |
|
|
|
<property name="margin_bottom">3</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="margin-left">10</property> |
|
|
|
<property name="margin-right">10</property> |
|
|
|
<property name="margin-bottom">3</property> |
|
|
|
<child> |
|
|
|
<object class="GtkMenuBar" id="util_menubar"> |
|
|
|
<property name="width_request">800</property> |
|
|
|
<property name="width-request">800</property> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="can_default">True</property> |
|
|
|
<property name="resize_mode">immediate</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="can-default">True</property> |
|
|
|
<property name="resize-mode">immediate</property> |
|
|
|
<child> |
|
|
|
<object class="GtkMenuItem"> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="label" translatable="yes">_File</property> |
|
|
|
<property name="use_underline">True</property> |
|
|
|
<property name="use-underline">True</property> |
|
|
|
<child type="submenu"> |
|
|
|
<object class="GtkMenu"> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<child> |
|
|
|
<object class="GtkImageMenuItem"> |
|
|
|
<property name="label">gtk-new</property> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="use_underline">True</property> |
|
|
|
<property name="use_stock">True</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="use-underline">True</property> |
|
|
|
<property name="use-stock">True</property> |
|
|
|
</object> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<object class="GtkImageMenuItem"> |
|
|
|
<property name="label">gtk-open</property> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="use_underline">True</property> |
|
|
|
<property name="use_stock">True</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="use-underline">True</property> |
|
|
|
<property name="use-stock">True</property> |
|
|
|
</object> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<object class="GtkImageMenuItem"> |
|
|
|
<property name="label">gtk-save</property> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="use_underline">True</property> |
|
|
|
<property name="use_stock">True</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="use-underline">True</property> |
|
|
|
<property name="use-stock">True</property> |
|
|
|
</object> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<object class="GtkImageMenuItem"> |
|
|
|
<property name="label">gtk-save-as</property> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="use_underline">True</property> |
|
|
|
<property name="use_stock">True</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="use-underline">True</property> |
|
|
|
<property name="use-stock">True</property> |
|
|
|
</object> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<object class="GtkSeparatorMenuItem"> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
</object> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<object class="GtkImageMenuItem"> |
|
|
|
<property name="label">gtk-quit</property> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="use_underline">True</property> |
|
|
|
<property name="use_stock">True</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="use-underline">True</property> |
|
|
|
<property name="use-stock">True</property> |
|
|
|
</object> |
|
|
|
</child> |
|
|
|
</object> |
|
|
@ -96,47 +88,47 @@ |
|
|
|
<child> |
|
|
|
<object class="GtkMenuItem"> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="label" translatable="yes">_Edit</property> |
|
|
|
<property name="use_underline">True</property> |
|
|
|
<property name="use-underline">True</property> |
|
|
|
<child type="submenu"> |
|
|
|
<object class="GtkMenu"> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<child> |
|
|
|
<object class="GtkImageMenuItem"> |
|
|
|
<property name="label">gtk-cut</property> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="use_underline">True</property> |
|
|
|
<property name="use_stock">True</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="use-underline">True</property> |
|
|
|
<property name="use-stock">True</property> |
|
|
|
</object> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<object class="GtkImageMenuItem"> |
|
|
|
<property name="label">gtk-copy</property> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="use_underline">True</property> |
|
|
|
<property name="use_stock">True</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="use-underline">True</property> |
|
|
|
<property name="use-stock">True</property> |
|
|
|
</object> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<object class="GtkImageMenuItem"> |
|
|
|
<property name="label">gtk-paste</property> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="use_underline">True</property> |
|
|
|
<property name="use_stock">True</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="use-underline">True</property> |
|
|
|
<property name="use-stock">True</property> |
|
|
|
</object> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<object class="GtkImageMenuItem"> |
|
|
|
<property name="label">gtk-delete</property> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="use_underline">True</property> |
|
|
|
<property name="use_stock">True</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="use-underline">True</property> |
|
|
|
<property name="use-stock">True</property> |
|
|
|
</object> |
|
|
|
</child> |
|
|
|
</object> |
|
|
@ -146,28 +138,28 @@ |
|
|
|
<child> |
|
|
|
<object class="GtkMenuItem"> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="label" translatable="yes">_View</property> |
|
|
|
<property name="use_underline">True</property> |
|
|
|
<property name="use-underline">True</property> |
|
|
|
</object> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<object class="GtkMenuItem"> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="label" translatable="yes">_Help</property> |
|
|
|
<property name="use_underline">True</property> |
|
|
|
<property name="use-underline">True</property> |
|
|
|
<child type="submenu"> |
|
|
|
<object class="GtkMenu"> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<child> |
|
|
|
<object class="GtkImageMenuItem"> |
|
|
|
<property name="label">gtk-about</property> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="use_underline">True</property> |
|
|
|
<property name="use_stock">True</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="use-underline">True</property> |
|
|
|
<property name="use-stock">True</property> |
|
|
|
</object> |
|
|
|
</child> |
|
|
|
</object> |
|
|
@ -177,88 +169,128 @@ |
|
|
|
</object> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<!-- n-columns=3 n-rows=3 --> |
|
|
|
<object class="GtkGrid"> |
|
|
|
<property name="width_request">100</property> |
|
|
|
<property name="height_request">80</property> |
|
|
|
<property name="width-request">100</property> |
|
|
|
<property name="height-request">80</property> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="app_paintable">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="border_width">5</property> |
|
|
|
<property name="column_spacing">6</property> |
|
|
|
<property name="app-paintable">True</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="margin-top">10</property> |
|
|
|
<property name="column-spacing">6</property> |
|
|
|
<child> |
|
|
|
<!-- n-columns=1 n-rows=5 --> |
|
|
|
<object class="GtkGrid"> |
|
|
|
<property name="width_request">80</property> |
|
|
|
<property name="width-request">80</property> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="border_width">5</property> |
|
|
|
<property name="row_spacing">35</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="row-spacing">35</property> |
|
|
|
<child> |
|
|
|
<object class="GtkButton" id="voltage"> |
|
|
|
<property name="label" translatable="yes">Voltage</property> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">True</property> |
|
|
|
<property name="receives_default">True</property> |
|
|
|
<property name="can-focus">True</property> |
|
|
|
<property name="receives-default">True</property> |
|
|
|
</object> |
|
|
|
<packing> |
|
|
|
<property name="left_attach">0</property> |
|
|
|
<property name="top_attach">0</property> |
|
|
|
<property name="left-attach">0</property> |
|
|
|
<property name="top-attach">0</property> |
|
|
|
</packing> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<object class="GtkButton" id="current"> |
|
|
|
<property name="label" translatable="yes">Current</property> |
|
|
|
<object class="GtkButton" id="freq"> |
|
|
|
<property name="label" translatable="yes">Frequency</property> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">True</property> |
|
|
|
<property name="receives_default">True</property> |
|
|
|
<property name="can-focus">True</property> |
|
|
|
<property name="receives-default">True</property> |
|
|
|
</object> |
|
|
|
<packing> |
|
|
|
<property name="left_attach">0</property> |
|
|
|
<property name="top_attach">1</property> |
|
|
|
<property name="left-attach">0</property> |
|
|
|
<property name="top-attach">1</property> |
|
|
|
</packing> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<object class="GtkButton" id="freq"> |
|
|
|
<property name="label" translatable="yes">Frequency</property> |
|
|
|
<object class="GtkButton" id="attack_detection"> |
|
|
|
<property name="label" translatable="yes">Attack Detection</property> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">True</property> |
|
|
|
<property name="receives_default">True</property> |
|
|
|
<property name="can-focus">True</property> |
|
|
|
<property name="receives-default">True</property> |
|
|
|
</object> |
|
|
|
<packing> |
|
|
|
<property name="left_attach">0</property> |
|
|
|
<property name="top_attach">2</property> |
|
|
|
<property name="left-attach">0</property> |
|
|
|
<property name="top-attach">2</property> |
|
|
|
</packing> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<object class="GtkButton" id="attack_detection"> |
|
|
|
<property name="label" translatable="yes">Attack Detection</property> |
|
|
|
<object class="GtkComboBoxText" id="algorithm"> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="active">0</property> |
|
|
|
<items> |
|
|
|
<item id="0" translatable="yes">kmeans</item> |
|
|
|
<item id="1" translatable="yes">simple</item> |
|
|
|
</items> |
|
|
|
</object> |
|
|
|
<packing> |
|
|
|
<property name="left-attach">0</property> |
|
|
|
<property name="top-attach">3</property> |
|
|
|
</packing> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<object class="GtkComboBoxText" id="dimmension"> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">True</property> |
|
|
|
<property name="receives_default">True</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
<property name="active">0</property> |
|
|
|
<items> |
|
|
|
<item id="0" translatable="yes">frequency only</item> |
|
|
|
<item id="1" translatable="yes">frequency,voltage</item> |
|
|
|
<item id="2" translatable="yes">voltage</item> |
|
|
|
</items> |
|
|
|
</object> |
|
|
|
<packing> |
|
|
|
<property name="left_attach">0</property> |
|
|
|
<property name="top_attach">3</property> |
|
|
|
<property name="left-attach">0</property> |
|
|
|
<property name="top-attach">4</property> |
|
|
|
</packing> |
|
|
|
</child> |
|
|
|
</object> |
|
|
|
<packing> |
|
|
|
<property name="left_attach">0</property> |
|
|
|
<property name="top_attach">0</property> |
|
|
|
<property name="left-attach">0</property> |
|
|
|
<property name="top-attach">0</property> |
|
|
|
</packing> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<object class="GtkLayout" id="map_layout"> |
|
|
|
<property name="width_request">600</property> |
|
|
|
<property name="height_request">500</property> |
|
|
|
<property name="width-request">600</property> |
|
|
|
<property name="height-request">500</property> |
|
|
|
<property name="visible">True</property> |
|
|
|
<property name="can_focus">False</property> |
|
|
|
<property name="border_width">5</property> |
|
|
|
<property name="can-focus">False</property> |
|
|
|
</object> |
|
|
|
<packing> |
|
|
|
<property name="left_attach">1</property> |
|
|
|
<property name="top_attach">0</property> |
|
|
|
<property name="left-attach">1</property> |
|
|
|
<property name="top-attach">0</property> |
|
|
|
</packing> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<placeholder/> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<placeholder/> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<placeholder/> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<placeholder/> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<placeholder/> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<placeholder/> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<placeholder/> |
|
|
|
</child> |
|
|
|
</object> |
|
|
|
<packing> |
|
|
|
<property name="y">30</property> |
|
|
|