| 42 | } |
| 43 | |
| 44 | void DatasetProxyModel::setDatasetColumnDescriptionVector( |
| 45 | const DatasetDescriptionVector &configuration) |
| 46 | { |
| 47 | Q_ASSERT_X(sourceModel(), "DatasetProxyModel::setDatasetColumnDescriptionVector", |
| 48 | "A source model must be set before the selection can be configured."); |
| 49 | initializeDatasetDecriptors(configuration, sourceModel()->columnCount(mRootIndex), |
| 50 | mColSrcToProxyMap, mColProxyToSrcMap); |
| 51 | invalidate(); |
| 52 | } |
| 53 | |
| 54 | void DatasetProxyModel::setDatasetDescriptionVectors( |
| 55 | const DatasetDescriptionVector &rowConfig, |