James Turner
7 results
A long time ago, I wrote a post about creating custom shapes in Qt Quick, via the scene-graph APIs. That post covered defining suitable geometry to draw a part of a circle, known also as a 'sector', efficiently, since such sectors occur commonly in instrument and vehicle interfaces. I started writing the second part, about […]
My file menu is not full of eels
Or, why do my menus behave oddly on macOS when translated?
22 July 2020
This is the story of a bug in an open-source project I maintain; as the maintainer I review and sometimes fix bug reports from the community. Last week, a user reported that the 'File' menu of the application was not appearing on macOS. Some investigation showed this didn't happen when using the default translation (i.e […]
QtQuick includes basic visual item to construct many common user-interface components, but people often ask how to create different visual appearances, beyond rectangles, round-rectangles and images. There’s various solutions to this problem, and with Qt 5.10, there’s the new Shapes module which makes it easy to define paths, ellipses and other standard SVG drawing elements. […]
The multimedia layer in Qt contains various possibilities for including streaming video in your QtQuick applications - most commonly there's the Video element, which you include in your QML interface, specifying the source URL, playback options and so on. Unfortunately, on iOS you'll discover a limitation: the backend for QtMultimedia only supports window-level integration. In […]
Introducing Qt3D 2.0
14 March 2015
JamesTurner and Giuseppe D’Angelo introducing Qt3D 2.0 Abstract: Qt3D 1.0 was created during the Qt4 life-cycle, and has been deprecated since the release of Qt5. Additionally, the API design featured some limitations which restricted the potential use-cases; injecting large amounts of dynamic data into the scene, configuring advanced multi-pass / deferred renderers, and using multiple […]
Integrating QtQuick 2 with 3D renderers
9 March 2015
Abstract: “QtQuick in Qt5 uses OpenGL to deliver fluid, performant visuals, and an internal scene-graph structure to permit threaded rendering, decoupling the main application thread from interacting directly with the graphics driver. For developers work with an existing rendering or visualisation technology, this presents both an opportunity but also problems; QtQuick offers a compelling, modern […]
Several previous posts have introduced our SlideViewer tool which we created for use in the various trainings we deliver. The tool started out as an experiment, created using basic QtQuick 2 Items. Startup configuration was specified by command line arguments, and a simple Keys.onPressed function provided most of the runtime control: both navigating around the […]