1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
DO NOT EDIT!
This file was @generated by blueprint-compiler. Instead, edit the
corresponding .blp file and regenerate this file with blueprint-compiler.
-->
<interface>
<requires lib="gtk" version="4.0"/>
<template class="ReceiptWidget" parent="GtkBox">
<child>
<object class="GtkBox">
<property name="hexpand">true</property>
<property name="orientation">1</property>
<property name="spacing">12</property>
<child>
<object class="GtkBox">
<property name="spacing">12</property>
<child>
<object class="GtkMenuButton">
<property name="icon-name">open-menu-symbolic</property>
<property name="menu-model">my_menu</property>
</object>
</child>
<child>
<object class="GtkFrame">
<child>
<object class="GtkBox">
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<child>
<object class="GtkEntry" id="money_sum">
<property name="placeholder-text" translatable="yes">sum</property>
<signal name="map" handler="on_map_sum" after="True"/>
<property name="sensitive">false</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label"> = </property>
</object>
</child>
<child>
<object class="GtkEntry" id="money_in">
<property name="placeholder-text" translatable="yes">paid</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label"> - </property>
</object>
</child>
<child>
<object class="GtkEntry" id="money_out">
<property name="placeholder-text" translatable="yes">remain</property>
<property name="sensitive">false</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkButton" id="ok_button">
<property name="label">ok</property>
<signal name="clicked" handler="on_save_receipt"/>
<property name="sensitive">false</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkScrolledWindow">
<property name="vexpand">true</property>
<child>
<object class="GtkListBox">
<property name="hexpand">true</property>
<property name="vexpand">true</property>
<child>
<object class="GtkListView" id="list_view">
<property name="overflow">0</property>
<property name="hexpand">true</property>
<property name="vexpand">true</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
<menu id="my_menu">
<item>
<attribute name="label" translatable="yes">change session dir</attribute>
<attribute name="action">win.chng_session_dir</attribute>
<attribute name="icon">open-menu-symbolic</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Statistic</attribute>
<attribute name="action">win.show_statistic</attribute>
<attribute name="icon">open-menu-symbolic</attribute>
</item>
<submenu>
<attribute name="label" translatable="yes">Help</attribute>
<item>
<attribute name="label" translatable="yes">About</attribute>
<attribute name="action">app.about</attribute>
<attribute name="icon">document-new-symbolic</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Receipt Help</attribute>
<attribute name="action">win.help_receipt</attribute>
<attribute name="icon">document-new-symbolic</attribute>
</item>
</submenu>
</menu>
<object class="GtkFileDialog" id="file_dialog">
<property name="title">change session directory</property>
</object>
</interface>
|