#include "ApplicationWindow.h"#include "MultiLayer.h"#include "PlotCurve.h"#include "Grid.h"#include "ScaleEngine.h"#include "QwtBarCurve.h"#include "LegendWidget.h"#include "RectangleWidget.h"#include "EllipseWidget.h"#include "ImageWidget.h"#include "QwtPieCurve.h"#include "ArrowMarker.h"#include "QwtErrorPlotCurve.h"#include <qwt_plot_canvas.h>#include <qwt_scale_widget.h>#include <qwt_symbol.h>#include <QApplication>#include <QClipboard>Defines | |
| #define | xOffset 100 |
| #define | yOffset 15 |
Functions | |
| QPen | borderPen (QAxObject *o) |
| QColor | colorToQColor (int rgb) |
| QBrush | curveBrush (QAxObject *o) |
| void | importGroupBoxes (int left, int top, QAxObject *chart, Graph *g) |
| void | importLine (int left, int top, QAxObject *l, Graph *g) |
| void | importPicture (int left, int top, QAxObject *r, Graph *g) |
| void | importRectangle (int left, int top, QAxObject *r, Graph *g, int type) |
| void | importShape (int left, int top, QAxObject *shape, Graph *g) |
| void | importShapes (int left, int top, QAxObject *chart, Graph *g) |
| void | importText (int left, int top, QAxObject *text, Graph *g, LegendWidget *l) |
| QBrush | interiorBrush (QAxObject *o) |
| QPen | linePen (QAxObject *o) |
| QFont | qFont (QAxObject *o) |
| QPen | qPen (QAxObject *o) |
| void | setAxisFormat (Graph *g, int axisIndex, QAxObject *axis) |
| void | setCurveErrorBars (DataCurve *c, QAxObject *curve) |
| void | setCurveMarkersFormat (DataCurve *c, QAxObject *curve) |
| #define xOffset 100 |
Referenced by Graph::restoreSpectrogram().
| #define yOffset 15 |
Referenced by ImportOPJ::importGraphs(), and Graph::restoreSpectrogram().
| QPen borderPen | ( | QAxObject * | o | ) |
References colorToQColor().
Referenced by importRectangle(), and importText().
| QColor colorToQColor | ( | int | rgb | ) |
Referenced by borderPen(), curveBrush(), importText(), interiorBrush(), linePen(), setAxisFormat(), and setCurveMarkersFormat().
| QBrush curveBrush | ( | QAxObject * | o | ) |
References colorToQColor().
| void importGroupBoxes | ( | int | left, | |
| int | top, | |||
| QAxObject * | chart, | |||
| Graph * | g | |||
| ) |
References importShape().
| void importLine | ( | int | left, | |
| int | top, | |||
| QAxObject * | l, | |||
| Graph * | g | |||
| ) |
| void importPicture | ( | int | left, | |
| int | top, | |||
| QAxObject * | r, | |||
| Graph * | g | |||
| ) |
References Graph::add(), FrameWidget::move(), FrameWidget::setFrameStyle(), ImageWidget::setPixmap(), ImageWidget::setSaveInternally(), and FrameWidget::setSize().
Referenced by importShape().
| void importRectangle | ( | int | left, | |
| int | top, | |||
| QAxObject * | r, | |||
| Graph * | g, | |||
| int | type | |||
| ) |
| void importShape | ( | int | left, | |
| int | top, | |||
| QAxObject * | shape, | |||
| Graph * | g | |||
| ) |
References importLine(), importPicture(), importRectangle(), and importText().
Referenced by importGroupBoxes(), and importShapes().
| void importShapes | ( | int | left, | |
| int | top, | |||
| QAxObject * | chart, | |||
| Graph * | g | |||
| ) |
References importShape().
| void importText | ( | int | left, | |
| int | top, | |||
| QAxObject * | text, | |||
| Graph * | g, | |||
| LegendWidget * | l | |||
| ) |
References borderPen(), colorToQColor(), interiorBrush(), FrameWidget::move(), Graph::newLegend(), qFont(), FrameWidget::setBackgroundColor(), FrameWidget::setBrush(), LegendWidget::setFont(), FrameWidget::setFramePen(), FrameWidget::setFrameStyle(), FrameWidget::setOnTop(), and LegendWidget::setTextColor().
Referenced by importShape().
| QBrush interiorBrush | ( | QAxObject * | o | ) |
References colorToQColor().
Referenced by importRectangle(), and importText().
| QPen linePen | ( | QAxObject * | o | ) |
| QFont qFont | ( | QAxObject * | o | ) |
Referenced by importText(), and setAxisFormat().
| QPen qPen | ( | QAxObject * | o | ) |
References linePen().
Referenced by setCurveErrorBars().
| void setAxisFormat | ( | Graph * | g, | |
| int | axisIndex, | |||
| QAxObject * | axis | |||
| ) |
References colorToQColor(), Graph::majorTickLength(), Graph::minorTickLength(), ScaleDraw::Numeric, qFont(), ScaleDraw::scaleType(), Graph::setAxisFont(), Graph::setAxisLabelRotation(), Graph::setAxisLabelsColor(), Graph::setAxisTicksLength(), Graph::setAxisTitle(), Graph::setAxisTitleColor(), Graph::setAxisTitleFont(), and Graph::setScale().
| void setCurveErrorBars | ( | DataCurve * | c, | |
| QAxObject * | curve | |||
| ) |
References Table::addCol(), Table::cell(), Table::colName(), Table::numRows(), qPen(), Table::setCell(), DataCurve::table(), and Table::yErr.
| void setCurveMarkersFormat | ( | DataCurve * | c, | |
| QAxObject * | curve | |||
| ) |
References colorToQColor().
1.7.1