I know how to draw a picture on a QMainWindow via QPainter:
QPainter painter(this).
But, after creating a QFrame (named frame_1) via QDesigner, how to implement the paintEvent in order to make it working with my QFrame ?
In short, I would like to point to my QFrame, not the default (this) QMainWindow.
I have not seen any code from Google or from this forum, since QDesigner is not very used.
By advance, thank you for any help.http://www.qtcentre.org/forum/images/icons/icon3.gif
Jean (a novice, of course).
Bookmarks