QWidget Pixel Drawing

In very rare occasions, we want to draw individual pixels all over a widget. Custom painted widgets are much less common. But we can often get away with much easier painting than doing individual pixels. We draw these using lines, …

Read More

QObject SignalBlocker

Sometimes you have to stop a class from emitting a signal for a while. One example that just came up on the Qt interest list was an application that modifies a file which it also monitors with a QFileSystemWatcher. You …

Read More

Qt Sourcecode Structure

One of the questions I often get from companies that hire me to help them in their first project with Qt, is how to structure the source tree. This might look trivial to some, but if you don’t know how …

Read More