-
Notifications
You must be signed in to change notification settings - Fork 244
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
QT host #177
Comments
I am not familiar with QT. I'm not sure how I can help. What do you mean by accessing the host_view? |
The |
Just trying to make a Qt5 host implementation, to be able to add elements over a view implemented in a QWidget, inside a QMainWindow. |
That's certainly a good use-case! |
Ok, let's see... There's actually an artist branch already (https://github.com/cycfi/elements/tree/artist_port). It's not by any means in a good state yet. I'm really tempted to have artist into elements sooner rather than later. My worry is that it will require a lot of time from me, which I do not have for the moment. The issue is not actually the port itself, but the maintenance of it after the port. The plan was to back-port element's cairo based canvas into artist first. Then have the cairo ported artist in elements as default 'canvas' backend. That would prevent a big disruption. There's talk of a roadmap in another "issue". I'll start a draft and add this there. In the meantime, do you have a simple example project for creating a qt window and widget I can look at, and we can discuss? I'm not a QT user, but that might inspire some ideas. |
If I may add to this discussion, there are multiple strategies to go for the implementation.
|
I'm not sure what you requested is a simple Qt example or a basic Qt elements host case, on which I have only implemented the application and window classes, not having a view yet I can't provide a widget. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I started to create a Qt host for elements but I'm not sure if this is really doable with the current status of Cairo Qt backend.
I made a custom QWidget where to forward all required signals/events to elements but I'm not sure how to access the host_view (mainly for the Cairo surface). Any advice?
The text was updated successfully, but these errors were encountered: