qprogressbar

Is there an easy way to customize a QProgressBar?

I would like to have a QProgressBar that ends with a dot ( that has a bigger width than the width of the line ). What do I have to override, or what property/attribute would I have to set to achieve this effect ? EDIT : here is a pic of how I would like it to look like : Where would I have to start? What should I do? ...

qt trouble overriding paintEvent

I'm subclassing QProgressBar in a custom widget, and I overwrote the paintEvent method with the following code : void myProg::paintEvent(QPaintEvent *pe) { QProgressBar::paintEvent(pe); QRect region = pe->rect(); QPainter *painter = new QPainter(this); QPen *pen = new QPen; painter->begin(this); painter->setBrus...