摘要: 一。 virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole); 该方法是个虚方法,可用于继承实现 当子类实现的时候,会在什么时候调用呢? 1、比如当tableview 阅读全文
posted @ 2018-06-19 15:08 beautifulday 阅读(1587) 评论(0) 推荐(0) 编辑