RunConfigurationModel Class
(ProjectExplorer::RunConfigurationModel)The RunConfigurationModel class provides a model to represent the run configurations of a target. More...
Header: | #include <RunConfigurationModel> |
Public Functions
RunConfigurationModel(Target *target, QObject *parent = nullptr) | |
int | columnCount(const QModelIndex &parent = QModelIndex()) const override |
QVariant | data(const QModelIndex &index, int role = Qt::DisplayRole) const override |
QModelIndex | indexFor(RunConfiguration *rc) |
int | rowCount(const QModelIndex &parent = QModelIndex()) const override |
RunConfiguration * | runConfigurationAt(int i) |
RunConfiguration * | runConfigurationFor(const QModelIndex &idx) |
Detailed Description
The RunConfigurationModel class provides a model to represent the run configurations of a target.
To be used in the dropdown lists of comboboxes. Automatically adjusts itself to added and removed run configurations.
Member Function Documentation
RunConfigurationModel::RunConfigurationModel(Target *target, QObject *parent = nullptr)
Default constructs an instance of RunConfigurationModel.