DeployConfigurationModel Class
(ProjectExplorer::DeployConfigurationModel)The DeployConfigurationModel class provides a model to represent the run configurations of a target. More...
Header: | #include <DeployConfigurationModel> |
Inherits: | QAbstractListModel |
Public Functions
DeployConfigurationModel(Target *target, QObject *parent = nullptr) | |
DeployConfiguration * | deployConfigurationAt(int i) |
DeployConfiguration * | deployConfigurationFor(const QModelIndex &idx) |
QModelIndex | indexFor(DeployConfiguration *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 DeployConfigurationModel class provides a model to represent the run configurations of a target.
To be used in drop down lists of comboboxes. Automatically adjusts itself to added and removed deploy configurations.
Member Function Documentation
DeployConfigurationModel::DeployConfigurationModel(Target *target, QObject *parent = nullptr)
Default constructs an instance of DeployConfigurationModel.