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:
parent
90f551edff
commit
a93aa37d53
2 changed files with 166 additions and 148 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue