February 2012 S M T W T F S « Oct 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Categories
-
Recent Posts
Recent Comments
- Fabio Utzig on propertypp: Objective-C-like properties for C++ classes
- Fabio Utzig on Two Conclusions
- Fabio Utzig on Two Conclusions
- Mauricio Berni on Two Conclusions
- Fabio Mierlo on My trip to Seattle for the Amazon.com SDE interview
Archives
Category Archives: C++
propertypp: Objective-C-like properties for C++ classes
The short version: propertypp on GitHub The long version: A co-worker recently told me he had made some member variables in a C++ class public, because a getter and setter for them would just do exactly the same thing as … Continue reading
Posted in C++, English, Programming, Projects
1 Comment
Drawing scalable pixels in the Qt Graphics View framework
Say you have a custom QGraphicsItem that you would like to draw pixel by pixel, and want it to appear pixelated when that item is scaled (or the QGraphicsView it is being displayed on, or whatever). At first, you might … Continue reading
Posted in C++, English, Programming, Qt
Leave a comment
Aligning text in QGraphicsTextItem
The Qt Graphics View Framework provides a rich set of resources to create applications with interactive graphics scenes that display arbitrary shapes, text and even Qt widgets. While the framework provides almost everything you need regarding interactivity, scene hierarchy management … Continue reading
Posted in C++, English, Programming, Qt, Tutorials
Leave a comment
Don’t forget that virtual
I am not really a C++ programmer. I usually code in C, and I think all C++ I’ve ever written involved a couple of vectors and maybe one or two classes. So what I’m writing here is certainly old news … Continue reading
Posted in C++, English, Programming
1 Comment
