The Need for Simple & Modular QR Generation in QML Recently, our designer Nuno Pinheiro needed to generate QR codes for an Android app in QML and started asking around about a simple way to do this. The best existing QML solution was QZXing, a Qt/QML wrapper for the 1D/2D barcode image processing library ZXing. […]
Blog Archives
KDE’s Akademy 2020 – A Quick Summary
What is Akademy? Akademy is the yearly conference for the KDE community, which is a community devoted to creating free software for desktop and mobile. Typically, Akademy takes place in a different city each year. However, due to the pandemic, the conference was online this time around. September 4-11 marked the dates of Akademy 2020. […]
Qt World Summit 2018 Boston ("Don't you wish your framework was Qt like me?")
This year’s North American stop on the Qt World Summit world tour was in Boston, held during the Red Sox’s World Series win. Most of us were glad to be flying home before celebration parades closed the streets! The Qt community has reason to celebrate too, as there’s an unprecedented level of adoption and support […]
Tuple And Pair in C++ APIs? A Simple Design Goal to Improve Your C++ APIs
Quick: When you design C++ APIs, when and how should you use pair and tuple? The answer is as simple as it is surprising: Never. Ever. When we design APIs, we naturally strive for qualities such as readability, ease-of-use, and discoverability. Some C++ types are enablers in this regard: std::optional, std::variant, std::string_view/gsl::string_span, and, of course, […]
Scalable UIs, Scaling the Content
So far we talked about the technical aspects of scaling your application, the dpi, the number of pixels, its nature, the nature of image formats and the implications of all that on the creation of visual elements for your UI. But this is only a part of the problem, for although all this helps you to create answers […]
Of vectors and scalable things SVG, fonts, and QML
Vectors Moving away from my original plan, today we will be talking about Vectors. To start this series of posts I had a main motivator, SVG. It is a great file format, it’s the file type I use day in day out and the format I use the most to create all of my images… But […]
BorderImage is for Scaling! Scalable UIs 2.2
In the previous blog post, we talked about the importance of pixels and their indivisible nature, the way we deal with that in the icon area and introduced the concept of PPI dependable UIs – all this to have truly scalable graphics in QML. We used the BorderImage element to illustrate how an element could […]
In Pixels we trust Scalable UIs In QML part 2
In the earlier post, we talked about the difficulty of scaling Uis across the current PPI range we have on the mobile and embedded space. We also hinted that the most common way to avoid this problem was done via providing several image assets that help to mitigate this issues. How does it work? How […]
Scalable UIs In QML
A User Experience is not defined to exist in a single form factor any more. It is expected to be able to flow from one device to another, seemingly adapting itself to each interaction paradigm, and yet retain branding, mood and overall look and feel across multiple platforms. On the other hand, it’s expected that Designers […]