mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-05 11:13:18 +00:00
Remove unused code, move logic from .h to their .cpp, clean some things
This commit is contained in:
parent
924e35ecc4
commit
cb6c663833
41 changed files with 492 additions and 978 deletions
|
@ -19,21 +19,22 @@ class UiState
|
|||
|
||||
void run();
|
||||
|
||||
void reloadResources();
|
||||
void reloadSources();
|
||||
void reloadTags();
|
||||
void reloadTasks();
|
||||
|
||||
private:
|
||||
void setupCallbacks();
|
||||
void setupTaskWindowCallbacks();
|
||||
void setupEventWindowCallbacks();
|
||||
void setupUtilsCallbacks();
|
||||
|
||||
std::shared_ptr<slint::VectorModel<slint::SharedString>> resources_;
|
||||
std::shared_ptr<slint::VectorModel<slint::SharedString>> sources_;
|
||||
std::shared_ptr<slint::VectorModel<slint::SharedString>> tags_;
|
||||
std::shared_ptr<slint::VectorModel<Day>> days_;
|
||||
|
||||
slint::ComponentHandle<AppWindow> mainWindow_ = AppWindow::create();
|
||||
slint::ComponentHandle<TaskEdit> taskEditWindow_ = TaskEdit::create();
|
||||
slint::ComponentHandle<TaskWindow> taskWindow_ = TaskWindow::create();
|
||||
slint::ComponentHandle<EventWindow> eventWindow_ = EventWindow::create();
|
||||
|
||||
mirai::Mirai *miraiInstance_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue