~aleteoryx/muditaos

ref: 4f3366ee808e63a8d4e439e22a43d30c73be12f1 muditaos/module-apps/application-calendar/widgets/RepeatAndReminderItem.hpp -rw-r--r-- 1.1 KiB
4f3366ee — Piotr Tański [EGD-4157] Actions queue added 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once

#include "CalendarListItem.hpp"
#include <Label.hpp>
#include <Text.hpp>
#include <BoxLayout.hpp>
#include <module-apps/Application.hpp>
#include <module-apps/application-calendar/ApplicationCalendar.hpp>

namespace gui

{
    class RepeatAndReminderItem : public CalendarListItem
    {
        gui::HBox *hBox           = nullptr;
        gui::VBox *repeatVBox     = nullptr;
        gui::VBox *reminderVBox   = nullptr;
        gui::HBox *repeatHBox         = nullptr;
        gui::HBox *reminderHBox       = nullptr;
        gui::Label *repeatTitle   = nullptr;
        gui::Label *repeat        = nullptr;
        gui::Label *reminderTitle = nullptr;
        gui::Label *reminder      = nullptr;
        app::ApplicationCalendar *app = nullptr;

      public:
        RepeatAndReminderItem(app::ApplicationCalendar *application);
        virtual ~RepeatAndReminderItem() = default;

        void descriptionHandler();
    };

} /* namespace gui */