QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
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
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
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
m
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
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
gui
layout
qgslayoutpolygonwidget.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgslayoutpolygonwidget.h
3
begin : March 2016
4
copyright : (C) 2016 Paul Blottiere, Oslandia
5
email : paul dot blottiere at oslandia 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 QGSLAYOUTPOLYGONWIDGET_H
18
#define QGSLAYOUTPOLYGONWIDGET_H
19
20
// We don't want to expose this in the public API
21
#define SIP_NO_FILE
22
23
#include "qgis_gui.h"
24
#include "ui_qgslayoutpolygonwidgetbase.h"
25
#include "
qgslayoutitemwidget.h
"
26
#include "
qgslayoutitempolygon.h
"
27
35
class
GUI_EXPORT
QgsLayoutPolygonWidget
:
public
QgsLayoutItemBaseWidget
,
private
Ui::QgsLayoutPolygonWidgetBase
36
{
37
Q_OBJECT
38
public
:
40
explicit
QgsLayoutPolygonWidget
(
QgsLayoutItemPolygon
*polygon );
41
void
setMasterLayout
(
QgsMasterLayoutInterface
*masterLayout )
override
;
42
43
protected
:
44
45
bool
setNewItem
(
QgsLayoutItem
*item )
override
;
46
47
private
:
48
QPointer< QgsLayoutItemPolygon > mPolygon;
49
QgsLayoutItemPropertiesWidget
*mItemPropertiesWidget =
nullptr
;
50
52
void
setGuiElementValues();
53
54
private
slots:
55
void
symbolChanged();
56
};
57
58
#endif // QGSLAYOUTPOLYGONWIDGET_H
qgslayoutitempolygon.h
QgsLayoutItemPropertiesWidget
A widget for controlling the common properties of layout items (e.g.
Definition:
qgslayoutitemwidget.h:219
qgslayoutitemwidget.h
QgsLayoutItem
Base class for graphical items within a QgsLayout.
Definition:
qgslayoutitem.h:113
QgsLayoutItemBaseWidget
A base class for property widgets for layout items.
Definition:
qgslayoutitemwidget.h:123
QgsLayoutItemBaseWidget::setNewItem
virtual bool setNewItem(QgsLayoutItem *item)
Attempts to update the widget to show the properties for the specified item.
Definition:
qgslayoutitemwidget.cpp:222
QgsLayoutItemBaseWidget::setMasterLayout
virtual void setMasterLayout(QgsMasterLayoutInterface *masterLayout)
Sets the master layout associated with the item.
Definition:
qgslayoutitemwidget.cpp:202
QgsLayoutPolygonWidget
Input widget for QgsLayoutItemPolygon.
Definition:
qgslayoutpolygonwidget.h:36
QgsLayoutItemPolygon
Layout item for node based polygon shapes.
Definition:
qgslayoutitempolygon.h:30
QgsMasterLayoutInterface
Interface for master layout type objects, such as print layouts and reports.
Definition:
qgsmasterlayoutinterface.h:43
Generated on Sat Oct 24 2020 17:43:09 for QGIS API Documentation by
1.8.20