41 view(
NULL), orientation(Qt::Horizontal) {
47 Qt::Orientation getOrientation()
const;
48 void setOrientation(Qt::Orientation orientation);
50 virtual void paintTick(
int pos,
bool major,
const QString& label) = 0;
Q_DECLARE_METATYPE(RMath *)
Graphics view.
Definition RGraphicsView.h:67
Abstract base class for widgets that display a ruler, usually shown at the top and left of a graphics...
Definition RRuler.h:37
virtual void paintTick(int pos, bool major, const QString &label)=0
RGraphicsView * view
Definition RRuler.h:57
Qt::Orientation orientation
Definition RRuler.h:58
virtual QFont getFont() const =0
RRuler()
Definition RRuler.h:40
virtual void updateViewport()=0
virtual ~RRuler()
Definition RRuler.h:43
#define QCADCORE_EXPORT
Definition core_global.h:10
#define NULL
Definition opennurbs_system.h:256