KDAB_Tree_Header_Mobile KDAB_Tree_Header_Web

Trusted Software Excellence since 1999

Jesper K. Pedersen

269 results

This episode shows a simple Linux script to run backup of your source files every ten minutes.

It is not entirely trivial to run clazy and clang-tidy from the command line, but it is rather useful to do so to either run it from CI or to make the same fixit for lots of projects. In the video, I promise a script to run over all files.

Qt Creator includes two powerful static code analysis tools: clang-tidy and clazy, which work out of the box with recent versions. These tools warn about potential errors, performance problems, and code that could be improved, helping developers identify issues before they become bugs or performance bottlenecks in production.

Model/View programming is notoriously difficult. Your carefully crafted models may work fine with single views but struggle with multiple views or proxy models added later. Qt's QAbstractItemModelTester helps catch these issues. This video demonstrates an automatic testing class and explains what the model tester actually does to validate your models.

For more than a year Jesper Pedersen has hosted a Youtube series focusing on Qt Widgets and everything around developing with it. In this talk, Jesper will highlight some of the most important take aways, including coding tips, and especially those relating to the model/view framework, Qt Creator power tips, and general tips relating to a software development tool.

Qt Creator has a facility for remembering different locations in your source codes. It's called bookmark, and is just like bookmarks in books. This video will show you exactly how they work and when and how Jesper is using them.

Imagine a treeview with lots of columns. The columns can be grouped in a number of sections, and you would like that to be visible to the users by changing their background color. Easy-peasy, but how about adding a header on top of these columns? That is what this video will tell you how to do.

Qt Creator supports a number of refactoring techniques by pressing Alt+Enter in the right places. Unfortunately, it isn't super easy to figure out where those places are. So, this and the following episode will show you all the known (to us) refactoring techniques.

Qt Creator supports a number of refactoring techniques by pressing Alt+Enter in the right places. Unfortunately, it isn't super easy to figure out where those places are. So, this and the following episode will show you all the known (to us) refactoring techniques.

When tables or trees display varying data types, certain rows may need to stand out as headers for better organization and readability. This video series demonstrates setting up QTableView and QTreeView with header rows, and explains how models communicate to views which specific rows should be treated as headers rather than regular data rows.

Here is the problem: You grep in Qt Creator and walk through a large number of hits, for each of which you need to make a change. Find out how to handle this in this video.

Qt's model/view framework treats headers as views, making it easy to change properties like foreground color or font for header cells, just like table cells. However, one missing feature is checkbox support in headers. This video demonstrates adding header checkboxes, which is useful because unlike table content, headers don't scroll away when navigating through data.

In Qt Creator, it is possible to customize how your own data types are displayed. An instance of a money class may, for example, be displayed at €100. Learn how to set this up in this episode.

When you start GDB, it takes quite a long time to parse symbols from the binary and all of its dependencies. This, however, can be cached with almost no disadvantages. Learn how, in this video.

A debugger is, without a doubt, a very useful tool to have. However, sometimes you debug just one step too far and wish you had a time machine to go back. Now, such a time machine does actually exist on Linux. It's called 'rr,' was developed by Mozilla to debug Firefox, and is far from just a toy.

Did you know you can set up custom button groups for radio buttons within Qt Designer? Learn how here.

You want enum class over just enum, right? That is, however, a bit troublesome with Qt's model/view framework, where you often use int. This episode will introduce a few helpers that will make your life much easier.

Having covered the effect of Ninja, Clang and CCache in the previous video, Jesper now turns his attention to the speed up gains that can be had with very little work on your side, when using precompiled header support.

This is the first in a mini-series on speeding up compilation, and tells the story of switching back to Linux and discovering what worked best in speeding up compile time. The story covers Make vs Ninja, Clang vs Gcc and the effect of using CCache. Whilst some of the material is indeed Linux specific, other sections apply just as well on Mac and Windows.

This video shows how to get access to documentation of std::any_of from within Qt Creator.

JesperKjaerPedersen

Jesper K. Pedersen

HR Director / COO