Jesper K. Pedersen
284 results
Compiling your App as a Library
24 June 2021
Making widgets into standalone plugins can be challenging if they weren't carefully designed during development. A solution is restructuring your application into a library plus simple main function using that library. This episode covers everything needed for this architectural transformation to enable proper widget plugin extraction.
Before you create a plugin, your classes may be configured using constructors like: class Wishes { public: Wishes(bool isExclusive, const QColor& color, QWidget* parent); ... } But how do you handle these parameters if your constructors can't take anything but the parent pointer? This episode will discuss a few different possible solutions.
Widgets Promotion
8 June 2021
Converting Enums to Strings
28 April 2021
Adapting Column Content to Size
22 April 2021
A nice feature of QListView and QTreeView is that the user can adapt the width of the columns using the mouse. A problem with that, however, is what to do if the column width is not wide enough to show all text. In this episode we will present an adapter that allows your model to provide multiple different strings the view can choose from.
Document Templates in Qt Creator - Part 2
18 March 2021
Document Templates in Qt Creator - Part 1
16 March 2021
Proxy Models in GammaRay
3 March 2021
QSortFilterProxyModel
3 March 2021
Models Provided from C++
3 March 2021
Proxy Models Introduction
3 March 2021
Top 7 Shortcuts in Qt Creator
24 February 2021
Using Custom Types with Model/View
11 February 2021
Exporting Values from C++ to QML
27 January 2021
Exporting QObjects from C++ to QML
27 January 2021
QObject Ownership
27 January 2021
Creating New GUI Elements from C++
27 January 2021


