QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RRuler Class Reference

Abstract base class for widgets that display a ruler, usually shown at the top and left of a graphics view. More...

#include <RRuler.h>

Inheritance diagram for RRuler:
RRulerQt

List of all members.

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 ~RRuler ()

Protected Attributes

Qt::Orientation orientation
RGraphicsViewview

Detailed Description

Abstract base class for widgets that display a ruler, usually shown at the top and left of a graphics view.

Scriptable:
This class is wrapped for script environments.

Constructor & Destructor Documentation

RRuler::RRuler ( )
inline
virtual RRuler::~RRuler ( )
inlinevirtual

Member Function Documentation

virtual QFont RRuler::getFont ( ) const
pure virtual

Implemented in RRulerQt.

Qt::Orientation RRuler::getOrientation ( ) const
inline
virtual void RRuler::paintTick ( int  pos,
bool  major,
const QString &  label 
)
pure virtual

Implemented in RRulerQt.

void RRuler::setGraphicsView ( RGraphicsView view)
inline
void RRuler::setOrientation ( Qt::Orientation  orientation)
inline

Reimplemented in RRulerQt.


Member Data Documentation

Qt::Orientation RRuler::orientation
protected

Reimplemented in RRulerQt.

RGraphicsView* RRuler::view
protected

The documentation for this class was generated from the following file: