Public Member Functions | |
controller (model &m) | |
void | next_page () |
void | previous_page () |
void | filter () |
void | handle_page_number_changed () |
std::pair< int, int > | calculate_log_line_range () |
void | update_view_from_model (bool select_last_page=false) |
void | handle_copy_button_clicked () |
Private Attributes | |
model & | model_ |
Definition at line 202 of file chat_log.cpp.
|
inline |
Definition at line 205 of file chat_log.cpp.
References LOG_CHAT_LOG.
|
inline |
Definition at line 253 of file chat_log.cpp.
References gui2::dialogs::chat_log::model::chat_log_history, gui2::dialogs::chat_log::model::count_of_pages(), gui2::dialogs::chat_log::model::COUNT_PER_PAGE, LOG_CHAT_LOG, model_, and gui2::dialogs::chat_log::model::page.
Referenced by handle_copy_button_clicked(), and update_view_from_model().
|
inline |
Definition at line 235 of file chat_log.cpp.
References LOG_CHAT_LOG, and update_view_from_model().
Referenced by gui2::dialogs::chat_log::view::filter().
|
inline |
Definition at line 311 of file chat_log.cpp.
References calculate_log_line_range(), gui2::dialogs::chat_log::model::chat_message_list_to_clipboard(), and model_.
Referenced by gui2::dialogs::chat_log::view::handle_copy_button_clicked().
|
inline |
Definition at line 242 of file chat_log.cpp.
References gui2::slider::get_value(), LOG_CHAT_LOG, model_, gui2::dialogs::chat_log::model::page, gui2::dialogs::chat_log::model::page_number, and update_view_from_model().
Referenced by gui2::dialogs::chat_log::view::handle_page_number_changed().
|
inline |
Definition at line 211 of file chat_log.cpp.
References gui2::dialogs::chat_log::model::count_of_pages(), LOG_CHAT_LOG, model_, gui2::dialogs::chat_log::model::page, and update_view_from_model().
Referenced by gui2::dialogs::chat_log::view::next_page().
|
inline |
Definition at line 223 of file chat_log.cpp.
References LOG_CHAT_LOG, model_, gui2::dialogs::chat_log::model::page, and update_view_from_model().
Referenced by gui2::dialogs::chat_log::view::previous_page().
|
inline |
Definition at line 273 of file chat_log.cpp.
References calculate_log_line_range(), gui2::dialogs::chat_log::model::chat_log_history, gui2::dialogs::chat_log::model::count_of_pages(), LOG_CHAT_LOG, model_, gui2::dialogs::chat_log::model::msg_label, gui2::dialogs::chat_log::model::next_page, gui2::dialogs::chat_log::model::page, gui2::dialogs::chat_log::model::page_label, gui2::dialogs::chat_log::model::page_number, gui2::dialogs::chat_log::model::populate_chat_message_list(), gui2::dialogs::chat_log::model::previous_page, gui2::button::set_active(), gui2::slider_base::set_active(), gui2::styled_widget::set_label(), gui2::styled_widget::set_use_markup(), gui2::slider::set_value(), gui2::slider::set_value_range(), and utf8::size().
Referenced by filter(), handle_page_number_changed(), next_page(), gui2::dialogs::chat_log::view::pre_show(), and previous_page().
|
private |
Definition at line 318 of file chat_log.cpp.
Referenced by calculate_log_line_range(), handle_copy_button_clicked(), handle_page_number_changed(), next_page(), previous_page(), and update_view_from_model().