|
Public Member Functions |
| Worksheet (QWidget *parent, MainWin *mw, const char *name) |
MainWin * | getMainWin () |
void | New () |
Plot * | getPlot (int i) |
void | newPlot (PType type) |
void | deleteActivePlot () |
void | updateWorksheetList () |
void | Print (QString filename) |
void | save (QTextStream *t) |
void | open (QTextStream *t, int version, PType oldtype) |
| open worksheet : type : old type from version <11
|
void | Export (QString filename, QString format) |
void | ExportSVG () |
void | ExportPIC () |
int | getNrObjects () |
Line | getLine (int i) |
void | setLine (int i, Line l) |
Label * | getLabel (int i) |
void | setLabel (int i, Label *l) |
Rect | getRect (int i) |
void | setRect (int i, Rect r) |
Ellipse | getEllipse (int i) |
void | setEllipse (int i, Ellipse e) |
Image | getImage (int i) |
void | setImage (int i, Image im) |
void | addGraph2D (Graph2D *g, PType type=P2D) |
void | addGraph3D (Graph3D *g) |
void | addGraphM (GraphM *g) |
void | addGraphGRASS (GraphGRASS *g) |
void | addGraphVTK (GraphVTK *g) |
void | addGraph4D (Graph4D *g) |
int | getAPI () |
unsigned int | getNrPlots () |
QString | getTitle () |
void | setTitle (QString t) |
bool | getTitleEnabled () |
void | setTitleEnabled (bool e) |
void | setBackground (QColor c) |
QColor | Background () |
QDateTime | getTimeStamp () |
void | setTimeStamp (QDateTime ts) |
bool | getTimeStampEnabled () |
void | setTimeStampEnabled (bool e) |
void | resetRanges () |
Protected Member Functions |
void | resizeEvent (QResizeEvent *) |
void | paintEvent (QPaintEvent *) |
void | mousePressEvent (QMouseEvent *) |
void | mouseReleaseEvent (QMouseEvent *) |
void | mouseDoubleClickEvent (QMouseEvent *) |
void | mouseMoveEvent (QMouseEvent *) |
void | closeEvent (QCloseEvent *) |
void | Draw (QPainter *, int w, int h) |
double | getXCoordinate (double x, double xmin, double xmax) |
double | getYCoordinate (double y, double ymin, double ymax) |
Private Attributes |
MainWin * | mw |
Plot * | plot [NR_PLOTS] |
QPrinter * | qprinter |
QString | title |
bool | title_enabled |
QDateTime | timestamp |
bool | timestamp_enabled |
QColor | bgcolor |
Label * | label [NR_OBJECTS] |
Line | line [NR_OBJECTS] |
Rect | rect [NR_OBJECTS] |
Ellipse | ellipse [NR_OBJECTS] |
Image | image [NR_OBJECTS] |
int | X |
int | Y |
int | lx |
int | ly |
int | ax |
int | ay |
int | anumber |
int | tx |
int | ty |
int | bx |
int | by |
int | tlx |
int | tly |
int | tmagx |
int | tmagy |
int | tmagx2 |
int | tmagy2 |
double | tpanx |
double | tpany |
int | linesx |
int | linesy |
int | lineex |
int | lineey |
int | labelx |
int | labely |
int | rectx |
int | recty |
int | ellipsex |
int | ellipsey |
int | imagex |
int | imagey |
bool | moving_cornerF1 |
bool | moving_cornerF2 |
bool | moving_cornerB1 |
bool | moving_cornerB2 |
bool | moving_borderx1 |
bool | moving_borderx2 |
bool | moving_bordery1 |
bool | moving_bordery2 |
bool | moving_center |
int | object_index |
int | tmp_object_index |
unsigned int | api |
unsigned int | nr_plots |