QGIS API Documentation
2.8.2-Wien
|
An individual grid which is drawn above the map content in a QgsComposerMap. More...
#include <qgscomposermapgrid.h>
Classes | |
class | QgsMapAnnotation |
Public Member Functions | |
QgsComposerMapGrid (const QString &name, QgsComposerMap *map) | |
Constructor for QgsComposerMapGrid. | |
virtual | ~QgsComposerMapGrid () |
AnnotationDirection | annotationDirection (const BorderSide border) const |
Gets the direction for drawing frame annotations. | |
DisplayMode | annotationDisplay (const BorderSide border) const |
Gets the display mode for the grid annotations on a specified side of the map frame. | |
bool | annotationEnabled () const |
Gets whether annotations are shown for the grid. | |
QFont | annotationFont () const |
Gets the font used for drawing grid annotations. | |
QColor | annotationFontColor () const |
Gets the font color used for drawing grid annotations. | |
AnnotationFormat | annotationFormat () const |
Gets the format for drawing grid annotations. | |
double | annotationFrameDistance () const |
Gets the distance between the map frame and annotations. | |
AnnotationPosition | annotationPosition (const BorderSide border) const |
Gets the position for the grid annotations on a specified side of the map frame. | |
int | annotationPrecision () const |
Returns the coordinate precision for grid annotations. | |
QPainter::CompositionMode | blendMode () const |
Retrieves the blending mode used for drawing the grid. | |
double | crossLength () const |
Retrieves the length of the cross segments drawn for the grid. | |
QgsCoordinateReferenceSystem | crs () const |
Retrieves the CRS for the grid. | |
void | draw (QPainter *painter) override |
Draws a grid. | |
DisplayMode | frameDivisions (const BorderSide border) const |
Gets the type of grid divisions which are used for frames on a specified side of the map. | |
QColor | frameFillColor1 () const |
Retrieves the first fill color for the grid frame. | |
QColor | frameFillColor2 () const |
Retrieves the second fill color for the grid frame. | |
QColor | framePenColor () const |
Retrieves the color of the outline drawn in the grid frame. | |
double | framePenSize () const |
Retrieves the width of the outline drawn in the grid frame. | |
FrameSideFlags | frameSideFlags () const |
Returns the flags which control which sides of the map item the grid frame is drawn on. | |
FrameStyle | frameStyle () const |
Gets the grid frame style. | |
double | frameWidth () const |
Gets the grid frame width. | |
double | intervalX () const |
Gets the interval between grid lines in the x-direction. | |
double | intervalY () const |
Gets the interval between grid lines in the y-direction. | |
const QgsLineSymbolV2 * | lineSymbol () const |
Gets the line symbol used for drawing grid lines. | |
QgsLineSymbolV2 * | lineSymbol () |
Gets the line symbol used for drawing grid lines. | |
const QgsMarkerSymbolV2 * | markerSymbol () const |
Gets the marker symbol used for drawing grid points. | |
QgsMarkerSymbolV2 * | markerSymbol () |
Gets the marker symbol used for drawing grid points. | |
double | maxExtension () const |
Calculates the maximum distance the grid extends beyond the QgsComposerMap's item rect. | |
double | offsetX () const |
Gets the offset for grid lines in the x-direction. | |
double | offsetY () const |
Gets the offset for grid lines in the y-direction. | |
bool | readXML (const QDomElement &itemElem, const QDomDocument &doc) override |
Sets grid state from a DOM document. | |
void | setAnnotationDirection (const AnnotationDirection direction, const BorderSide border) |
Sets the direction for drawing frame annotations. | |
void | setAnnotationDirection (const AnnotationDirection direction) |
Sets the direction for drawing all frame annotations. | |
void | setAnnotationDisplay (const DisplayMode display, const BorderSide border) |
Sets what types of grid annotations should be drawn for a specified side of the map frame, or whether grid annotations should be disabled for the side. | |
void | setAnnotationEnabled (const bool enabled) |
Sets whether annotations should be shown for the grid. | |
void | setAnnotationFont (const QFont &font) |
Sets the font used for drawing grid annotations. | |
void | setAnnotationFontColor (const QColor &color) |
Sets the font color used for drawing grid annotations. | |
void | setAnnotationFormat (const AnnotationFormat format) |
Sets the format for drawing grid annotations. | |
void | setAnnotationFrameDistance (const double distance) |
Sets the distance between the map frame and annotations. | |
void | setAnnotationPosition (const AnnotationPosition position, const BorderSide border) |
Sets the position for the grid annotations on a specified side of the map frame. | |
void | setAnnotationPrecision (const int precision) |
Sets the coordinate precision for grid annotations. | |
void | setBlendMode (const QPainter::CompositionMode mode) |
Sets the blending mode used for drawing the grid. | |
void | setCrossLength (const double length) |
Sets the length of the cross segments drawn for the grid. | |
void | setCrs (const QgsCoordinateReferenceSystem &crs) |
Sets the CRS for the grid. | |
void | setFrameDivisions (const DisplayMode divisions, const BorderSide border) |
Sets what type of grid divisions should be used for frames on a specified side of the map. | |
void | setFrameFillColor1 (const QColor &color) |
Sets the first fill color used for the grid frame. | |
void | setFrameFillColor2 (const QColor &color) |
Sets the second fill color used for the grid frame. | |
void | setFramePenColor (const QColor &color) |
Sets the color of the outline drawn in the grid frame. | |
void | setFramePenSize (const double width) |
Sets the width of the outline drawn in the grid frame. | |
void | setFrameSideFlag (const FrameSideFlag flag, bool on=true) |
Sets whether the grid frame is drawn for a certain side of the map item. | |
void | setFrameSideFlags (const FrameSideFlags flags) |
Sets flags for grid frame sides. | |
void | setFrameStyle (const FrameStyle style) |
Sets the grid frame style. | |
void | setFrameWidth (const double width) |
Sets the grid frame width. | |
void | setGridLineColor (const QColor &color) |
Sets color of grid lines. | |
void | setGridLineWidth (const double width) |
Sets width of grid lines. | |
void | setIntervalX (const double interval) |
Sets the interval between grid lines in the x-direction. | |
void | setIntervalY (const double interval) |
Sets the interval between grid lines in the y-direction. | |
void | setLineSymbol (QgsLineSymbolV2 *symbol) |
Sets the line symbol used for drawing grid lines. | |
void | setMarkerSymbol (QgsMarkerSymbolV2 *symbol) |
Sets the marker symbol used for drawing grid points. | |
void | setOffsetX (const double offset) |
Sets the offset for grid lines in the x-direction. | |
void | setOffsetY (const double offset) |
Sets the offset for grid lines in the y-direction. | |
void | setStyle (const GridStyle style) |
Sets the grid style, which controls how the grid is drawn over the map's contents. | |
void | setUnits (const GridUnit unit) |
Sets the units to use for grid measurements such as the interval and offset for grid lines. | |
GridStyle | style () const |
Gets the grid's style, which controls how the grid is drawn over the map's contents. | |
bool | testFrameSideFlag (const FrameSideFlag flag) const |
Tests whether the grid frame should be drawn on a specified side of the map item. | |
GridUnit | units () const |
Gets the units used for grid measurements such as the interval and offset for grid lines. | |
bool | usesAdvancedEffects () const override |
Returns true if the item is drawn using advanced effects, such as blend modes. | |
bool | writeXML (QDomElement &elem, QDomDocument &doc) const override |
Stores grid state in DOM element. | |
Public Member Functions inherited from QgsComposerMapItem | |
QgsComposerMapItem (const QString &name, QgsComposerMap *map) | |
Constructor for QgsComposerMapItem. | |
virtual | ~QgsComposerMapItem () |
virtual const QgsComposerMap * | composerMap () const |
Get composer map for the item. | |
virtual bool | enabled () const |
Returns whether the item will be drawn. | |
QString | id () const |
Get the unique id for the map item. | |
virtual QString | name () const |
Get friendly display name for the item. | |
virtual void | setComposerMap (QgsComposerMap *map) |
Sets composer map for the item. | |
virtual void | setEnabled (const bool enabled) |
Controls whether the item will be drawn. | |
virtual void | setName (const QString &name) |
Sets the friendly display name for the item. | |
Public Member Functions inherited from QgsComposerObject | |
QgsComposerObject (QgsComposition *composition) | |
Constructor. | |
virtual | ~QgsComposerObject () |
const QgsComposition * | composition () const |
Returns the composition the item is attached to. | |
QgsComposition * | composition () |
QgsDataDefined * | dataDefinedProperty (const DataDefinedProperty property) const |
Returns a reference to the data defined settings for one of the item's data defined properties. | |
void | setDataDefinedProperty (const DataDefinedProperty property, const bool active, const bool useExpression, const QString &expression, const QString &field) |
Sets parameters for a data defined property for the item. |
Friends | |
class | TestQgsComposerMapGrid |
Additional Inherited Members | |
Public Slots inherited from QgsComposerObject | |
virtual void | refreshDataDefinedProperty (const DataDefinedProperty property=AllProperties) |
Refreshes a data defined property for the item by reevaluating the property's value and redrawing the item with this new value. | |
virtual void | repaint () |
Triggers a redraw for the item. | |
Signals inherited from QgsComposerObject | |
void | itemChanged () |
Emitted when the item changes. | |
Protected Member Functions inherited from QgsComposerObject | |
bool | dataDefinedEvaluate (const QgsComposerObject::DataDefinedProperty property, QVariant &expressionValue) |
Evaluate a data defined property and return the calculated value. | |
Protected Attributes inherited from QgsComposerMapItem | |
QgsComposerMap * | mComposerMap |
Associated composer map. | |
bool | mEnabled |
True if item is to be displayed on map. | |
QString | mName |
Friendly display name. | |
QString | mUuid |
Unique id. |
An individual grid which is drawn above the map content in a QgsComposerMap.
Definition at line 151 of file qgscomposermapgrid.h.
Annotation coordinate type.
Definition at line 256 of file qgscomposermapgrid.h.
Direction of grid annotations.
Definition at line 199 of file qgscomposermapgrid.h.
Format for displaying grid annotations.
Decimal | |
DegreeMinute | |
DegreeMinuteSecond | |
DecimalWithSuffix | |
DegreeMinuteNoSuffix | |
DegreeMinutePadded | |
DegreeMinuteSecondNoSuffix | |
DegreeMinuteSecondPadded |
Definition at line 209 of file qgscomposermapgrid.h.
Position for grid annotations.
Definition at line 189 of file qgscomposermapgrid.h.
Border sides for annotations.
Definition at line 223 of file qgscomposermapgrid.h.
Display settings for grid annotations and frames.
Definition at line 179 of file qgscomposermapgrid.h.
Flags for controlling which side of the map a frame is drawn on.
Definition at line 245 of file qgscomposermapgrid.h.
Style for grid frame.
Definition at line 233 of file qgscomposermapgrid.h.
Grid drawing style.
Definition at line 169 of file qgscomposermapgrid.h.
Unit for grid values.
Definition at line 160 of file qgscomposermapgrid.h.
QgsComposerMapGrid::QgsComposerMapGrid | ( | const QString & | name, |
QgsComposerMap * | map | ||
) |
Constructor for QgsComposerMapGrid.
name | friendly display name for grid |
map | QgsComposerMap the grid is attached to |
Definition at line 146 of file qgscomposermapgrid.cpp.
|
virtual |
Definition at line 213 of file qgscomposermapgrid.cpp.
QgsComposerMapGrid::AnnotationDirection QgsComposerMapGrid::annotationDirection | ( | const BorderSide | border | ) | const |
Gets the direction for drawing frame annotations.
border | side of map for annotations |
Definition at line 2209 of file qgscomposermapgrid.cpp.
QgsComposerMapGrid::DisplayMode QgsComposerMapGrid::annotationDisplay | ( | const BorderSide | border | ) | const |
Gets the display mode for the grid annotations on a specified side of the map frame.
This property also specifies whether annotations have been disabled from a side of the map frame.
border | side of map for annotations |
Definition at line 1937 of file qgscomposermapgrid.cpp.
|
inline |
Gets whether annotations are shown for the grid.
Definition at line 521 of file qgscomposermapgrid.h.
|
inline |
Gets the font used for drawing grid annotations.
Definition at line 533 of file qgscomposermapgrid.h.
|
inline |
Gets the font color used for drawing grid annotations.
Definition at line 545 of file qgscomposermapgrid.h.
|
inline |
Gets the format for drawing grid annotations.
Definition at line 636 of file qgscomposermapgrid.h.
|
inline |
Gets the distance between the map frame and annotations.
Units are in millimetres.
Definition at line 604 of file qgscomposermapgrid.h.
QgsComposerMapGrid::AnnotationPosition QgsComposerMapGrid::annotationPosition | ( | const BorderSide | border | ) | const |
Gets the position for the grid annotations on a specified side of the map frame.
border | side of map for annotations |
Definition at line 2189 of file qgscomposermapgrid.cpp.
|
inline |
Returns the coordinate precision for grid annotations.
Definition at line 557 of file qgscomposermapgrid.h.
|
inline |
Retrieves the blending mode used for drawing the grid.
Definition at line 311 of file qgscomposermapgrid.h.
|
inline |
Retrieves the length of the cross segments drawn for the grid.
This is only used for grids with QgsComposerMapGrid::Cross styles
Definition at line 433 of file qgscomposermapgrid.h.
|
inline |
Retrieves the CRS for the grid.
Definition at line 299 of file qgscomposermapgrid.h.
|
overridevirtual |
Draws a grid.
painter | destination QPainter |
Implements QgsComposerMapItem.
Definition at line 614 of file qgscomposermapgrid.cpp.
QgsComposerMapGrid::DisplayMode QgsComposerMapGrid::frameDivisions | ( | const BorderSide | border | ) | const |
Gets the type of grid divisions which are used for frames on a specified side of the map.
border | side of map for frame |
Definition at line 2260 of file qgscomposermapgrid.cpp.
|
inline |
Retrieves the first fill color for the grid frame.
Definition at line 769 of file qgscomposermapgrid.h.
|
inline |
Retrieves the second fill color for the grid frame.
Definition at line 785 of file qgscomposermapgrid.h.
|
inline |
Retrieves the color of the outline drawn in the grid frame.
Definition at line 753 of file qgscomposermapgrid.h.
|
inline |
Retrieves the width of the outline drawn in the grid frame.
Definition at line 735 of file qgscomposermapgrid.h.
QgsComposerMapGrid::FrameSideFlags QgsComposerMapGrid::frameSideFlags | ( | ) | const |
Returns the flags which control which sides of the map item the grid frame is drawn on.
Definition at line 2144 of file qgscomposermapgrid.cpp.
|
inline |
Gets the grid frame style.
Definition at line 652 of file qgscomposermapgrid.h.
|
inline |
Gets the grid frame width.
This property controls how wide the grid frame is. The size of the line outlines drawn in the frame can be retrieved via the framePenSize method.
Definition at line 721 of file qgscomposermapgrid.h.
|
inline |
Gets the interval between grid lines in the x-direction.
The units are retrieved through the units() method.
Definition at line 353 of file qgscomposermapgrid.h.
|
inline |
Gets the interval between grid lines in the y-direction.
The units are retrieved through the units() method.
Definition at line 369 of file qgscomposermapgrid.h.
|
inline |
Gets the line symbol used for drawing grid lines.
This is only used for grids with QgsComposerMapGrid::Solid or QgsComposerMapGrid::Cross styles.
Definition at line 469 of file qgscomposermapgrid.h.
|
inline |
Gets the line symbol used for drawing grid lines.
This is only used for grids with QgsComposerMapGrid::Solid or QgsComposerMapGrid::Cross styles.
Definition at line 478 of file qgscomposermapgrid.h.
|
inline |
Gets the marker symbol used for drawing grid points.
This is only used for grids with a QgsComposerMapGrid::Markers style.
Definition at line 496 of file qgscomposermapgrid.h.
|
inline |
Gets the marker symbol used for drawing grid points.
This is only used for grids with a QgsComposerMapGrid::Markers style.
Definition at line 505 of file qgscomposermapgrid.h.
double QgsComposerMapGrid::maxExtension | ( | ) | const |
Calculates the maximum distance the grid extends beyond the QgsComposerMap's item rect.
Definition at line 1957 of file qgscomposermapgrid.cpp.
|
inline |
Gets the offset for grid lines in the x-direction.
The units are retrieved through the units() method.
Definition at line 385 of file qgscomposermapgrid.h.
|
inline |
Gets the offset for grid lines in the y-direction.
The units are retrieved through the units() method.
Definition at line 401 of file qgscomposermapgrid.h.
|
overridevirtual |
Sets grid state from a DOM document.
itemElem | is DOM node corresponding to a 'ComposerMapGrid' tag |
doc | is DOM document |
Reimplemented from QgsComposerMapItem.
Definition at line 322 of file qgscomposermapgrid.cpp.
void QgsComposerMapGrid::setAnnotationDirection | ( | const AnnotationDirection | direction, |
const BorderSide | border | ||
) |
Sets the direction for drawing frame annotations.
direction | direction for frame annotations |
border | side of map for annotations |
Definition at line 2103 of file qgscomposermapgrid.cpp.
void QgsComposerMapGrid::setAnnotationDirection | ( | const AnnotationDirection | direction | ) |
Sets the direction for drawing all frame annotations.
direction | direction for frame annotations |
Definition at line 2154 of file qgscomposermapgrid.cpp.
void QgsComposerMapGrid::setAnnotationDisplay | ( | const DisplayMode | display, |
const BorderSide | border | ||
) |
Sets what types of grid annotations should be drawn for a specified side of the map frame, or whether grid annotations should be disabled for the side.
display | display mode for annotations |
border | side of map for annotations |
Definition at line 1910 of file qgscomposermapgrid.cpp.
|
inline |
Sets whether annotations should be shown for the grid.
enabled | set to true to draw annotations for the grid |
Definition at line 515 of file qgscomposermapgrid.h.
|
inline |
Sets the font used for drawing grid annotations.
font | font for annotations |
Definition at line 527 of file qgscomposermapgrid.h.
|
inline |
Sets the font color used for drawing grid annotations.
color | font color for annotations |
Definition at line 539 of file qgscomposermapgrid.h.
|
inline |
Sets the format for drawing grid annotations.
format | format for grid annotations |
Definition at line 630 of file qgscomposermapgrid.h.
|
inline |
Sets the distance between the map frame and annotations.
Units are in millimetres.
distance | margin between map frame and annotations |
Definition at line 598 of file qgscomposermapgrid.h.
void QgsComposerMapGrid::setAnnotationPosition | ( | const AnnotationPosition | position, |
const BorderSide | border | ||
) |
Sets the position for the grid annotations on a specified side of the map frame.
position | position to draw grid annotations |
border | side of map for annotations |
Definition at line 2162 of file qgscomposermapgrid.cpp.
|
inline |
Sets the coordinate precision for grid annotations.
precision | number of decimal places to show when drawing grid annotations |
Definition at line 551 of file qgscomposermapgrid.h.
|
inline |
Sets the blending mode used for drawing the grid.
mode | blending mode for grid |
Definition at line 305 of file qgscomposermapgrid.h.
|
inline |
Sets the length of the cross segments drawn for the grid.
This is only used for grids with QgsComposerMapGrid::Cross styles
length | cross length in millimetres |
Definition at line 426 of file qgscomposermapgrid.h.
void QgsComposerMapGrid::setCrs | ( | const QgsCoordinateReferenceSystem & | crs | ) |
Sets the CRS for the grid.
crs | coordinate reference system for grid |
Definition at line 440 of file qgscomposermapgrid.cpp.
void QgsComposerMapGrid::setFrameDivisions | ( | const DisplayMode | divisions, |
const BorderSide | border | ||
) |
Sets what type of grid divisions should be used for frames on a specified side of the map.
divisions | grid divisions for frame |
border | side of map for frame |
Definition at line 2234 of file qgscomposermapgrid.cpp.
|
inline |
Sets the first fill color used for the grid frame.
color | first fill color for grid frame |
Definition at line 761 of file qgscomposermapgrid.h.
|
inline |
Sets the second fill color used for the grid frame.
color | second fill color for grid frame |
Definition at line 777 of file qgscomposermapgrid.h.
|
inline |
Sets the color of the outline drawn in the grid frame.
color | color of grid frame outline |
Definition at line 744 of file qgscomposermapgrid.h.
|
inline |
Sets the width of the outline drawn in the grid frame.
width | width of grid frame outline |
Definition at line 728 of file qgscomposermapgrid.h.
void QgsComposerMapGrid::setFrameSideFlag | ( | const FrameSideFlag | flag, |
bool | on = true |
||
) |
Sets whether the grid frame is drawn for a certain side of the map item.
flag | flag for grid frame side |
on | set to true to draw grid frame on that side of the map |
Definition at line 2136 of file qgscomposermapgrid.cpp.
void QgsComposerMapGrid::setFrameSideFlags | ( | const FrameSideFlags | flags | ) |
Sets flags for grid frame sides.
Setting these flags controls which sides of the map item the grid frame is drawn on.
flags | flags for grid frame sides |
Definition at line 2131 of file qgscomposermapgrid.cpp.
|
inline |
Sets the grid frame style.
style | style for grid frame |
Definition at line 646 of file qgscomposermapgrid.h.
|
inline |
Sets the grid frame width.
This property controls how wide the grid frame is. The size of the line outlines drawn in the frame is controlled through the setFramePenSize method.
width | width of grid frame in millimetres |
Definition at line 713 of file qgscomposermapgrid.h.
void QgsComposerMapGrid::setGridLineColor | ( | const QColor & | color | ) |
Sets color of grid lines.
This is only used for grids with QgsComposerMapGrid::Solid or QgsComposerMapGrid::Cross styles. For more control over grid line appearance, use setLineSymbol instead.
color | color of grid lines |
Definition at line 247 of file qgscomposermapgrid.cpp.
void QgsComposerMapGrid::setGridLineWidth | ( | const double | width | ) |
Sets width of grid lines.
This is only used for grids with QgsComposerMapGrid::Solid or QgsComposerMapGrid::Cross styles. For more control over grid line appearance, use setLineSymbol instead.
width | grid line width |
Definition at line 239 of file qgscomposermapgrid.cpp.
void QgsComposerMapGrid::setIntervalX | ( | const double | interval | ) |
Sets the interval between grid lines in the x-direction.
The units are controlled through the setUnits method
interval | interval between horizontal grid lines |
Definition at line 2053 of file qgscomposermapgrid.cpp.
void QgsComposerMapGrid::setIntervalY | ( | const double | interval | ) |
Sets the interval between grid lines in the y-direction.
The units are controlled through the setUnits method
interval | interval between vertical grid lines |
Definition at line 2063 of file qgscomposermapgrid.cpp.
void QgsComposerMapGrid::setLineSymbol | ( | QgsLineSymbolV2 * | symbol | ) |
Sets the line symbol used for drawing grid lines.
This is only used for grids with QgsComposerMapGrid::Solid or QgsComposerMapGrid::Cross styles.
symbol | line symbol for grid lines |
Definition at line 1898 of file qgscomposermapgrid.cpp.
void QgsComposerMapGrid::setMarkerSymbol | ( | QgsMarkerSymbolV2 * | symbol | ) |
Sets the marker symbol used for drawing grid points.
This is only used for grids with a QgsComposerMapGrid::Markers style.
symbol | marker symbol for grid intersection points |
Definition at line 1904 of file qgscomposermapgrid.cpp.
void QgsComposerMapGrid::setOffsetX | ( | const double | offset | ) |
Sets the offset for grid lines in the x-direction.
The units are controlled through the setUnits method
offset | offset for horizontal grid lines |
Definition at line 2073 of file qgscomposermapgrid.cpp.
void QgsComposerMapGrid::setOffsetY | ( | const double | offset | ) |
Sets the offset for grid lines in the y-direction.
The units are controlled through the setUnits method
offset | offset for vertical grid lines |
Definition at line 2083 of file qgscomposermapgrid.cpp.
void QgsComposerMapGrid::setStyle | ( | const GridStyle | style | ) |
Sets the grid style, which controls how the grid is drawn over the map's contents.
style | desired grid style |
Definition at line 2093 of file qgscomposermapgrid.cpp.
void QgsComposerMapGrid::setUnits | ( | const GridUnit | unit | ) |
Sets the units to use for grid measurements such as the interval and offset for grid lines.
unit | unit for grid measurements |
Definition at line 2043 of file qgscomposermapgrid.cpp.
|
inline |
Gets the grid's style, which controls how the grid is drawn over the map's contents.
Definition at line 419 of file qgscomposermapgrid.h.
bool QgsComposerMapGrid::testFrameSideFlag | ( | const FrameSideFlag | flag | ) | const |
Tests whether the grid frame should be drawn on a specified side of the map item.
flag | flag for grid frame side |
Definition at line 2149 of file qgscomposermapgrid.cpp.
|
inline |
Gets the units used for grid measurements such as the interval and offset for grid lines.
Definition at line 337 of file qgscomposermapgrid.h.
|
overridevirtual |
Returns true if the item is drawn using advanced effects, such as blend modes.
Reimplemented from QgsComposerMapItem.
Definition at line 446 of file qgscomposermapgrid.cpp.
|
overridevirtual |
Stores grid state in DOM element.
elem | is DOM element corresponding to a 'ComposerMap' tag |
doc | DOM document |
Reimplemented from QgsComposerMapItem.
Definition at line 255 of file qgscomposermapgrid.cpp.
|
friend |
Definition at line 964 of file qgscomposermapgrid.h.