How often have you wanted to place additional widgets in the header row of a list view or a table view? Take, for example, a checkmark in the header in order to turn on and off an entire column. Qt 5 does not natively support this feature.
C++ is certainly one of the most complex programming languages around. A particularly gnarly aspect of C++ are the templates: as a late addition to the language, they had to fit within the existing syntax. On top of that, using the STL approach, the…
Today’s high core-count processors require parallel algorithms for programs to run fast. To achieve this, asynchronization and future values are not a reliable solution.
One of the challenges of writing multithreaded code is that it is often necessary to share data that was not designed to be used by multiple threads at the same time. In this blog post, I want to show two approaches to protect such data: duplication…
In the course of an internal project, I was charged with exploring Amazon’s email services. In this article, I’ll be sharing what I learned about the Amazon Simple Email Service (SES) features: sending, bounces, out-of-office messages, complaints…
Code golf is usually all about the briefness of the code. This code golf will be a bit different: it will be about code size, speed and efficiency.
The first rule of optimization is “don’t do it”. However, once you’ve made your code as clear as it can be, written all your unit tests and verified that the actual product works, you’re sometimes left with underwhelming performances.
Qt is a very flexible and complete tool. That flexibility has its limits, though, and sometimes the Qt documentation can lead one down dead-ends. That is what happened to me recently. All I wanted to do was to put some buttons and text fields in a…
We won't share your information with third parties without your permission.