diff options
Diffstat (limited to 'schist_gtk4_gui/resources')
| -rw-r--r-- | schist_gtk4_gui/resources/resources.gresource.xml | 1 | ||||
| -rw-r--r-- | schist_gtk4_gui/resources/ui/balances_histogram.ui | 28 | ||||
| -rw-r--r-- | schist_gtk4_gui/resources/ui/balances_view.ui | 6 |
3 files changed, 30 insertions, 5 deletions
diff --git a/schist_gtk4_gui/resources/resources.gresource.xml b/schist_gtk4_gui/resources/resources.gresource.xml index 350a77d..c4b9e10 100644 --- a/schist_gtk4_gui/resources/resources.gresource.xml +++ b/schist_gtk4_gui/resources/resources.gresource.xml @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <gresources> <gresource prefix="/net/joeac/schist/"> + <file compressed="true" preprocess="xml-stripblanks">ui/balances_histogram.ui</file> <file compressed="true" preprocess="xml-stripblanks">ui/balances_view.ui</file> <file compressed="true" preprocess="xml-stripblanks">ui/categories_view.ui</file> <file compressed="true" preprocess="xml-stripblanks">ui/category_transfers_view.ui</file> diff --git a/schist_gtk4_gui/resources/ui/balances_histogram.ui b/schist_gtk4_gui/resources/ui/balances_histogram.ui new file mode 100644 index 0000000..b6306b9 --- /dev/null +++ b/schist_gtk4_gui/resources/ui/balances_histogram.ui @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<interface> + <template class="SchistBalancesHistogram" parent="GtkBox"> + <child> + <object class="GtkListBox" id="balances_list"> + <child> + <object class="GtkListBoxRow"> + <child> + <object class="GtkLabel"> + <property name="label">I am a balance</property> + </object> + </child> + </object> + </child> + + <child> + <object class="GtkListBoxRow"> + <child> + <object class="GtkLabel"> + <property name="label">I am another balance</property> + </object> + </child> + </object> + </child> + </object> + </child> + </template> +</interface> diff --git a/schist_gtk4_gui/resources/ui/balances_view.ui b/schist_gtk4_gui/resources/ui/balances_view.ui index 7c329f7..a8f7d7e 100644 --- a/schist_gtk4_gui/resources/ui/balances_view.ui +++ b/schist_gtk4_gui/resources/ui/balances_view.ui @@ -18,11 +18,7 @@ <property name="name">overview</property> <property name="title">Overview</property> <property name="child"> - <object class="GtkLabel"> - <property name="label"> - Hello, balances overview! - </property> - </object> + <object class="SchistBalancesHistogram" id="balances_histogram" /> </property> </object> </child> |
