ImportOPJ Class Reference

#include <importOPJ.h>

List of all members.


Detailed Description

Origin project import class.

Public Member Functions

bool createProjectTree (const OPJFile &opj)
int error ()
bool importGraphs (const OPJFile &opj)
bool importNotes (const OPJFile &opj)
 ImportOPJ (ApplicationWindow *app, const QString &filename)
bool importTables (const OPJFile &opj)

Private Member Functions

void addText (const text &_text, Graph *graph, LegendWidget *txt, const rect &layerRect, double fFontScaleFactor, double fXScale, double fYScale)
int arrowAngle (double length, double width)
QString parseOriginTags (const QString &str)
QString parseOriginText (const QString &str)
int translateOrigin2QtiplotLineStyle (int linestyle)

Private Attributes

ApplicationWindowmw
int parse_error
int xoffset

Constructor & Destructor Documentation

ImportOPJ::ImportOPJ ( ApplicationWindow app,
const QString &  filename 
)


Member Function Documentation

void ImportOPJ::addText ( const text &  _text,
Graph graph,
LegendWidget txt,
const rect &  layerRect,
double  fFontScaleFactor,
double  fXScale,
double  fYScale 
) [private]

int ImportOPJ::arrowAngle ( double  length,
double  width 
) [inline, private]

Referenced by importGraphs().

bool ImportOPJ::createProjectTree ( const OPJFile &  opj  ) 

int ImportOPJ::error (  )  [inline]

References parse_error.

bool ImportOPJ::importGraphs ( const OPJFile &  opj  ) 

hack used in order to avoid resize and repaint events

References CurveLayout::aCol, Graph::addArrow(), Graph::addCurves(), Graph::addErrorBars(), Graph::addFunction(), Graph::addImage(), MultiLayer::addLayer(), addText(), Graph::Area, arrowAngle(), CurveLayout::aStyle, Graph::axisTitleFont(), Graph::Box, ScaleDraw::ColHeader, Table::colIndex(), Table::colName(), ColorBox::color(), Table::colX(), Table::colY(), Graph::curve(), ScaleDraw::Date, ScaleDraw::Day, ArrowMarker::drawEndArrow(), ArrowMarker::drawStartArrow(), Grid::enableZeroLineX(), Grid::enableZeroLineY(), Graph::ErrorBars, CurveLayout::fillCol, CurveLayout::filledArea, Graph::getPenStyle(), Graph::grid(), ApplicationWindow::hideWindow(), Graph::Histogram, Graph::HorizontalBars, Graph::initCurveLayout(), Graph::insertCurve(), JulianDateTime2String(), CurveLayout::lCol, Graph::Line, Graph::LineSymbols, QwtHistogram::loadData(), CurveLayout::lStyle, CurveLayout::lWidth, Graph::masterCurve(), ApplicationWindow::maximizeWindow(), ApplicationWindow::minimizeWindow(), ScaleDraw::Month, ApplicationWindow::multilayerPlot(), mw, Graph::newLegend(), ScaleDraw::Numeric, parseOriginText(), CurveLayout::penWidth, Graph::Pie, Graph::Scatter, Graph::setAutoscaleFonts(), Graph::setAxisFont(), Graph::setAxisTitleFont(), QwtHistogram::setBinning(), MdiSubWindow::setBirthDate(), ImageMarker::setBoundingRect(), MdiSubWindow::setCaptionPolicy(), ArrowMarker::setColor(), QwtPieCurve::setCounterClockwise(), Graph::setCurveStyle(), ArrowMarker::setEndPoint(), QwtPieCurve::setFirstColor(), QwtPieCurve::setFixedLabelsPosition(), QwtBarCurve::setGap(), ArrowMarker::setHeadAngle(), ArrowMarker::setHeadLength(), QwtPieCurve::setHorizontalOffset(), QwtPieCurve::setLabelCategories(), QwtPieCurve::setLabelPercentagesFormat(), QwtPieCurve::setLabelsAutoFormat(), DataCurve::setLabelsColumnName(), QwtPieCurve::setLabelsEdgeDistance(), QwtPieCurve::setLabelValuesFormat(), Grid::setMajPenX(), Grid::setMajPenY(), Grid::setMinPenX(), Grid::setMinPenY(), QwtPieCurve::setRadius(), Graph::setScale(), QwtPieCurve::setStartAzimuth(), ArrowMarker::setStartPoint(), ArrowMarker::setStyle(), LegendWidget::setText(), QwtPieCurve::setThickness(), QwtPieCurve::setViewAngle(), ArrowMarker::setWidth(), MdiSubWindow::setWindowLabel(), Graph::setXAxisTitle(), Graph::setYAxisTitle(), Graph::showAxis(), CurveLayout::sSize, CurveLayout::sType, CurveLayout::symCol, ApplicationWindow::table(), ScaleDraw::Text, ScaleDraw::Time, translateOrigin2QtiplotLineStyle(), Graph::updateCurveLayout(), ApplicationWindow::updateFunctionLists(), Graph::updateVectorsLayout(), vector(), Graph::VectXYAM, Graph::VectXYXY, Graph::VerticalBars, and xoffset.

Referenced by ImportOPJ().

bool ImportOPJ::importNotes ( const OPJFile &  opj  ) 

bool ImportOPJ::importTables ( const OPJFile &  opj  ) 

QString ImportOPJ::parseOriginTags ( const QString &  str  )  [private]

References strreverse().

Referenced by parseOriginText().

QString ImportOPJ::parseOriginText ( const QString &  str  )  [private]

References parseOriginTags().

Referenced by addText(), and importGraphs().

int ImportOPJ::translateOrigin2QtiplotLineStyle ( int  linestyle  )  [private]

Referenced by importGraphs().


Member Data Documentation

int ImportOPJ::parse_error [private]

Referenced by error(), and ImportOPJ().

int ImportOPJ::xoffset [private]


The documentation for this class was generated from the following files:

Generated on Sun Jun 15 21:32:23 2008 for QtiPlot by  doxygen 1.5.6