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

Roadmap #7

Closed
ufechner7 opened this issue Mar 20, 2016 · 8 comments
Closed

Roadmap #7

ufechner7 opened this issue Mar 20, 2016 · 8 comments

Comments

@ufechner7
Copy link
Member

This issue is for discussing the road map.
QML.jl is already working nice for me. I would suggest:

  1. Announce what we have once more on the mailing list. Ask people, to try it out and to create feature request tickets for what is missing.
  2. When someone is found, who has more time, then try to implement the features of the Ruby wrapper as documented here: http://www.rubydoc.info/github/seanchas116/ruby-qml/master/frames

From my point of view you need multi-threading for a good GUI application. This might become available with the 0.5 version of Julia. Until then I want to experiment with the multi tasking features of Julia.

@barche
Copy link
Collaborator

barche commented Mar 20, 2016

Thanks for the suggestions! This was mostly intended as a proof-of-concept, but I'm having fun with it so far.

Note that d5883dd adds context properties. Setting these from Julia would notify the GUI to update. I was thinking of using that to run a simulation in the background and have the GUI update when new results are available, but that does indeed require threading. I'm now looking at QTimer to "break in" in the event loop. Maybe this can be combined with a spawned process somehow to accomplish GUI control of a background task.

@ufechner7
Copy link
Member Author

It is interesting to read how the Ruby wrapper is doing it:
http://seanchas116.github.io/ruby-qml/
A kind of "cooperative" multitasking should already be possible.

Another helpful resource is the documentation of the Python bindings:
http://pyqt.sourceforge.net/Docs/PyQt5/qml.html

@barche
Copy link
Collaborator

barche commented Apr 7, 2016

I will start working on image support next, with the objective of displaying a plot in a QML element

barche added a commit that referenced this issue Apr 15, 2016
Issue #5 and #7
@barche
Copy link
Collaborator

barche commented Apr 15, 2016

OK, there is now an interactive plot example, see:
https://github.com/barche/QML.jl/blob/master/example/plot.jl

@tbreloff
Copy link
Member

Plots and QML? 💯

@barche
Copy link
Collaborator

barche commented Apr 15, 2016

Well, I'm not sure my use of Plots.jl is optimal, so any tips are welcome :)

Also, the image is transferred using writemime with PNG data (the QML item acts as a Julia Display), which is very general, but for a plot it would be better to draw directly to the pixel buffer somehow. Anyway, the example works in a satisfactory way, following window resizing and changing function parameters with sliders.

@tbreloff
Copy link
Member

Maybe not optimal, but a great start! If I find time to add/improve, I
will.

On Friday, April 15, 2016, Bart Janssens [email protected] wrote:

Well, I'm not sure my use of Plots.jl is optimal, so any tips are welcome
:)

Also, the image is transferred using writemime with PNG data (the QML item
acts as a Julia Display), which is very general, but for a plot it would be
better to draw directly to the pixel buffer somehow. Anyway, the example
works in a satisfactory way, following window resizing and changing
function parameters with sliders.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#7 (comment)

@ufechner7
Copy link
Member Author

Now that QML 0.8 is released we might need a new roadmap...

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

3 participants