QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
src
core
qgsdartmeasurement.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsdartmeasurement.h
3
--------------------------------------
4
Date : 8.11.2014
5
Copyright : (C) 2014 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
16
#ifndef QGSDARTMEASUREMENT_H
17
#define QGSDARTMEASUREMENT_H
18
19
#include <QString>
20
24
class
CORE_EXPORT
QgsDartMeasurement
25
{
26
public
:
27
enum
Type
28
{
29
Text
,
30
ImagePng
,
31
Integer
32
};
33
34
QgsDartMeasurement
()
35
: mType( Text )
36
{}
37
38
QgsDartMeasurement
(
const
QString
& name,
Type
type,
const
QString
& value );
39
40
const
QString
toString()
const
;
41
42
void
send()
const
;
43
44
static
const
QString
typeToString(
Type
type );
45
46
private
:
47
QString
mName;
48
Type
mType;
49
QString
mValue;
50
};
51
52
#endif // QGSDARTMEASUREMENT_H
QgsDartMeasurement::ImagePng
Definition:
qgsdartmeasurement.h:30
QString
QgsDartMeasurement
Definition:
qgsdartmeasurement.h:24
QgsDartMeasurement::Text
Definition:
qgsdartmeasurement.h:29
QgsDartMeasurement::QgsDartMeasurement
QgsDartMeasurement()
Definition:
qgsdartmeasurement.h:34
QgsDartMeasurement::Type
Type
Definition:
qgsdartmeasurement.h:27
Generated on Sun Jun 24 2018 11:42:48 for QGIS API Documentation by
1.8.13