CCIMXDesktop
 
Loading...
Searching...
No Matches
CalendarWindow.h
1#ifndef CALENDARWINDOW_H
2#define CALENDARWINDOW_H
3
4#include <QMainWindow>
5#include <memory>
6
7QT_BEGIN_NAMESPACE
8namespace Ui {
10}
11QT_END_NAMESPACE
12
13// Forward declarations
14class DateNoter;
15class Noter;
17
25class CalendarWindow : public QMainWindow {
26 Q_OBJECT
27
28public:
33 explicit CalendarWindow(QWidget* parent = nullptr);
34
39
43 void flipMode();
44
48 void openNoteCreator();
49
50private:
51 Ui::CalendarWindow* ui;
52 DateNoter* dateNoter;
53 std::shared_ptr<Noter> noter;
54 NoteCreatorWindow* noteCreatorWindow { nullptr };
59 void setupConnections();
60
64 void adjustModeText();
65
69 void setup_noteWindow();
70
71private slots:
75 void process_enqueue_issue();
76
80 void process_cancel_mark();
81};
82
83#endif // CALENDARWINDOW_H
Main application window for calendar and note management.
Definition CalendarWindow.h:25
void flipMode()
Toggles between light and dark UI modes.
Definition CalendarWindow.cpp:19
void openNoteCreator()
Opens the note creator window.
Definition CalendarWindow.cpp:25
~CalendarWindow()
Destructor.
Definition CalendarWindow.cpp:15
A panel widget for displaying and editing date notes.
Definition DateNoter.h:21
A window for creating and editing date notes.
Definition NoteCreatorWindow.h:18
Manages date-based note storage and retrieval.
Definition Noter.h:26