|
Public Slots |
| void | Export (QString filename, QString format) |
| | export to filename with format
|
| void | ExportPS (QString filename) |
| | export to filename as PS
|
| void | ExportEPS (QString filename) |
| | export to filename as EPS
|
| void | ExportPDF (QString filename) |
| | export to filename as PDF
|
| void | ExportSVG (QString filename) |
| | export to filename as SVG
|
| void | ExportPIC (QString filename) |
| | export to filename as PIC
|
| void | Print (QString filename) |
| | print to filename
|
| void | newPlot (PType type) |
| void | deleteActivePlot () |
| QString | Title () const |
| | get title
|
| void | setTitle (QString t) |
| | set title to t
|
| bool | TitleEnabled () const |
| | title enabled ?
|
| void | setTitleEnabled (bool e) |
| | enable title
|
| QDateTime | TimeStamp () const |
| | get timestamp
|
| void | setTimeStamp (QDateTime ts) |
| | set timestamp
|
| bool | TimeStampEnabled () const |
| | enable timestamp
|
| void | setTimeStampEnabled (bool e) |
| | timestamp enabled ?
|
| QColor | Background () const |
| | get background color
|
| void | setBackground (QColor c) |
| | set background color to c
|
Public Member Functions |
| | Worksheet (QWidget *parent, MainWin *mw, const char *name) |
| | main worksheet class. (WNoAutoErase needed for flicker free redrawing)
|
| QStringList | Info () |
| MainWin * | getMainWin () |
| void | updatePixmap () |
| | update off screen pixmap (double buffering)
|
| void | New () |
| Plot * | getPlot (int i) |
| void | save (QTextStream *t) |
| void | open (QTextStream *t, int version, PType oldtype) |
| | open worksheet : type : old type from version <11
|
| int | NrObjects () |
| 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) |
| LImage | getImage (int i) |
| void | setImage (int i, LImage 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) |
| void | addGraphIMAGE (GraphIMAGE *g) |
| int | API () |
| unsigned int | NrPlots () |
| 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) |
| void | setupPrinter (KPrinter *pr, QString fn) |
| double | XCoordinate (double x, double xmin, double xmax) |
| double | YCoordinate (double y, double ymin, double ymax) |
Private Attributes |
| MainWin * | mw |
| Plot * | plot [NR_PLOTS] |
| KPrinter * | printer |
| QPixmap | pixmap |
| QString | title |
| | title of Worksheet
|
| bool | title_enabled |
| | title enabled
|
| QDateTime | timestamp |
| | time stamp
|
| bool | timestamp_enabled |
| | timestamp enabled
|
| QColor | background |
| Label * | label [NR_OBJECTS] |
| Line | line [NR_OBJECTS] |
| Rect | rect [NR_OBJECTS] |
| Ellipse | ellipse [NR_OBJECTS] |
| LImage | 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 |