Extending Qt Creator Manual | SelectableFilesModel

Extending Qt Creator Manual 4.5.0

# SelectableFilesModel Class

(ProjectExplorer::SelectableFilesModel)

- List of all members, including inherited members

## Public Functions

| SelectableFilesModel(QObject *parent)
| ~SelectableFilesModel() override
void | applyFilter(const QString &selectFilesfilter, const QString &hideFilesfilter)
void | cancel()
int | columnCount(const QModelIndex &parent) const override
QVariant | data(const QModelIndex &index, int role = Qt::DisplayRole) const override
Qt::ItemFlags | flags(const QModelIndex &index) const override
bool | hasCheckedFiles() const
QModelIndex | index(int row, int column, const QModelIndex &parent) const override
QModelIndex | parent(const QModelIndex &child) const override
Utils::FileNameList | preservedFiles() const
int | rowCount(const QModelIndex &parent) const override
void | selectAllFiles()
Utils::FileNameList | selectedFiles() const
Utils::FileNameList | selectedPaths() const
bool | setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole) override
void | setInitialMarkedFiles(const Utils::FileNameList &files)
void | startParsing(const Utils::FileName &baseDir)

## Signals

void | checkedFilesChanged()
void | parsingFinished()
void | parsingProgress(const Utils::FileName &fileName)

## Member Function Documentation

### SelectableFilesModel::SelectableFilesModel(QObject *parent)

Default constructs an instance of SelectableFilesModel.

### SelectableFilesModel::~SelectableFilesModel()

Destroys the instance of SelectableFilesModel.

### void SelectableFilesModel::applyFilter(const QString &selectFilesfilter, const QString &hideFilesfilter)

### void SelectableFilesModel::cancel()

### `[signal]` void SelectableFilesModel::checkedFilesChanged()

### int SelectableFilesModel::columnCount(const QModelIndex &parent) const

### QVariant SelectableFilesModel::data(const QModelIndex &index, int role = Qt::DisplayRole) const

See also setData().

### Qt::ItemFlags SelectableFilesModel::flags(const QModelIndex &index) const

### bool SelectableFilesModel::hasCheckedFiles() const

### QModelIndex SelectableFilesModel::index(int row, int column, const QModelIndex &parent) const

### QModelIndex SelectableFilesModel::parent(const QModelIndex &child) const

### `[signal]` void SelectableFilesModel::parsingFinished()

### `[signal]` void SelectableFilesModel::parsingProgress(const Utils::FileName &fileName)

### Utils::FileNameList SelectableFilesModel::preservedFiles() const

### int SelectableFilesModel::rowCount(const QModelIndex &parent) const

### void SelectableFilesModel::selectAllFiles()

### Utils::FileNameList SelectableFilesModel::selectedFiles() const

### Utils::FileNameList SelectableFilesModel::selectedPaths() const

### bool SelectableFilesModel::setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole)

See also data().

### void SelectableFilesModel::setInitialMarkedFiles(const Utils::FileNameList &files)

### void SelectableFilesModel::startParsing(const Utils::FileName &baseDir)