-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add member functions to basic Qt types in Rust #55
Comments
Note that this is related to #53 |
Note: QRect's interface should propably not mimic Qt directly. set_x and set_y will change the width and height, which is not at all obvious/expected behavior. So we should improve on Qt in this regard, and come up with our own, safer interface. |
Also ensure that we are using CXX where we can. Eg #[rust_name = "qurl_to_qstring"]
fn qurlToQString(url: &QUrl) -> QString; could probably just be #[rust_name = "to_string"]
fn toString(self: &QUrl) -> QString; |
We can't in this place as |
Also note that |
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Closing via #416. |
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Related to KDAB#55
Original Description
Types like QPoint have a lot of member functions, as well as operators (i.e. +,-,/,*) that make them a lot more useful. We should give Rust access to these as well.
The text was updated successfully, but these errors were encountered: