Recently I had to implement a simple version of a bar graph widget in Qt:
by Jens Weller
From the Article:
Today I had a little fun with Qt and wrote a widget for displaying a bar graph. I have two different situations where I need the bar graph in my back end: displaying the votes a single talk got, and displaying one big bar graph of all the talks.