阅读背景:

为小部件存储画家是否有意义?

来源:互联网 

I have a custom Widget derived from QFrame. I will need to draw on it very frequently (basically, a picture is updated with every mouse move). I checked the Qt Basic drawing example: They override paintEvent, create a painter and do their drawing (and the painter dies at the end of its lifetime, facing the final cur...ly bracket).I have a custom Widget derived from QFrame. I w




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: