In this mini tour of the most common widgets in Qt, we will turn our attention to widgets organizing other widgets, namely: QGroupBox, QTabWidget, QToolBox, QStackedWidget, QScrollArea and QAbstractScrollArea.
In this episode, we will continue looking at the most common widgets in Qt, focusing our attention to QPushButton, QRadioButton, QCheckbox, QSlider, QProgressBar and QSpinBox.
In this and the next three episodes, we will look at the most common widgets in Qt, their API, how you are supposed to work with them, and most noticeable some of the hidden gems.
The robustness of Linux is widely acknowledged, but it can't quite match the microsecond management of a real-time operating system (RTOS) for time critical situations such as CNC machine instructions, vehicular control, or health sensor collection. If your software must record, manage, or control events within a narrow and precise time window and you’re invested […]
For the 14th time, KDAB exhibited at Embedded World - The meeting place for the global embedded community! Here, as expected, you got three days of pioneering technologies, solutions, new ideas, and intelligent concepts. Embedded World took place in Nürnberg, Germany from 9 - 11 April 2024 and the KDAB booth was in Hall 4-302 […]
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. […]
It's not always easy to find the right way to set up VS Code for Qt development on Windows. In this video, we will review the different steps needed, with a very concrete example. By following the steps in this video, you will be able to use VS Code as your main IDE for Qt development on Windows.
Choosing the right system-on-chip (SoC) is probably your first consideration when designing an embedded product, followed closely by deciding whether to use an off-the-shelf board or design your own. The case for commercial boards in initial designs For the first product in a new line, consider using a commercially available board that features your chosen […]
With your WSL (Windows Subsystem for Linux) set up for C++ and Qt development in the previous video (linked below), we'll now show you how to connect to WSL from Visual Studio Code running on your Windows host OS for painless cross-platform development.
If you're a C++ developer, with or without Qt, on Windows, and sometimes need to test your application on Linux, there's an easy way to build and test it without rebooting now. Microsoft introduced Windows Subsystem for Linux. A mechanism to run a lightweight virtual machine with a Linux distribution with just a few clicks with elegant integration with the host OS. I'll show you how to install it and configure for working with C++ and Qt applications.
When designing an embedded product, there’s a lot riding on those crucial first decisions of choosing a hardware vendor and board. Clearly, the hardware you select must be powerful enough to support your product, a challenging determination given that software is usually still in the planning stages at this point in the process. Plus, planning […]
This episode of KDAB News includes: What is the Cyber Resilience Act?; Tip of the Month - Mixing C++ and Rust: Part 2; Announcements; KDAB Training Schedule; Qt Champions.
In the beginning, there was C. That sentence actually could serve as the introduction to a multitude of blog posts, all of which would come to the conclusion "legacy programming conventions are terrible, but realistically we can't throw everything out and start over from scratch". However, today we will merely be looking at two ways […]
In this short episode, Jesper will provide you with a few links to some Qt Widgets and More episodes to watch before he returns with the next module. In addition to that, he will offer a few parting notes on when to use Qt Designer at all.
So, you are using Qt Designer to create your user interfaces? Great! But how do you get your own custom widgets in there? There are two ways, create a plugin for Qt designer or promote an existing widget. In this episode we will see both.
Making your applications work without having to use the mouse all the time, helps improve its usability quite a bit. There are two ways in Qt to help with that: accelerators and tab order. This episode will show you both.
There are three ways to connect to signals from objects in your Qt Designer UI. We've already seen the first one, which is to simply add a connect statement on the C++ side. In this episode, we will see the other two ways. One makes sense to know about for the rare cases where it is useful, the other is worth knowing about so that you don't accidentally start using it, just because you didn't think it through.
In this episode, Jesper will go through how to set up a layout in Qt Designer.
Once you have created your user interfaces in Qt Designer, then you want to hook that code up with C++. In other words, you may want to get some code executed when the user chooses save in the UI, or you may want to customize the UI say disable or hide part of it, based on data coming in over the network. In this episode, you will learn how to set that up.
Setting up a layout in C++ is rather cumbersome. Fortunately, Qt comes with a tool called Qt Designer, which allows you to create your UIs by simply drag and drop'ing it together. In this episode, Jesper will show you the basics of setting up a window with menu bars and toolbars, and configure a number of properties on the UI elements.