Jesper K. Pedersen
292 results
Regular Expressions
8 August 2024
String Handling
7 August 2024
Git pre-commit
31 July 2024
Signal Throttlers
24 July 2024
Improve qDebug print out
17 July 2024
Main Windows
13 June 2024
Common Dialogs
12 June 2024
Qt provides built-in dialogs for common use cases including file selection, color/font choosers, simple text input (like asking for names), message display, and progress indication. It also includes a framework for implementing wizards. This episode covers all these dialog types and demonstrates their practical usage in Qt applications.
Dialogs
11 June 2024
Have you ever wondered what the difference is between QWidget::repaint() and QWidget::update()? You may even have heard that update events collapsed into just one event in the event loop, which might make you ask the question on whether there are other events merged together. Let's debug into the Qt source code to get an answer.
The task was simple: Add double click to a push button - with the added bonus of it not emitting the normal clicked if there is a double click. OK, this sounds trivial, right? Well no, it wasn't entirely. To get it right you have to understand quite a bit of both signals/slots and the event system. This episode explains.
Show Me Your IDE: VSCode
8 May 2024
In April 2022, we put out an April's Fools where we demonstrated the AI integration in Qt creator. Fortunately within the same year reality surpassed us, and now we are all much more productive thanks to ChatGPT. You may ask, how does it know all the stuff it knows? Well, it obviously watched Qt Widgets and More! I did, however, find that it had a few glitches, so this episode will be fixing those, but telling it about all the best practices around Qt Widgets development
Resources
14 March 2024
Validating Input
13 March 2024
Guidelines for Custom Widgets
12 March 2024
Adding a new widget to your toolbox might be as simple as subclassing from QWidget and add two child widgets plus a layout, or it might be a multi-month job where you need to polish every single pixel. In any case there are a few things to think about, and that is exactly what we will discuss in this episode.
Layout Management
8 March 2024
Item Widgets
7 March 2024
Organizer Widgets
6 March 2024


