QGIS API Documentation
2.6.0-Brighton
|
A class to show paper scale and the current cursor position. More...
#include <qgscomposerruler.h>
Public Types | |
enum | Direction { Horizontal = 0, Vertical } |
Signals | |
void | cursorPosChanged (QPointF) |
Is emitted when mouse cursor coordinates change. |
Public Member Functions | |
QgsComposerRuler (QgsComposerRuler::Direction d) | |
~QgsComposerRuler () | |
QSize | minimumSizeHint () const |
void | setSceneTransform (const QTransform &transform) |
void | updateMarker (const QPointF &pos) |
void | setComposition (QgsComposition *c) |
QgsComposition * | composition () |
int | rulerSize () |
Protected Member Functions | |
void | paintEvent (QPaintEvent *event) |
void | mouseMoveEvent (QMouseEvent *event) |
void | mouseReleaseEvent (QMouseEvent *event) |
void | mousePressEvent (QMouseEvent *event) |
A class to show paper scale and the current cursor position.
QgsComposerRuler::QgsComposerRuler | ( | QgsComposerRuler::Direction | d | ) |
QgsComposerRuler::~QgsComposerRuler | ( | ) |
|
inline |
|
signal |
Is emitted when mouse cursor coordinates change.
QSize QgsComposerRuler::minimumSizeHint | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
inline |
|
inline |
void QgsComposerRuler::setSceneTransform | ( | const QTransform & | transform | ) |
|
inline |