Bart Janssens
Bart Janssens
The TabelView QML component is in fact not designed to display 2D data. I found a workaround at: http://stackoverflow.com/questions/27230818/qml-tableview-with-dynamic-number-of-columns It is used in the example I just committed. It should...
This issue makes me realize that basing `ListModel` around a Julia `Array` is too restrictive. I will relax the requirements on the argument for the `ListModel` constructor in the future,...
I have added an example for this here: https://github.com/barche/QML.jl/blob/master/example/canvas_twice.jl You should use a separate callback function for each canvas.
> I just couldn't figure out how to have a list (or even a dynamic list) of canvases. For example, I would need a set of canvases with circles of...
You need to add a `$` before the function name in the `@safe_cfunction` call, but this fails due to a bug in CxxWrap, should be fixed with https://github.com/JuliaInterop/CxxWrap.jl/pull/282 but let's...
OK, updating CxxWrap to version v0.11.2 and adding the `$` like this should fix it: ```julia paint_canvas_wrapped = @safe_cfunction($paint_canvas, Cvoid, (Array{UInt32,1}, Int32, Int32)) ``` See the [`@cfunction` macro docs](https://docs.julialang.org/en/v1/base/c/#Base.@cfunction) for...
I remember experimenting with precompilation for QML itself, but couldn't get it to work. Putting your own (backend) functions in a precompiled module should work, it could be a macro...
OK, just looked at this a bit more in detail, and what works is calling precompiled methods as in the test I just committed. However, these methods must be in...
We had no viable GSOC proposals for this topic, but it is still pretty high on my todo list for QML.jl. I can’t give a timeline though.
Great, thanks a lot for this, this looks like it will make integrating Makie support a lot easier and cleaner!