I’m a new convert to Qt’s stylesheets. They make customizing your Qt GUI much easier than other methods (like QPalette). Recently, I responded to a request for comments from Trolltech, and I thought my fellow GUI developers might be interested in it. These are my humble suggestions to Trolltech for improving Qt stylesheets: I use […]
In Qt 4.3.3, I found myself needing to use QRect instances as a key in a QHash. However, Trolltech provides no qHash() implementation for QRect, so I implemented this one, and I think it ought to cover the most common uses of QRect. What do you think? uint qHash(const QRect &rect) { uint code = […]