I think my computer swallowed my last posting of the same info... not sure tho...sorry if this is a double post
Still trying to make my nice array of 100 pretty round buttons even nicer
due to the fact that I often have to update the state of about 25-30 buttons at a time, the repaints that I am calling are kinda slow....
I thought I could maybe speed up the repaints by not calling
every single repaint, but instead creating the painter on initialisation and having a QPainter* as a member of the RoundButton class - but there are a couple of qns
1. Will this actually make it that much faster?
2. When I try to do this, it says that a painter can only be created for a QWidget (RoundButton is a derivative of QPushButton) during a paint event, so i can't initialize it during construction
anybody tried anything similar? any success? am I barking up the wrong tree completely?
Bookmarks