Jesper K. Pedersen
292 results
The C++ Explicit Keyword and Qt
28 June 2022
This episode explores C++'s explicit keyword: why there's no implicit keyword, why it's needed for QObjects, and available tooling. Topics include implicit conversions in string classes, when conversions go wrong, explicit to the rescue, named constructors, QObject-specific issues, Q_IMPLICIT, explicit(false), clang-tidy support, and rules for when implicit conversions are acceptable.
This episode completes the proxy model for reversing rows by handling the challenging layoutAboutToBeChanged signal. It covers understanding QModelIndex, updating persistent model indexes, layoutAboutToBeChanged and layoutChanged signals, and why persistent index updates differ for other operations like rowsInserted.
Git Switch and Restore
1 June 2022
What Did That Macro Expand to?
4 May 2022
Subclassing isn't always the solution!
20 April 2022
No More Booleans!
14 April 2022
QML Tips and Tricks - Introduction
5 April 2022
QtDevCon 2022 - Programme release
4 April 2022
Qt Creator and AI - April Fool's Video
1 April 2022
Unit Testing from Qt Creator
22 March 2022
Whether you're new to unit testing or already write tests, this episode shows how to set up Qt's testing framework and maximize Qt Creator's testing features. Covers Qt's framework versus others, test cases with QCOMPARE, table-driven testing, Qt Creator integration, debugging tests, and CMake integration.
QTableView Galore
17 March 2022
Building Qt
9 March 2022
Checking Your QModelIndex(es)
2 March 2022
A QMessageBox with a Do Not Show Again Button
22 February 2022


