|
QCAD
Open Source 2D CAD
|
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) | |
| Copyright (c) 2011-2018 by Andrew Mustun. | |
| virtual void | setOrientation (Qt::Orientation orientation) |
| virtual QSize | sizeHint () const |
| virtual void | updateCoordinate (RDocumentInterface *documentInterface) |
| virtual void | updatePalette () |
| This method is called whenever the current palette has changed. | |
| virtual void | updateViewport () |
| virtual | ~RRulerQt () |
| Destructor. | |
Public Member Functions inherited from RRuler | |
| Qt::Orientation | getOrientation () const |
| RRuler () | |
| void | setGraphicsView (RGraphicsView *view) |
| void | setOrientation (Qt::Orientation orientation) |
| virtual | ~RRuler () |
Public Member Functions inherited from RCoordinateListener | |
| virtual | ~RCoordinateListener () |
Public Member Functions inherited from RPaletteListener | |
| virtual | ~RPaletteListener () |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *) |
Properties | |
| Qt::Orientation | orientation |
Private Attributes | |
| QImage | buffer |
| QPainterPath | cursorArrowH |
| QPainterPath | cursorArrowV |
| RVector | cursorPosition |
| int | darkGuiBackground |
| QSize | hint |
| QSize | lastSize |
| QPainter * | painter |
| bool | viewportChanged |
Additional Inherited Members | |
Protected Attributes inherited from RRuler | |
| Qt::Orientation | orientation |
| RGraphicsView * | view |
Widget that displays the current mouse position.
Usually shown in the status bar of an application.
| RRulerQt::RRulerQt | ( | QWidget * | parent = 0 | ) |
Copyright (c) 2011-2018 by Andrew Mustun.
All rights reserved.
This file is part of the QCAD project.
QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with QCAD. Constructor
|
virtual |
Destructor.
|
virtual |
Implements RRuler.
|
protected |
|
virtual |
|
virtual |
|
virtual |
Implements RCoordinateListener.
|
inlinevirtual |
This method is called whenever the current palette has changed.
Implements RPaletteListener.
|
virtual |
Implements RRuler.
|
private |
|
private |
|
private |
|
private |
|
private |
|
mutableprivate |
|
private |
|
private |
|
private |
|
readwrite |