2020-07-30 –, Purple Track
Qt QML is a declarative, javascript-based language to describe graphical user interfaces (GUIs) for desktop and mobile platforms. With the QML.jl package it is possible to also use this to create user interfaces for Julia programs, on Linux, Mac and Windows.
From a user perspective, the connection between Julia and QML works by exposing Julia functions to be called from QML and/or by using Observables that can be updated and monitored both from QML and Julia. Aside from these standard mechanism, the package also exposes some Julia-specific functionality, such as an AbstractDisplay
implementation and integration with GR.jl and Makie.jl.
The presentation will start off with a description of the Observables integration (new since the 2017 talk about this package) and then discuss more in detail how to combine different elements in Julia and QML to obtain interactive GR and Makie visualizations in a QML window.
We will finish with a note on GUI styling and themes, showing how to configure a GUI for either an identical look across platforms, or for integration with the desktop look and feel.
Slides and examples are available at https://github.com/barche/juliacon2020-qml
Bart Janssens is a military associate professor at the mechanics department of the Royal Military Academy, with a passion for computer graphics, high performance computing and fluid mechanics. For performance reasons, he used C++ until being introduced to Julia. His current work focuses on making scientific C++ libraries such as Trilinos interoperate with Julia, with the ultimate objective of developing CFD code for Julia.