1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:37:35 +00:00

Calendar: Implement basic GUI calendar application

This commit is contained in:
rhin123 2020-03-10 16:41:48 -05:00 committed by Andreas Kling
parent 08a30a4961
commit 39c21f368a
9 changed files with 426 additions and 0 deletions

View file

@ -0,0 +1,22 @@
#pragma once
#include "Calendar.h"
#include <LibGUI/Dialog.h>
#include <LibGUI/Window.h>
class AddEventDialog final : public GUI::Dialog {
C_OBJECT(AddEventDialog)
public:
virtual ~AddEventDialog() override;
static void show(Calendar* calendar, Window* parent_window = nullptr)
{
auto dialog = AddEventDialog::construct(calendar, parent_window);
dialog->exec();
}
private:
AddEventDialog(Calendar* calendar, Window* parent_window = nullptr);
Calendar* m_calendar;
};