#include <GURuler.h>
Public Types | |
HD = 0 | |
HU | |
VL | |
VR | |
enum | ORIENT { HD = 0, HU, VL, VR } |
Public Member Functions | |
GURuler (QGraphicsView &view, const ORIENT &orient=HD, const float &vmin=0, const float &vmax=100, const float &vort=0, const unsigned &ndiv1=5, const unsigned &ndiv2=2, const unsigned &opt=1, const int &txt_off_h=0, const int &txt_off_v=0, const int &size_tick1=8, const int &size_tick2=4, const QColor &color=QColor(Qt::black), const QPen &pen=QPen(Qt::black, 2, Qt::SolidLine), const QFont &font=QFont()) | |
virtual | ~GURuler () |
void | setPars () |
void | setPathForRuler () |
const QPainterPath & | pathForRuler () |
void | printTransform () |
int | precision () |
This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.
Definition at line 41 of file GURuler.h.
PSQt::GURuler::GURuler | ( | QGraphicsView & | view, | |
const ORIENT & | orient = HD , |
|||
const float & | vmin = 0 , |
|||
const float & | vmax = 100 , |
|||
const float & | vort = 0 , |
|||
const unsigned & | ndiv1 = 5 , |
|||
const unsigned & | ndiv2 = 2 , |
|||
const unsigned & | opt = 1 , |
|||
const int & | txt_off_h = 0 , |
|||
const int & | txt_off_v = 0 , |
|||
const int & | size_tick1 = 8 , |
|||
const int & | size_tick2 = 4 , |
|||
const QColor & | color = QColor(Qt::black) , |
|||
const QPen & | pen = QPen(Qt::black, 2, Qt::SolidLine) , |
|||
const QFont & | font = QFont() | |||
) |
PSQt::GURuler::~GURuler | ( | ) | [virtual] |
Definition at line 73 of file GURuler.cpp.
const QPainterPath& PSQt::GURuler::pathForRuler | ( | ) | [inline] |
int PSQt::GURuler::precision | ( | ) |
void PSQt::GURuler::printTransform | ( | ) |
Definition at line 139 of file GURuler.cpp.
void PSQt::GURuler::setPars | ( | ) |
void PSQt::GURuler::setPathForRuler | ( | ) |
Definition at line 166 of file GURuler.cpp.
References HD, HU, and precision().
Referenced by GURuler().