|
QCAD Application Framework
CAD Application Development and Automation.
|
Widget that displays the current mouse position. More...
#include <RRulerQt.h>
Public Member Functions | |
| virtual QFont | getFont () const |
| virtual void | paintTick (int pos, bool major, const QString &label) |
| RRulerQt (QWidget *parent=0) | |
| Constructor. | |
| virtual void | setOrientation (Qt::Orientation orientation) |
| virtual QSize | sizeHint () const |
| virtual void | updateCoordinate (RDocumentInterface *documentInterface) |
| void | updateViewport () |
| virtual | ~RRulerQt () |
| Destructor. | |
Public Member Functions inherited from RRuler | |
| Qt::Orientation | getOrientation () const |
| RRuler () | |
| void | setGraphicsView (RGraphicsView *view) |
| virtual | ~RRuler () |
Public Member Functions inherited from RCoordinateListener | |
| virtual | ~RCoordinateListener () |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *) |
Properties | |
| Qt::Orientation | orientation |
Private Attributes | |
| QImage | buffer |
| QPainterPath | cursorArrow |
| RVector | cursorPosition |
| QSize | hint |
| QSize | lastSize |
| QPainter * | painter |
| bool | viewportChanged |
Additional Inherited Members | |
Protected Attributes inherited from RRuler | |
| RGraphicsView * | view |
Widget that displays the current mouse position.
Usually shown in the status bar of an application.
| RRulerQt::RRulerQt | ( | QWidget * | parent = 0 | ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Implements RRuler.
|
protected |
|
virtual |
Implements RRuler.
|
virtual |
Reimplemented from RRuler.
|
virtual |
|
virtual |
Implements RCoordinateListener.
| void RRulerQt::updateViewport | ( | ) |
|
private |
|
private |
|
private |
|
mutableprivate |
|
private |
|
private |
|
private |
|
readwrite |
Reimplemented from RRuler.