Tag Archives: c++
(Not so much) Fun with QSharedPointer
Qt has a wonderful way of dealing with memory management. The core idea is simple. Most objects have a parent, and when the parent gets destroyed, it will first destroy all it’s children. Using this technique, you can often write … Continue reading
Combining Qt’s Signals and Slots with c++0x lamdas
Qt is a fantastically designed library. However, every now and then I think of something that I wish they offered that they don’t. It’s almost always something small and easily worked around, but it would be nice if it were … Continue reading
How not to handle a bug report
I recently submitted a bug report to Qt software, the results were less than impressive. One thing I’d like to make clear though is that Qt is an amazing library that I would recommend to any c++ software developer, I … Continue reading
How not to maintain an API
So I’ve been working on my graphing code for EDB. I was eventually able create a Qt widget which natively renders a graphviz graph layout. It actually works quite nicely, you can create an ordinary graphviz graph either in memory … Continue reading
Micro-optimization is stupid
I tend to frequent the website stackoverflow.com. It’s a fantastic website. It allows knowlege to be shared in a unique way. The only problem is, some people have no idea what they are talking about. If there are enough people … Continue reading