[Qt-interest] Blocking signals from / to MVC components.

MARTIN Pierre hickscorp at gmail.com
Wed Sep 21 14:53:09 CEST 2011


> I don't know. I'm afraid I've never used those QSql classes.
i started using them a while ago, and i have to say it's very handy for the use i do.

> But on the next release of Qt you wouldn't even need your own model anymore. 
> Though in reality, the patch will probably not get in before Qt 5, and only 
> then if someone decides to take care of QtSql.
This is very interesting, thanks for the update.

> Maybe, I didn't look close enough at the class. reimplementing setData 
> sounds like it might work as long as you don't need access to the private 
> internals of the class. You should do both anyway (fix Qt and do your own 
> model) for future proofing.
> A from-scratch implementation is also an option.
Saddly the deadline i have is a bit too close now... i'm just solving UI bugs like selection being lost, and i won't be able to dive in.

> beginResetModel/endResetModel is newer than reset(). No one saw the need to 
> port it.
Understood.

Thanks again Stephen, and have a good end of week!
Pierre.



More information about the Qt-interest-old mailing list