On Mon, May 11, 2015 at 12:43 PM, Berkay Elbir <berkayel...@gmail.com> wrote:
> 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, > > Berkay > yourObject->blockSignals(true); --- whatever you want to do --- yourObject->blockSignals(false); "yourObject" (which is a QTableWidget and just fine in this case) must inherit QObject at some level to get the "blockSignals(...)" function [1]. [1] http://doc.qt.io/qt-5/qobject.html#blockSignals > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest