Public Member Functions |
| QgsComposerMapOverview (const QString &name, QgsComposerMap *map) |
| Constructor for QgsComposerMapOverview.
|
virtual | ~QgsComposerMapOverview () |
void | draw (QPainter *painter) |
| Draws an overview.
|
bool | writeXML (QDomElement &elem, QDomDocument &doc) const |
| Stores overview state in DOM element.
|
bool | readXML (const QDomElement &itemElem, const QDomDocument &doc) |
| Sets overview state from a DOM document.
|
bool | usesAdvancedEffects () const |
| Returns true if the item is drawn using advanced effects, such as blend modes.
|
void | setFrameMap (const int mapId) |
| Sets overview frame map.
|
int | frameMapId () const |
| Returns id of source map.
|
void | setFrameSymbol (QgsFillSymbolV2 *symbol) |
| Sets the fill symbol used for drawing the overview extent.
|
QgsFillSymbolV2 * | frameSymbol () |
| Gets the fill symbol used for drawing the overview extent.
|
const QgsFillSymbolV2 * | frameSymbol () const |
| Gets the fill symbol used for drawing the overview extent.
|
QPainter::CompositionMode | blendMode () const |
| Retrieves the blending mode used for drawing the overview.
|
void | setBlendMode (const QPainter::CompositionMode blendMode) |
| Sets the blending mode used for drawing the overview.
|
bool | inverted () const |
| Returns whether the overview frame is inverted, ie, whether the shaded area is drawn outside the extent of the overview map.
|
void | setInverted (const bool inverted) |
| Sets whether the overview frame is inverted, ie, whether the shaded area is drawn outside the extent of the overview map.
|
bool | centered () const |
| Returns whether the extent of the map is forced to center on the overview.
|
void | setCentered (const bool centered) |
| Sets whether the extent of the map is forced to center on the overview.
|
void | connectSignals () |
| Reconnects signals for overview map, so that overview correctly follows changes to source map's extent.
|
| QgsComposerMapItem (const QString &name, QgsComposerMap *map) |
| Constructor for QgsComposerMapItem.
|
virtual | ~QgsComposerMapItem () |
virtual void | setComposerMap (QgsComposerMap *map) |
| Sets composer map for the item.
|
virtual const QgsComposerMap * | composerMap () const |
| Get composer map for the item.
|
QString | id () const |
| Get the unique id for the map item.
|
virtual void | setName (const QString &name) |
| Sets the friendly display name for the item.
|
virtual QString | name () const |
| Get friendly display name for the item.
|
virtual void | setEnabled (const bool enabled) |
| Controls whether the item will be drawn.
|
virtual bool | enabled () const |
| Returns whether the item will be drawn.
|
| 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.
|
Additional Inherited Members |
enum | DataDefinedProperty {
NoProperty = 0,
AllProperties,
TestProperty,
PresetPaperSize,
PaperWidth,
PaperHeight,
NumPages,
PaperOrientation,
PageNumber,
PositionX,
PositionY,
ItemWidth,
ItemHeight,
ItemRotation,
Transparency,
BlendMode,
ExcludeFromExports,
MapRotation,
MapScale,
MapXMin,
MapYMin,
MapXMax,
MapYMax,
MapAtlasMargin,
PictureSource,
SourceUrl
} |
| Data defined properties for different item types. More...
|
enum | PropertyValueType { EvaluatedValue = 0,
OriginalValue
} |
| Specifies whether the value returned by a function should be the original, user set value, or the current evaluated value for the property. More...
|
void | itemChanged () |
| Emitted when the item changes.
|
bool | dataDefinedEvaluate (const QgsComposerObject::DataDefinedProperty property, QVariant &expressionValue) |
| Evaluate a data defined property and return the calculated value.
|
QString | mName |
| Friendly display name.
|
QgsComposerMap * | mComposerMap |
| Associated composer map.
|
QString | mUuid |
| Unique id.
|
bool | mEnabled |
| True if item is to be displayed on map.
|
An individual overview which is drawn above the map content in a QgsComposerMap, and shows the extent of another QgsComposerMap.
- Note
- added in QGIS 2.5
- See Also
- QgsComposerMapOverviewStack