void update(int index, const ParaModel ¶Model);//C++更新 int rowCount(const QModelIndex &parent = QModelIndex()) const;//qml内部调用,不用多管直接重写即可 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;//qml内部调用,不用多管直接重写即可 protected: QHash<int,...
void update(int index, const ParaModel ¶Model);//C++更新 int rowCount(const QModelIndex &parent = QModelIndex()) const;//qml内部调用,不用多管直接重写即可 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;//qml内部调用,不用多管直接重写即可 protected: QHash<int,...