-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqgsgcplistmodel.h
49 lines (39 loc) · 1.6 KB
/
qgsgcplistmodel.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/***************************************************************************
qgsgcplistmodel.h - Model implementation of GCPList Model/View
--------------------------------------
Date : 27-Feb-2009
Copyright : (c) 2009 by Manuel Massing
Email : m.massing at warped-space.de
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
/* $Id$ */
#ifndef QGSGCP_LIST_TABLE_VIEW_H
#define QGSGCP_LIST_TABLE_VIEW_H
#include <QTreeView>
#include <QStandardItemModel>
class QgsGeorefDataPoint;
class QgsGeorefTransform;
class QgsGCPList;
class QgsGCPListModel : public QStandardItemModel
{
Q_OBJECT
public:
QgsGCPListModel(QObject *parent = 0);
void setGCPList(QgsGCPList *theGCPList);
void setGeorefTransform(QgsGeorefTransform *theGeorefTransform);
void updateModel();
public slots:
void replaceDataPoint(QgsGeorefDataPoint *newDataPoint, int i);
void onGCPListModified();
void onTransformationModified();
private:
QgsGCPList *mGCPList;
QgsGeorefTransform *mGeorefTransform;
};
#endif