QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
src
gui
attributetable
qgsfeaturemodel.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsfeaturemodel.h
3
---------------------
4
begin : April 2013
5
copyright : (C) 2013 by Matthias Kuhn
6
email : matthias at opengis dot ch
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
#ifndef QGSFEATUREMODEL_H
16
#define QGSFEATUREMODEL_H
17
18
#include "
qgsfeature.h
"
// QgsFeatureId
19
#include <QModelIndex>
20
24
class
QgsFeatureModel
25
{
26
public
:
27
virtual
~QgsFeatureModel
() {}
28
29
virtual
QModelIndex
fidToIndex
(
QgsFeatureId
fid ) = 0;
30
};
31
32
#endif // QGSFEATUREMODEL_H
QModelIndex
qgsfeature.h
QgsFeatureModel::~QgsFeatureModel
virtual ~QgsFeatureModel()
Definition:
qgsfeaturemodel.h:27
QgsFeatureModel::fidToIndex
virtual QModelIndex fidToIndex(QgsFeatureId fid)=0
QgsFeatureModel
Definition:
qgsfeaturemodel.h:24
QgsFeatureId
qint64 QgsFeatureId
Definition:
qgsfeature.h:31
Generated on Sun Jun 24 2018 11:42:48 for QGIS API Documentation by
1.8.13