|
Public Member Functions |
| Legend () |
void | save (QTextStream *t) |
void | open (QTextStream *t, int version) |
void | setFont (QFont font) |
QFont | Font () |
void | enable (bool b=true) |
bool | enabled () |
void | setPosition (double X, double Y) |
double | X () |
double | Y () |
void | enableBorder (bool b=true) |
bool | borderEnabled () |
bool | getOrientation () |
void | setOrientation (bool o) |
void | draw (QPainter *p, PType type, GraphList *graphlist, Point pos, Point size, int w, int h) |
bool | inside (int X, int Y) |
| calculate if point x,y is inside the legend box (for mouse event)
|
int | TicLabelLength () |
void | setTicLabelLength (int l) |
Private Attributes |
double | x |
double | y |
int | x1 |
int | y1 |
int | x2 |
int | y2 |
QFont | f |
bool | border |
bool | e |
int | namelength |
bool | orientation |
int | ticlabellength |