/* * Copyright (c) 2021, sin-ack * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include "BasicModel.h" #include #include #include #include #include #include #include class GalleryWidget final : public GUI::Widget { C_OBJECT(GalleryWidget) private: GalleryWidget(); ErrorOr load_basic_model_tab(); void load_sorting_filtering_tab(); void add_textbox_contents_to_basic_model(); RefPtr m_tab_widget; RefPtr m_statusbar; size_t m_invalidation_count { 0 }; RefPtr m_basic_model; RefPtr m_basic_model_table; RefPtr m_new_item_name; RefPtr m_add_new_item; RefPtr m_remove_selected_item; };