|
QCAD
Open Source 2D CAD
|
Go to the documentation of this file.
41 view(NULL), orientation(Qt::Horizontal) {
56 this->orientation = orientation;
60 virtual void paintTick(
int pos,
bool major,
const QString& label) = 0;
void setOrientation(Qt::Orientation orientation)
Definition: RRuler.h:55
virtual ~RRuler()
Definition: RRuler.h:43
Qt::Orientation getOrientation() const
Definition: RRuler.h:51
virtual void paintTick(int pos, bool major, const QString &label)=0
virtual void updateViewport()=0
Graphics view.
Definition: RGraphicsView.h:58
Q_DECLARE_METATYPE(RMath *)
Abstract base class for widgets that display a ruler, usually shown at the top and left of a graphics...
Definition: RRuler.h:37
virtual QFont getFont() const =0
RGraphicsView * view
Definition: RRuler.h:67
#define QCADCORE_EXPORT
Definition: core_global.h:10
RRuler()
Definition: RRuler.h:40
void setGraphicsView(RGraphicsView *view)
Definition: RRuler.h:46
Qt::Orientation orientation
Definition: RRuler.h:68