QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
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
layout
qgslayoutpropertieswidget.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgslayoutpropertieswidget.h
3
----------------------------
4
begin : July 2017
5
copyright : (C) 2017 by Nyall Dawson
6
email : nyall dot dawson at gmail dot com
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 QGSLAYOUTPROPERTIESWIDGET_H
18
#define QGSLAYOUTPROPERTIESWIDGET_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_qgslayoutwidgetbase.h"
25
#include "
qgspanelwidget.h
"
26
27
class
QgsLayout
;
28
class
QgsMasterLayoutInterface
;
29
37
class
GUI_EXPORT
QgsLayoutPropertiesWidget
:
public
QgsPanelWidget
,
private
Ui::QgsLayoutWidgetBase
38
{
39
Q_OBJECT
40
public
:
42
QgsLayoutPropertiesWidget
( QWidget *parent,
QgsLayout
*layout );
43
45
void
setMasterLayout(
QgsMasterLayoutInterface
*masterLayout );
46
47
public
slots:
48
50
void
updateGui();
51
52
private
slots:
53
54
void
gridResolutionChanged(
double
d );
55
void
gridResolutionUnitsChanged(
QgsUnitTypes::LayoutUnit
unit );
56
void
gridOffsetXChanged(
double
d );
57
void
gridOffsetYChanged(
double
d );
58
void
gridOffsetUnitsChanged(
QgsUnitTypes::LayoutUnit
unit );
59
void
snapToleranceChanged(
int
tolerance );
60
void
resizeMarginsChanged();
61
void
resizeToContents();
62
void
referenceMapChanged(
QgsLayoutItem
*item );
63
void
dpiChanged(
int
value );
64
void
worldFileToggled();
65
void
rasterizeToggled();
66
void
forceVectorToggled();
67
void
variablesChanged();
68
void
updateVariables();
69
70
private
:
71
72
QgsLayout
*mLayout =
nullptr
;
73
74
void
updateSnappingElements();
75
void
blockSignals(
bool
block );
76
bool
mBlockVariableUpdates =
false
;
77
78
};
79
80
#endif // QGSLAYOUTPROPERTIESWIDGET_H
QgsLayoutPropertiesWidget
Widget for configuring the properties of a layout.
Definition:
qgslayoutpropertieswidget.h:37
QgsUnitTypes::LayoutUnit
LayoutUnit
Layout measurement units.
Definition:
qgsunittypes.h:181
QgsPanelWidget
Base class for any widget that can be shown as a inline panel.
Definition:
qgspanelwidget.h:29
QgsLayoutItem
Base class for graphical items within a QgsLayout.
Definition:
qgslayoutitem.h:112
QgsLayout
Base class for layouts, which can contain items such as maps, labels, scalebars, etc.
Definition:
qgslayout.h:50
QgsMasterLayoutInterface
Interface for master layout type objects, such as print layouts and reports.
Definition:
qgsmasterlayoutinterface.h:42
qgspanelwidget.h
Generated on Sun Sep 11 2022 00:03:17 for QGIS API Documentation by
1.8.17