2021-09-11 11:18:23 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- Generated with glade 3.38.2 -->
|
|
|
|
<interface>
|
|
|
|
<requires lib="gtk+" version="3.24"/>
|
|
|
|
<object class="GtkAdjustment" id="adjustment1">
|
2021-09-12 13:56:51 +08:00
|
|
|
<property name="upper">10000</property>
|
2021-09-11 11:18:23 +08:00
|
|
|
<property name="value">480</property>
|
|
|
|
<property name="step-increment">1</property>
|
|
|
|
<property name="page-increment">1</property>
|
|
|
|
</object>
|
|
|
|
<object class="GtkAdjustment" id="adjustment2">
|
2021-09-12 13:56:51 +08:00
|
|
|
<property name="upper">10000</property>
|
2021-09-11 11:18:23 +08:00
|
|
|
<property name="value">640</property>
|
|
|
|
<property name="step-increment">1</property>
|
|
|
|
<property name="page-increment">10</property>
|
|
|
|
</object>
|
|
|
|
<object class="GtkDialog" id="prefs">
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="modal">True</property>
|
2021-09-12 10:35:33 +08:00
|
|
|
<property name="default-width">400</property>
|
|
|
|
<property name="default-height">120</property>
|
2021-09-11 11:18:23 +08:00
|
|
|
<property name="type-hint">normal</property>
|
|
|
|
<child internal-child="vbox">
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">2</property>
|
|
|
|
<child internal-child="action_area">
|
|
|
|
<object class="GtkButtonBox">
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
2021-09-12 10:35:33 +08:00
|
|
|
<property name="position">2</property>
|
2021-09-11 11:18:23 +08:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2021-09-12 10:35:33 +08:00
|
|
|
<object class="GtkBox" id="main_box">
|
2021-09-11 11:18:23 +08:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<child>
|
2021-09-12 10:35:33 +08:00
|
|
|
<object class="GtkBox">
|
2021-09-11 11:18:23 +08:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
2021-09-12 10:35:33 +08:00
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label_set">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="label" translatable="yes">Settings:</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<!-- n-columns=2 n-rows=3 -->
|
|
|
|
<object class="GtkGrid" id="prefs_grid">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label_width">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="halign">end</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<property name="label" translatable="yes">Width:</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="top-attach">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label_height">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="halign">end</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<property name="label" translatable="yes">Height:</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="top-attach">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSpinButton" id="width_spin">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<property name="text" translatable="yes">640</property>
|
|
|
|
<property name="adjustment">adjustment2</property>
|
|
|
|
<property name="value">640</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">1</property>
|
|
|
|
<property name="top-attach">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSpinButton" id="height_spin">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<property name="text" translatable="yes">480</property>
|
|
|
|
<property name="adjustment">adjustment1</property>
|
|
|
|
<property name="value">480</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">1</property>
|
|
|
|
<property name="top-attach">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry" id="back_entry">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">1</property>
|
|
|
|
<property name="top-attach">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="halign">end</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<property name="label" translatable="yes">Background:</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="top-attach">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2021-09-11 11:18:23 +08:00
|
|
|
</object>
|
|
|
|
<packing>
|
2021-09-12 10:35:33 +08:00
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
2021-09-11 11:18:23 +08:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2021-09-12 10:35:33 +08:00
|
|
|
<object class="GtkBox" id="btnbox">
|
2021-09-11 11:18:23 +08:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
2021-09-12 10:35:33 +08:00
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="btnget">
|
|
|
|
<property name="label" translatable="yes">Get Size</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="receives-default">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="btndefsize">
|
|
|
|
<property name="label" translatable="yes">Default Size</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="receives-default">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="btnopen">
|
|
|
|
<property name="label" translatable="yes">Open image file</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="receives-default">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="btndefback">
|
|
|
|
<property name="label" translatable="yes">Default Image</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="receives-default">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2021-09-11 11:18:23 +08:00
|
|
|
</object>
|
|
|
|
<packing>
|
2021-09-12 10:35:33 +08:00
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
2021-09-11 11:18:23 +08:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
2021-09-12 10:35:33 +08:00
|
|
|
<property name="position">3</property>
|
2021-09-11 11:18:23 +08:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</interface>
|