Skip to content
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

Think about gadgets #39

Open
Kakadu opened this issue Jan 20, 2017 · 1 comment
Open

Think about gadgets #39

Kakadu opened this issue Jan 20, 2017 · 1 comment

Comments

@Kakadu
Copy link
Owner

Kakadu commented Jan 20, 2017

It seems that we can pass values to QML which are not QObject's (i.e. are not pointers) but they are values. It should be more safe to use them without memory leaking

https://doc.qt.io/qt-5/qobject.html#Q_GADGET
https://habrahabr.ru/post/307816/

@ghost
Copy link

ghost commented Jan 21, 2017

This would be really handy indeed, even with the random name "Gadget". Note that it doesn't provide signals or slots, so we wouldn't be able to bind callbacks to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant