|
QGIS API Documentation
2.6.0-Brighton
|
Item representing a grid. More...
#include <qgspaperitem.h>
Public Member Functions | |
| QgsPaperGrid (double x, double y, double width, double height, QgsComposition *composition) | |
| ~QgsPaperGrid () | |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *itemStyle, QWidget *pWidget) |
| Reimplementation of QCanvasItem::paint. | |
Item representing a grid.
This is drawn separately to the underlying paper item since the grid needs to be drawn above all other composer items, while the paper item is drawn below all others.
| QgsPaperGrid::QgsPaperGrid | ( | double | x, |
| double | y, | ||
| double | width, | ||
| double | height, | ||
| QgsComposition * | composition | ||
| ) |
| QgsPaperGrid::~QgsPaperGrid | ( | ) |
| void QgsPaperGrid::paint | ( | QPainter * | painter, |
| const QStyleOptionGraphicsItem * | itemStyle, | ||
| QWidget * | pWidget | ||
| ) |
Reimplementation of QCanvasItem::paint.
1.8.1.2