Closed Riateche closed 4 years ago
Just wondering if this is already in the works or something you have yet to figure out. This seems like the last hurdle to doing more complex work in this library.
Just having generic signal objects that have the same types as the current slots would be amazing.
Custom signals are now implemented.
@Riateche Could you link to documentation on how to define signals and slots that take arguments of one's own custom Rust types (e.g. pub struct FancyData { x : String, y : uuid::Uuid }
)? I've been searching around for how to do this (I've looked at qt_core::Signal and the qmetaobject-rs crate but haven't managed to get anything to work). Thank you.
(part of #7)