Qt Stylesheets

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 […]

Using QRect with QHash

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 = […]

How to Conduct a Good C++ Phone Interview

I’ve interviewed dozens of software engineers, mostly to fill positions involving C++. I’ve also interviewed for about a dozen positions involving C++ and lots of other technologies and languages. I thought I’d share some good on-the-phone interviewing techniques for the interviewer for C++ positions. Before you read this, you shoud know that my interviewing technique […]

Flight of the Yak

I put together a $22 Hobby Lobby Yak 55 Profile this week, and it’s great fun. This is by far the most aerobatic plane I’ve flown. Here’s my power setup: Kit: Hobby Lobby Yak 55 Profile Motor: EMax FC 28-22 from HobbyCity Prop: 9×3.8 APC Slow Flyer from Some Dude’s Hobbies Speed Controller: 30 amp […]

Easy Glider maiden flight

I finished the Easy Glider today, and took it out for its maiden flight. Here’s the setup: Motor: Tower Pro 2908-10 brushless ESC: Tower Pro 30A Battery: Hextronik 2200mah 20C Prop: 9×4.5 (will upgrade to a folding prop later) Servos: Hextronik 9g servos Radio: Spektrum DX6 with AR6000 receiver The plane took a little longer […]