preparing for some refactoring

This commit is contained in:
Chris Cochrun 2025-08-06 09:13:48 -05:00
parent 8de473519b
commit 84b31caf6b
4 changed files with 89 additions and 63 deletions

View file

@ -32,6 +32,7 @@ pub mod qobject {
#[qproperty(i32, font_size)]
#[qproperty(f32, video_start_time)]
#[qproperty(f32, video_end_time)]
#[qproperty(QString, video_thumbnail)]
// #[qproperty(*mut SlideModel, slide_model)]
type SlideObject = super::SlideObjectRust;
@ -116,6 +117,7 @@ pub struct SlideObjectRust {
font_size: i32,
video_start_time: f32,
video_end_time: f32,
video_thumbnail: QString,
// slide_model: *mut slide_model::SlideModel,
}
@ -139,6 +141,7 @@ impl Default for SlideObjectRust {
inner_slide_index: 0,
video_start_time: 0.0,
video_end_time: 0.0,
video_thumbnail: QString::from(""),
// slide_model: std::ptr::null_mut(),
}
}