summaryrefslogtreecommitdiff
path: root/schist_gtk4_gui/src/window.rs
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2024-12-22 18:28:32 +0000
committerJoe Carstairs <me@joeac.net>2024-12-22 18:28:32 +0000
commitab3e0439e12dee592a8f6fe2a968e4bb429a60f8 (patch)
treeaff750c6f2eac8a2d6b703a3a75a45cfa52ec0b3 /schist_gtk4_gui/src/window.rs
parent4b3821e8bffb6a8e98525ee0a0bc860e5de7da05 (diff)
Adds other views
Diffstat (limited to 'schist_gtk4_gui/src/window.rs')
-rw-r--r--schist_gtk4_gui/src/window.rs15
1 files changed, 14 insertions, 1 deletions
diff --git a/schist_gtk4_gui/src/window.rs b/schist_gtk4_gui/src/window.rs
index b612e92..b3cea35 100644
--- a/schist_gtk4_gui/src/window.rs
+++ b/schist_gtk4_gui/src/window.rs
@@ -19,7 +19,11 @@ use gtk::{
TemplateChild,
};
-use crate::categories_view::SchistCategoriesView;
+use crate::{
+ balances_view::SchistBalancesView, categories_view::SchistCategoriesView,
+ category_transfers_view::SchistCategoryTransfersView,
+ transactions_view::SchistTransactionsView,
+};
gtk::glib::wrapper! {
pub struct SchistWindow(ObjectSubclass<SchistWindowSubclass>)
@@ -38,7 +42,16 @@ impl SchistWindow {
#[template(resource = "/net/joeac/schist/ui/window.ui")]
pub struct SchistWindowSubclass {
#[template_child]
+ pub balances_view: TemplateChild<SchistBalancesView>,
+
+ #[template_child]
pub categories_view: TemplateChild<SchistCategoriesView>,
+
+ #[template_child]
+ pub category_transfers_view: TemplateChild<SchistCategoryTransfersView>,
+
+ #[template_child]
+ pub transactions_view: TemplateChild<SchistTransactionsView>,
}
#[glib::object_subclass]