diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2024-07-26 15:48:13 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2024-07-26 15:48:13 +0200 |
| commit | 7a093920809394f7f31b75c444fe6009d1de7005 (patch) | |
| tree | b348b9731a6f771209fa5d1ca2330aae27402b2d /ui/include/turns | |
| parent | 3d02c5f637f47493d15be3f18cc295010f08c727 (diff) | |
| download | turns-7a093920809394f7f31b75c444fe6009d1de7005.tar.xz turns-7a093920809394f7f31b75c444fe6009d1de7005.zip | |
ui: tracker implement loading UI
Diffstat (limited to 'ui/include/turns')
| -rw-r--r-- | ui/include/turns/ui/windows/tracker.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/include/turns/ui/windows/tracker.hpp b/ui/include/turns/ui/windows/tracker.hpp index 6d0b4d6..f520097 100644 --- a/ui/include/turns/ui/windows/tracker.hpp +++ b/ui/include/turns/ui/windows/tracker.hpp @@ -23,6 +23,7 @@ #include <optional> #include <string> +#include <stdexcept> namespace turns::ui::windows { @@ -32,15 +33,22 @@ namespace turns::ui::windows tracker(BaseObjectType * base, Glib::RefPtr<Gtk::Builder> const builder); private: + auto do_save() -> void; + auto handle_add_participant() -> void; auto handle_delete_participant(Glib::VariantBase param) -> void; auto handle_edit_participant(Glib::VariantBase param) -> void; + auto handle_open() -> void; + auto handle_open_done(Glib::RefPtr<Gio::AsyncResult> result) -> void; + auto handle_open_response(Glib::RefPtr<Gio::AsyncResult> result, Glib::RefPtr<Gtk::FileDialog> dialog) -> void; auto handle_save(bool force_ask) -> void; auto handle_save_done(Glib::RefPtr<Gio::AsyncResult> result) -> void; auto handle_save_response(Glib::RefPtr<Gio::AsyncResult> result, Glib::RefPtr<Gtk::FileDialog> dialog) -> void; auto handle_stop() -> void; + auto setup_actions() -> void; + auto show_error_toast(std::exception const & e) -> void; auto update_subtitle() -> void; @@ -57,6 +65,7 @@ namespace turns::ui::windows std::string m_file_tag{}; Glib::RefPtr<Gio::File> m_file{}; + std::string m_buffer{}; }; } // namespace turns::ui::windows |
