是QAbstractItemModel的dataChanged信号,也是为其子级的更改而激发的

Is the dataChanged signal of a QAbstractItemModel also fired for changes of its children?

本文关键字:dataChanged QAbstractItemModel 信号      更新时间:2023-10-16

例如,如果我调整QAbstractItemModel中的子级的大小,那么只为父索引发出dataChanged信号就足够了吗?还是应该为每个子级发出信号?

在我的测试中,仅仅为父索引发出dataChanged信号是不够的。