In the last episode of this series we discussed QAbstractItemModel::checkIndex(). QAbstractItemModel::checkIndex() is a function added in Qt 5.11 that allows developers of model classes to perform some validity checks on the QModelIndex objects passed to the model; specifically, on the indices passed to the APIs that model classes need to implement (rowCount(), columnCount(), data, setData(), […]
Author Archives: Giuseppe D'Angelo
New in Qt 5.11: improvements to the model/view APIs (part 1)
The Qt model/view APIs are used throughout Qt — in Qt Widgets, in Qt Quick, as well as in other non-GUI code. As I tell my students when I deliver Qt trainings: mastering the usage of model/view classes and functions is mandatory knowledge, any non-trivial Qt application is going to be data-driven, with the data […]
KDAB at QtDay 2018
QtDay is the yearly Italian conference about Qt and Qt-related technologies. Its 2018 edition (the seventh so far!) will be once more in the beautiful city of Florence, on May 23 and 24. And, once more, KDAB will be there. I am also glad to announce that my talk has also been accepted: I am […]
New in Qt 5.10: QThread::create
If you are using Qt and you need to run some code in a separate thread, chances are that you are using QThread for the job. QThread is a very old class in Qt, making its first appearance in Qt 2.2, released on the 22nd of September 2000. Its responsibility is to start a new […]
CppCon 2017: trip report
During the last week of September I attended the 2017 edition of CppCon, in Bellevue, WA. Unusually late due to my presence at Qt World Summit which took place just after it, here’s my trip report.
Qt talks at CppCon 2017
The program for CppCon 2017 is now published! CppCon is the annual conference for the C++ community: five days packed with over 100 talks, as well as inspiring keynotes, panel discussions, hallway chats, fun evening events and much more. CppCon is a project of the Standard C++ Foundation, a not-for-profit organization whose purpose is to […]
New in Qt 5.10: Diagnostics when breaking QML bindings
Property bindings are one of the most interesting features of the QML language. In QML, when we set a value on a property, the right hand side expression isn’t evaluated just once to produce a value, like in a ordinary imperative language. In particular, if the expression involves other properties, then the property we’re setting […]
KDAB contributions to Qt 5.9
Qt 5.9 has just been released! This release marks two important milestones for the Qt Project. The first is that now the Qt 5 series has had more releases than any other Qt version ever (the last release of the Qt 4 series was Qt 4.8). The second milestone is that Qt 5.9 will be a […]
Ci vediamo a QtDay 2017?
With an apology to English-speaking audiences 🙂 Anche quest’anno KDAB partecipa a QtDay, la conferenza italiana interamente dedicata a Qt. Giunta oramai alla sua sesta edizione, QtDay continua a crescere. Quest’anno QtDay si articola in 3 giorni: il primo dedicato a un training su QML, seguito da due giorni di conferenza vera e propria. Durante […]
Ci vediamo alla Italian C++ Conference 2017?
(English speaking? Keep reading!) Il prossimo Giugno parteciperò all’Italian C++ Conference 2017, la più importante conferenza italiana sul C++, sponsorizzata da KDAB. L’evento è gratuito e si rivolge tanto ai programmatori esperti di C++ quanto a chi voglia avvicinarsi a questo linguaggio. L’edizione di quest’anno prevede due tracce, di cui una completamente in inglese, con […]