When using Qt’s model/view framework, filtering has always been very easy with QSortFilterProxyModel. To filter a list using text typed by the user in a line-edit, you have certainly been applying the standard recipe: instantiate the proxy; insert it between view and source model; connect the lineedit’s textChanged signal to the proxy’s setFilterFixedString slot; done! […]
Blog Archives
Disabling narrowing conversions in signal/slot connections
A small new feature that I have added to Qt 5.8 is the possibility of disabling narrowing conversions in the new-style QObject::connect statement. In this short blog post I would like to share with you why I thought this was useful and therefore implemented it. The problem Since Qt 5.0, the new-style, PMF-based (pointer to […]
KDStateMachineEditor 1.1.0 released
KDStateMachineEditor is a Qt-based framework for creating Qt State Machine metacode using a graphical user interface. It works on all major platforms and is now available as part of the Qt Auto suite. The latest release of KDAB’s KDStateMachineEditor includes changes to View, API and Build system. View Button added to show/hide transition labels Now […]
QRegion will be iterable in Qt 5.8 - seamless integration with C++11 range-for
A novel solution to an old problem The QRegion class specifies a clip region for a painter. You can also query a QPaintEvent for the region() to limit the paint operations necessary in partial repaints. A region can be anything from a simple rectangle to a bitmap mask, but virtually all code that inspects a […]
KDSoap 1.5.0 released - a web service access package for Qt applications
KDSoap is a tool for creating client applications for web services without the need for any further component such as a dedicated web server. KDSoap lets you interact with applications which have APIs that can be exported as SOAP objects. The web service then provides a machine-accessible interface to its functionality via HTTP. You can […]
KD Chart 2.6.0 released
KD Chart 2.6.0 is a maintenance release with a limited number of new features. This release publishes feature additions and bugfixes since KD Chart 2.5.1. KDAB continues to offer a commercial license without flat fee support for KD Chart. Features: – Code updated to compile with Qt 5.6 – Optional line breaking for horizontal legends […]
What’s New in KD Reports 1.7? Released 22-09
The latest release of KD Reports further enhances your ability to get printable and exportable reports from code and XML descriptions. For those who like using CMake instead of qmake, you’ll be glad to know KD Reports now comes with a fully functioning CMake buildsystem (see INSTALL-cmake.txt). In addition, we have added Frame element and Report::setDocumentName(), to be […]
KDAB contributions to Qt 5.5
Good news, everyone! Qt 5.5 has just been released! The release process of Qt 5.5 has been focused on stabilizing and improving performances. Once more KDAB is proud to be a part of the release, with its engineers constantly providing contributions and patches, as demonstrated by the commit graph of the last 16 weeks: In […]
Contributing to Qt — hands on
Abstract: With the launch of the Qt Project in 2011 it has been made possible for everyone, individual or organization, to directly submit patches to the Qt codebase. Whether it’s a small fix to the documentation, an improvement to existing code, or even a brand new module altogether, the procedure is the same. The presentation […]
KDAB contributions to Qt 5.4: qmllint
One type of bug I see very often comes down to syntax errors in QML and JavaScript files. Most of the time these errors are simple typos; however, they creep in, go unnoticed by continuous integration and sometimes reach production — especially on delayed loaded components. I like fixing bugs, but what I love even […]