RunConfigurationModel Class
(ProjectExplorer::RunConfigurationModel)The RunConfigurationModel class provides a model to represent the run configurations of a target. More...
Header: | #include <RunConfigurationModel> |
Inherits: | QAbstractListModel |
Public Functions
RunConfigurationModel(Target *target, QObject *parent = nullptr) | |
QModelIndex | indexFor(RunConfiguration *rc) |
RunConfiguration * | runConfigurationAt(int i) |
RunConfiguration * | runConfigurationFor(const QModelIndex &idx) |
Reimplemented Public Functions
virtual int | columnCount(const QModelIndex &parent = QModelIndex()) const override |
virtual QVariant | data(const QModelIndex &index, int role = Qt::DisplayRole) const override |
virtual int | rowCount(const QModelIndex &parent = QModelIndex()) const override |
- 4 public functions inherited from QAbstractListModel
- 39 public functions inherited from QAbstractItemModel
- 32 public functions inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 2 public slots inherited from QAbstractItemModel
- 1 public slot inherited from QObject
- 18 signals inherited from QAbstractItemModel
- 2 signals inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 19 protected functions inherited from QAbstractItemModel
- 9 protected functions inherited from QObject
- 1 protected slot inherited from QAbstractItemModel
- 2 protected variables inherited from QObject
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.