From f8bfd268523ff5abd3cf5490d5b892ff49954f47 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sat, 13 Jul 2024 16:14:36 +0200 Subject: app/ui: make list entry title editable --- app/include/turns/app/widgets/participant_list_row.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'app/include/turns') diff --git a/app/include/turns/app/widgets/participant_list_row.hpp b/app/include/turns/app/widgets/participant_list_row.hpp index b9efbd6..172e9ac 100644 --- a/app/include/turns/app/widgets/participant_list_row.hpp +++ b/app/include/turns/app/widgets/participant_list_row.hpp @@ -7,15 +7,18 @@ #include #include +#include #include #include #include +#include namespace turns::app::widgets { struct participant_list_row : template_widget { auto constexpr inline static children = std::array{ + "edit", "header", "prefixes", "image", @@ -31,12 +34,13 @@ namespace turns::app::widgets auto set_title(Glib::ustring const & value) -> void; private: + Gtk::ToggleButton * m_edit; Gtk::Box * m_header; Gtk::Image * m_image; Gtk::Box * m_prefixes; Gtk::Label * m_subtitle; Gtk::Box * m_suffixes; - Gtk::Label * m_title; + Gtk::EditableLabel * m_title; Gtk::Box * m_title_box; }; } // namespace turns::app::widgets -- cgit v1.2.3