adding video_start_time and video_end_time

Both of these properties will be used to track when a video needs to
start and end during the slide show.
This commit is contained in:
Chris Cochrun 2023-04-17 21:27:50 -05:00
parent 90f551edff
commit a93aa37d53
2 changed files with 166 additions and 148 deletions

View file

@ -53,6 +53,10 @@ mod slide_obj {
font: QString,
#[qproperty]
font_size: i32,
#[qproperty]
video_start_time: f32,
#[qproperty]
video_end_time: f32,
}
impl Default for SlideObj {
@ -72,6 +76,8 @@ mod slide_obj {
font: QString::from(""),
font_size: 50,
image_count: 0,
video_start_time: 0.0,
video_end_time: 0.0,
}
}
}