QGIS API Documentation
3.36.0-Maidenhead (09951dc0acf)
Loading...
Searching...
No Matches
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 "qgis_gui.h"
19
#include "
qgsfeatureid.h
"
20
#include <QModelIndex>
21
26
class
GUI_EXPORT
QgsFeatureModel
27
{
28
public
:
29
virtual
~QgsFeatureModel
() =
default
;
30
31
virtual
QModelIndex
fidToIndex
(
QgsFeatureId
fid ) = 0;
32
};
33
34
#endif
// QGSFEATUREMODEL_H
QgsFeatureModel
Definition
qgsfeaturemodel.h:27
QgsFeatureModel::fidToIndex
virtual QModelIndex fidToIndex(QgsFeatureId fid)=0
QgsFeatureModel::~QgsFeatureModel
virtual ~QgsFeatureModel()=default
qgsfeatureid.h
QgsFeatureId
qint64 QgsFeatureId
64 bit feature ids negative numbers are used for uncommitted/newly added features
Definition
qgsfeatureid.h:28
Generated on Mon Feb 26 2024 10:02:44 for QGIS API Documentation by
1.9.8