QGIS API Documentation
3.22.4-Białowieża (ce8e65e95e)
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
c
e
f
g
h
k
l
m
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
3
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
v
Files
File List
File Members
All
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
n
o
p
q
r
s
t
u
w
Typedefs
3
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
c
l
s
t
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
x
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
gui
annotations
qgsannotationitemwidget.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgsannotationitemwidget.cpp
3
------------------------
4
Date : September 2021
5
Copyright : (C) 2021 Nyall Dawson
6
Email : nyall dot dawson at gmail dot com
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
#include "
qgsannotationitemwidget.h
"
17
18
QgsAnnotationItemBaseWidget::QgsAnnotationItemBaseWidget
( QWidget *parent )
19
:
QgsPanelWidget
( parent )
20
{
21
22
}
23
24
bool
QgsAnnotationItemBaseWidget::setItem
(
QgsAnnotationItem
*item )
25
{
26
return
setNewItem
( item );
27
}
28
29
void
QgsAnnotationItemBaseWidget::setContext
(
const
QgsSymbolWidgetContext
&context )
30
{
31
mContext
=
context
;
32
}
33
34
QgsSymbolWidgetContext
QgsAnnotationItemBaseWidget::context
()
const
35
{
36
return
mContext
;
37
}
38
39
void
QgsAnnotationItemBaseWidget::focusDefaultWidget
()
40
{
41
}
42
43
bool
QgsAnnotationItemBaseWidget::setNewItem
(
QgsAnnotationItem
* )
44
{
45
return
false
;
46
}
QgsAnnotationItemBaseWidget::QgsAnnotationItemBaseWidget
QgsAnnotationItemBaseWidget(QWidget *parent)
Constructor for QgsAnnotationItemBaseWidget.
Definition:
qgsannotationitemwidget.cpp:18
QgsAnnotationItemBaseWidget::context
QgsSymbolWidgetContext context() const
Returns the context in which the widget is shown, e.g., the associated map canvas and expression cont...
Definition:
qgsannotationitemwidget.cpp:34
QgsAnnotationItemBaseWidget::focusDefaultWidget
virtual void focusDefaultWidget()
Focuses the default widget for the page.
Definition:
qgsannotationitemwidget.cpp:39
QgsAnnotationItemBaseWidget::mContext
QgsSymbolWidgetContext mContext
Context in which widget is shown.
Definition:
qgsannotationitemwidget.h:106
QgsAnnotationItemBaseWidget::setContext
virtual void setContext(const QgsSymbolWidgetContext &context)
Sets the context in which the widget is shown, e.g., the associated map canvas and expression context...
Definition:
qgsannotationitemwidget.cpp:29
QgsAnnotationItemBaseWidget::setItem
bool setItem(QgsAnnotationItem *item)
Sets the current item to show in the widget.
Definition:
qgsannotationitemwidget.cpp:24
QgsAnnotationItemBaseWidget::setNewItem
virtual bool setNewItem(QgsAnnotationItem *item)
Attempts to update the widget to show the properties for the specified item.
Definition:
qgsannotationitemwidget.cpp:43
QgsAnnotationItem
Abstract base class for annotation items which are drawn with QgsAnnotationLayers.
Definition:
qgsannotationitem.h:43
QgsPanelWidget
Base class for any widget that can be shown as a inline panel.
Definition:
qgspanelwidget.h:30
QgsSymbolWidgetContext
Contains settings which reflect the context in which a symbol (or renderer) widget is shown,...
Definition:
qgssymbolwidgetcontext.h:36
qgsannotationitemwidget.h
Generated on Thu Feb 24 2022 10:41:09 for QGIS API Documentation by
1.9.1