#include <Symbol.h>
Public Member Functions | |
Symbol (SType t=SNONE, QColor c="blue", int s=5, FType f=FNONE, QColor fc="red", int b=1) | |
void | save (QTextStream *t) |
void | open (QTextStream *t, int version) |
QDomElement | saveXML (QDomDocument doc) |
void | openXML (QDomNode node) |
void | draw (QPainter *p, int X, int Y) |
draw the Symbol to the specified QPainter at position X,Y | |
SType | Type () |
void | setType (SType t) |
QColor | Color () |
void | setColor (QString c) |
void | setColor (QColor c) |
int | Size () |
void | setSize (int s) |
FType | Fill () |
void | setFill (FType f) |
QColor | FillColor () |
void | setFillColor (QString fc) |
void | setFillColor (QColor fc) |
int | Brush () |
void | setBrush (int b) |
void | setErrorbar (Errorbar *e) |
Errorbar * | errorBar () |
Private Attributes | |
SType | type |
QColor | color |
int | size |
FType | fill |
QColor | fillcolor |
int | brush |
Errorbar * | errorbar |
|
|
|
|
|
|
|
draw the Symbol to the specified QPainter at position X,Y
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|