阅读背景:

在Qt中,您如何正确实现代理?

来源:互联网 

I followed the model/view/controller paradigm. I am pretty sure that the model and view are right, but I think I'm doing some things wrong in my delegate. Everything "works", except the first click to a control just "lights up the control" and the second one interacts with it. Is this how delegates are usually implemented? My implementation requires a lot of construction and destruction (hidden by scoped_ptr) so any tips on that are also helpful.I followed the model/view/controller paradigm.




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

分享到: