QCAD
Open Source 2D CAD
|
Abstract base class for widgets that display a ruler, usually shown at the top and left of a graphics view. More...
#include <RRuler.h>
Public Member Functions | |
virtual QFont | getFont () const =0 |
Qt::Orientation | getOrientation () const |
virtual void | paintTick (int pos, bool major, const QString &label)=0 |
RRuler () | |
void | setGraphicsView (RGraphicsView *view) |
void | setOrientation (Qt::Orientation orientation) |
virtual void | updateViewport ()=0 |
virtual | ~RRuler () |
Protected Attributes | |
Qt::Orientation | orientation |
RGraphicsView * | view |
Abstract base class for widgets that display a ruler, usually shown at the top and left of a graphics view.
|
inline |
|
inlinevirtual |
|
pure virtual |
Implemented in RRulerQt.
|
inline |
|
pure virtual |
Implemented in RRulerQt.
|
inline |
|
inline |
|
pure virtual |
Implemented in RRulerQt.
|
protected |
|
protected |