Replies: 8 comments
-
I am not familiar with QT. I'm not sure how I can help. What do you mean by accessing the host_view? |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
Are you working on something like @jpcima's PR here: #111 ? Artist is fine. I just need some time to integrate it. It's a bandwidth issue for me at the moment. But I'll get time one way or another. |
Beta Was this translation helpful? Give feedback.
-
Just trying to make a Qt5 host implementation, to be able to add elements over a view implemented in a QWidget, inside a QMainWindow. |
Beta Was this translation helpful? Give feedback.
-
That's certainly a good use-case! |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
If I may add to this discussion, there are multiple strategies to go for the implementation.
|
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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?
Beta Was this translation helpful? Give feedback.
All reactions