Remove unused code, move logic from .h to their .cpp, clean some things

This commit is contained in:
Vyn 2024-09-02 11:52:06 +02:00
parent 924e35ecc4
commit cb6c663833
41 changed files with 492 additions and 978 deletions

View file

@ -29,7 +29,7 @@ export component EventWindow inherits Window {
default-font-size: 16px;
background: Palette.background;
in-out property<int> sourceId <=> resourceInput.current-index;
in-out property<int> sourceId <=> sourceInput.current-index;
in-out property<int> eventId: -1;
in-out property<Date> taskDate <=> taskDateInput.date;
in-out property<string> taskTitle <=> taskTitleInput.text;
@ -46,8 +46,8 @@ export component EventWindow inherits Window {
text: eventId == -1 ? "New event" : "Edit event";
}
resourceInput := ComboBox {
model: Backend.resources;
sourceInput := ComboBox {
model: Backend.sources;
enabled: eventId == -1;
}