16 #ifndef QGSATLASCOMPOSITION_H
17 #define QGSATLASCOMPOSITION_H
24 #include <QDomElement>
25 #include <QDomDocument>
46 void setEnabled(
bool e );
58 void setHideCoverage(
bool hide );
63 bool fixedScale()
const;
67 void setFixedScale(
bool fixed );
76 void setMargin(
float margin );
79 void setFilenamePattern(
const QString& pattern );
109 int numFeatures()
const;
112 void prepareForFeature(
int i );
118 const QString& currentFilename()
const;
120 void writeXML( QDomElement& elem, QDomDocument& doc )
const;
121 void readXML(
const QDomElement& elem,
const QDomDocument& doc );
127 int updateFeatures();
142 void parameterChanged();
145 void toggled(
bool );
148 void statusMsgChanged( QString message );
155 void updateFilenameExpression();
158 void evalFeatureFilename();
203 void updateAtlasMaps();
Class for parsing and evaluation of expressions (formerly called "search strings").
QMap< QgsFeatureId, QVariant > SorterKeys
A rectangle specified with double values.
void setSortFeatures(bool doSort)
QgsVectorLayer * mCoverageLayer
QVector< QgsFeatureId > mFeatureIds
int sortKeyAttributeIndex() const
bool hideCoverage() const
QgsComposition * composition()
bool enabled() const
Is the atlas generation enabled ?
bool sortAscending() const
QgsCoordinateTransform mTransform
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
bool filterFeatures() const
void setSortKeyAttributeIndex(int idx)
QgsRectangle mTransformedFeatureBounds
void setSortAscending(bool ascending)
Graphics scene for map printing.
QgsFeature * currentFeature()
Returns the current atlas feature.
Object representing map window.
QgsComposition * mComposition
void setFilterFeatures(bool doFilter)
void setFeatureFilter(const QString &expression)
bool sortFeatures() const
QString filenamePattern() const
void setSingleFile(bool single)
QString featureFilter() const
QgsFeature mCurrentFeature
Class used to render an Atlas, iterating over geometry features.
std::auto_ptr< QgsExpression > mFilenameExpr
QgsVectorLayer * coverageLayer() const
Represents a vector layer which manages a vector based data sets.