[Interest] QTableWidget cellChanged signal called while populating table
André Somers
andre at familiesomers.nl
Mon May 11 13:04:46 CEST 2015
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é
More information about the Interest
mailing list