/* * Copyright (c) 2022-2022, Olivier De Cannière * Copyright (c) 2022, Tobias Christiansen * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include class CalendarSettingsWidget final : public GUI::SettingsWindow::Tab { C_OBJECT(CalendarSettingsWidget) public: virtual void apply_settings() override; virtual void reset_default_values() override; private: CalendarSettingsWidget(); static constexpr Array const m_view_modes = { "Month"sv, "Year"sv }; RefPtr m_first_day_of_week_combobox; RefPtr m_first_day_of_weekend_combobox; RefPtr m_weekend_length_spinbox; RefPtr m_default_view_combobox; };