#include <VrGUI_int.h>
Public Types | |
| enum | Orientation { Bottom, Top, Left, Right, Round } |
Public Member Functions | |
| VrScaleDraw () | |
| void | setGeometry (int xorigin, int yorigin, int length, Orientation o) |
| int | maxWidth (const VrScale *arg_widget) const |
| int | zzmaxHeight (const QWidget *arg_widget) const |
| int | maxLabelWidth (QPainter *p) const |
| void | scaledraw (QPainter *p) const |
| void | rebuild (double step) |
Public Attributes | |
| Orientation | d_orient |
| double | d_lBound |
| double | d_hBound |
| double | d_majStep |
| QArray< double > | d_minMarks |
| QArray< double > | d_majMarks |
| int | d_maxMajor |
| int | d_maxMinor |
| int | d_y1 |
| int | d_y2 |
| double | d_cnv |
| int | d_prec |
| char | d_fmt |
Private Member Functions | |
| void | drawTick (QPainter *p, int val, int len) const |
Private Attributes | |
| int | d_xorg |
| int | d_yorg |
| int | d_len |
| int | d_pad |
| int | d_medLen |
| int | d_majLen |
| int | d_minLen |
Static Private Attributes | |
| const int | minLen = 10 |
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.8