trying to move slide building to more backend focused
This commit is contained in:
parent
836c997e97
commit
6052cd01ac
6 changed files with 113 additions and 20 deletions
|
@ -1,5 +1,5 @@
|
|||
#[cxx_qt::bridge]
|
||||
mod image_model {
|
||||
pub mod image_model {
|
||||
unsafe extern "C++" {
|
||||
include!(< QAbstractListModel >);
|
||||
include!("cxx-qt-lib/qhash.h");
|
||||
|
@ -206,6 +206,12 @@ impl Default for ImageModelRust {
|
|||
}
|
||||
}
|
||||
|
||||
impl ImageModelRust {
|
||||
pub fn get_image(index: i32) -> Option<&Image> {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
||||
impl image_model::ImageModel {
|
||||
pub fn clear(mut self: Pin<&mut Self>) {
|
||||
unsafe {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue