~aleteoryx/muditaos

ref: 3afcbd8f941738955b306cdefe4f76ea2217c74b muditaos/module-apps/application-settings-new/windows/NightshiftWindow.hpp -rw-r--r-- 764 bytes
3afcbd8f — lblach [EGD-6267] Create Technical Information Window 4 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
// 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 "AppWindow.hpp"
#include <application-settings-new/models/FromTimeToTimeModel.hpp>

namespace gui
{
    class ListView;
    class VBox;
    class NightshiftWindow : public AppWindow
    {
      public:
        explicit NightshiftWindow(app::Application *app);

      private:
        void buildInterface() override;
        auto onInput(const InputEvent &inputEvent) -> bool override;

        VBox *body = nullptr;
        std::shared_ptr<utils::time::FromTillDate> fromTillDate;
        gui::ListView *list = nullptr;
        std::shared_ptr<FromTimeToTimeModel> timeModel;
    };
} /* namespace gui */