BuildConfigurationModel Class
(ProjectExplorer::BuildConfigurationModel)The BuildConfigurationModel class is a model to represent the build configurations of a target. More...
Header: | #include <BuildConfigurationModel> |
Inherits: | QAbstractListModel |
Public Functions
BuildConfigurationModel(Target *target, QObject *parent = nullptr) | |
BuildConfiguration * | buildConfigurationAt(int i) |
BuildConfiguration * | buildConfigurationFor(const QModelIndex &idx) |
QModelIndex | indexFor(BuildConfiguration *rc) |
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 BuildConfigurationModel class is a model to represent the build configurations of a target.
To be used in the dropdown lists of comboboxes. Automatically adjusts itself to added and removed BuildConfigurations. Very similar to the Run Configuration Model.
TODO might it possible to share code without making the code a complete mess.
Member Function Documentation
BuildConfigurationModel::BuildConfigurationModel(Target *target, QObject *parent = nullptr)
Default constructs an instance of BuildConfigurationModel.