|
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
|
Plot2DSimple * | get2DPlot (int i) |
| get 2d simple plot number i
|
Plot2DSimple * | get2DSimplePlot (int i) |
| get 2d simple plot number i
|
Plot2DSurface * | get2DSurfacePlot (int i) |
| get 2d surface plot number i
|
Plot3D * | get3DPlot (int i) |
| get 3d plot number i
|
PlotQWT3D * | getQWT3DPlot (int i) |
| get 3d qwt plot number i
|
PlotPie * | getPiePlot (int i) |
| get pie plot number i
|
PlotPolar * | getPolarPlot (int i) |
| get polar plot number i
|
PlotTernary * | getTernaryPlot (int i) |
| get ternary plot number i
|
Plot * | newPlot (PType type=P2D) |
void | deletePlot (int i) |
| delete plot number i
|
void | deleteActivePlot () |
int | getX () |
| get window dimensions
|
int | getY () |
| get window dimensions
|
void | redraw () |
| repaint the worksheet
|
int | API () |
| get active plot number
|
unsigned int | NrPlots () |
| get number of plots
|
int | NrObjects () |
| get number of drawing objects
|
Line * | getLine (int i) |
| get line number i
|
void | setLine (int i, Line *l) |
| set line number i to l
|
Label * | getLabel (int i) |
| get label number i
|
void | setLabel (int i, Label *l) |
| set label number i to l
|
Rect * | getRect (int i) |
| get rect number i
|
void | setRect (int i, Rect *r) |
| set rect number i to rect
|
Ellipse * | getEllipse (int i) |
| get ellipse number i
|
void | setEllipse (int i, Ellipse *e) |
| set ellipse i to e
|
LImage * | getImage (int i) |
| get image number i
|
void | setImage (int i, LImage *im) |
| set image number i to im
|
QString | Title () const |
| get title
|
void | setTitle (QString t) |
| set title to t
|
bool | TitleEnabled () const |
| title enabled ?
|
void | setTitleEnabled (bool e=true) |
| enable title
|
QDateTime | TimeStamp () const |
| get timestamp
|
void | setTimeStamp (QDateTime ts) |
| set timestamp
|
bool | TimeStampEnabled () const |
| enable timestamp
|
void | setTimeStampEnabled (bool e=true) |
| timestamp enabled ?
|
QColor | Background () const |
| get background color
|
void | setBackground (QColor c) |
| set background color to c
|
void | setBackground (QString 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)
|
WidgetType | getWidgetType () |
QStringList | Info () |
MainWin * | getMainWin () |
Plot * | getPlot (int i) |
| get plot number i
|
void | updatePixmap () |
| update off screen pixmap (double buffering)
|
void | New () |
void | save (QTextStream *t) |
void | open (QTextStream *t, int version, PType oldtype) |
| open worksheet : type : old type from version <11
|
void | addGraph2D (Graph2D *g, PType type=P2D) |
void | addGraph3D (Graph3D *g, PType type=P3D) |
void | addGraphM (GraphM *g, PType type=PSURFACE) |
void | addGraph4D (Graph4D *g) |
void | addGraphIMAGE (GraphIMAGE *g) |
void | resetRanges () |
void | checkRanges (TScale scale, double *min, double *max) |
double | partRanges (TScale scale, double min, double max) |
Protected Member Functions |
void | resizeEvent (QResizeEvent *) |
void | paintEvent (QPaintEvent *) |
void | mousePressEvent (QMouseEvent *) |
void | mouseReleaseEvent (QMouseEvent *) |
void | mouseDoubleClickEvent (QMouseEvent *) |
void | mouseMoveEvent (QMouseEvent *) |
void | keyPressEvent (QKeyEvent *) |
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 |
WidgetType | widgettype |
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 |
int | tmaskx |
int | tmasky |
int | tmaskx2 |
int | tmasky2 |
double | tpanx |
double | tpany |
int | tdatamodex |
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 |