QGIS API Documentation
3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
src
core
annotations
qgsrenderedannotationitemdetails.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsrenderedannotationitemdetails.h
3
----------------
4
copyright : (C) 2021 by Nyall Dawson
5
email : nyall dot dawson at gmail dot com
6
***************************************************************************/
7
8
/***************************************************************************
9
* *
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
14
* *
15
***************************************************************************/
16
17
#ifndef QGSRENDEREDANNOTATIONITEMDETAILS_H
18
#define QGSRENDEREDANNOTATIONITEMDETAILS_H
19
20
#include "qgis_core.h"
21
#include "
qgis_sip.h
"
22
#include "
qgsrendereditemdetails.h
"
23
29
class
CORE_EXPORT
QgsRenderedAnnotationItemDetails
:
public
QgsRenderedItemDetails
30
{
31
public
:
32
36
QgsRenderedAnnotationItemDetails
(
const
QString &layerId,
const
QString &itemId );
37
38
#ifdef SIP_RUN
39
SIP_PYOBJECT __repr__();
40
% MethodCode
41
QString
str
= QStringLiteral(
"<QgsRenderedAnnotationItemDetails: %1 - %2>"
).arg( sipCpp->layerId(), sipCpp->itemId() );
42
sipRes = PyUnicode_FromString(
str
.toUtf8().constData() );
43
% End
44
#endif
45
49
QString
itemId
()
const
{
return
mItemId; }
50
51
private
:
52
53
QString mItemId;
54
55
};
56
57
#endif
// QGSRENDEREDANNOTATIONITEMDETAILS_H
QgsRenderedAnnotationItemDetails
Contains information about a rendered annotation item.
Definition
qgsrenderedannotationitemdetails.h:30
QgsRenderedAnnotationItemDetails::itemId
QString itemId() const
Returns the item ID of the associated annotation item.
Definition
qgsrenderedannotationitemdetails.h:49
QgsRenderedItemDetails
Base class for detailed information about a rendered item.
Definition
qgsrendereditemdetails.h:37
str
#define str(x)
Definition
qgis.cpp:39
qgis_sip.h
qgsrendereditemdetails.h
Generated on Sat Nov 23 2024 09:26:05 for QGIS API Documentation by
1.9.8