Events starting and stopping
This commit is contained in:
parent
599b027d19
commit
3509263a06
3 changed files with 50 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
import { TabWidget } from "std-widgets.slint";
|
||||
import { RecordWidget } from "record.slint";
|
||||
import { ReviewWidget } from "review.slint";
|
||||
import { TimelineEvent } from "timeline.slint";
|
||||
|
||||
export component AppWindow inherits Window {
|
||||
callback update-record-visible-time <=> record.update-visible-time;
|
||||
|
@ -12,12 +13,19 @@ export component AppWindow inherits Window {
|
|||
record.offset = new-offset;
|
||||
}
|
||||
|
||||
in-out property record-events <=> record.events;
|
||||
in-out property record-offset <=> record.offset;
|
||||
in-out property<int> record-visible-time <=> record.visible-time;
|
||||
property<[string]> combo-spans: ["1 Hour", "4 Hours", "8 Hours", "24 Hours"];
|
||||
|
||||
title: "Aliveline";
|
||||
|
||||
TabWidget {
|
||||
Tab {
|
||||
title: "Record";
|
||||
record := RecordWidget {}
|
||||
record := RecordWidget {
|
||||
combo-spans: combo-spans;
|
||||
}
|
||||
}
|
||||
Tab {
|
||||
title: "Review";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue