Skip to content

Implementing a QGraphicsView-like widget in SixtyFPS #367

Answered by ogoffart
pmjobin asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

We still have a bit of work to do to support all these widgets, but we aim to be able to support such usecase.

For the graphics view, this can be done by using models drawing the shapes.
There is a similar example in 7gui/circledraw.60

The example in action: (this is only the UI part and does not have the native code that would do edits to the model)
https://sixtyfps.io/snapshots/master/editor/?load_url=https://raw.githubusercontent.com/sixtyfpsui/sixtyfps/master/examples/7gui/circledraw.60

Is it possible to draw inside a SixtyFPS window procedurally using the femtovg api directly?

Not yet, but we should expose such API somehow.

Also, regarding the property tree editor, is it possi…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@pmjobin
Comment options

@tronical
Comment options

Answer selected by pmjobin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants