[Interest] QTableWidget cellChanged signal called while populating table

Berkay Elbir berkayelbir at gmail.com
Mon May 11 13:29:46 CEST 2015


Yeah, thats right. Thanks for help, it is solved.

On Mon, May 11, 2015 at 2:04 PM, André Somers <andre at familiesomers.nl>
wrote:

> André Somers schreef op 11-5-2015 om 13:03:
> > Berkay Elbir schreef op 11-5-2015 om 12:43:
> >> Hello All,
> >>
> >> I want to ask a question about QTableWidget. How can I prevent that
> >> calling QTableWidget cellChanged signal while populating table?
> >>
> >> Thanks in advance,
> >>
> > You could block signals from your table widget?
> >
> > QObject::blockSignals(bool)
>
> One more small remark: we found that wrapping this in a small RAII
> object makes sense. It's easy to forget the ending call for it.
>
> André
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150511/b8848653/attachment.html>


More information about the Interest mailing list