3
3
* prepareForFeature() modifies the atlas map's extent to zoom on the given feature.
4
4
* This class is used for printing, exporting to PDF and images.
5
5
* */
6
- class QgsAtlasComposition : public QObject
6
+ class QgsAtlasComposition : QObject
7
7
{
8
8
%TypeHeaderCode
9
9
#include <qgsatlascomposition.h>
@@ -12,32 +12,32 @@ class QgsAtlasComposition : public QObject
12
12
public:
13
13
QgsAtlasComposition( QgsComposition* composition );
14
14
~QgsAtlasComposition();
15
-
15
+
16
16
/** Is the atlas generation enabled ? */
17
17
bool enabled() const;
18
18
void setEnabled( bool e );
19
19
20
20
QgsComposerMap* composerMap() const;
21
21
void setComposerMap( QgsComposerMap* map );
22
-
22
+
23
23
bool hideCoverage() const;
24
24
void setHideCoverage( bool hide );
25
-
25
+
26
26
bool fixedScale() const;
27
27
void setFixedScale( bool fixed );
28
-
28
+
29
29
float margin() const;
30
30
void setMargin( float margin );
31
-
31
+
32
32
QString filenamePattern() const;
33
33
void setFilenamePattern( const QString& pattern );
34
-
34
+
35
35
QgsVectorLayer* coverageLayer() const;
36
36
void setCoverageLayer( QgsVectorLayer* lmap );
37
-
37
+
38
38
bool singleFile() const;
39
39
void setSingleFile( bool single );
40
-
40
+
41
41
/** Begins the rendering. */
42
42
void beginRender();
43
43
/** Ends the rendering. Restores original extent */
@@ -60,4 +60,4 @@ public:
60
60
signals:
61
61
/** emitted when one of the parameters changes */
62
62
void parameterChanged();
63
- };
63
+ };
0 commit comments