SciDAVis  1.D4
Public Member Functions | Private Member Functions | Private Attributes
ImportOPJ Class Reference

Origin project import class. More...

#include <importOPJ.h>

List of all members.

Public Member Functions

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

Private Member Functions

QString parseOriginTags (const QString &str)
QString parseOriginText (const QString &str)
int translateOrigin2ScidavisLineStyle (int linestyle)

Private Attributes

ApplicationWindowmw
int parse_error
int xoffset

Detailed Description

Origin project import class.


Constructor & Destructor Documentation

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

Member Function Documentation

bool ImportOPJ::createProjectTree ( const OriginFile &  opj)
int ImportOPJ::error ( )
inline

References parse_error.

bool ImportOPJ::importGraphs ( const OriginFile &  opj)

hack used in order to avoid resize and repaint events

References CurveLayout::aCol, Graph::addErrorBars(), Graph::addFunctionCurve(), MultiLayer::addLayer(), MultiLayer::arrangeLayers(), CurveLayout::aStyle, ApplicationWindow::autoResizeLayers, ApplicationWindow::autoScaleFonts, Graph::Box, Graph::ColHeader, ColorBox::color(), Graph::curve(), Graph::Date, Graph::Day, Grid::enableZeroLineX(), Grid::enableZeroLineY(), Graph::ErrorBars, CurveLayout::fillCol, CurveLayout::filledArea, Graph::getPenStyle(), Graph::grid(), ApplicationWindow::hideWindow(), Graph::Histogram, Graph::HorizontalBars, Graph::initCurveLayout(), Graph::insertCurve(), CurveLayout::lCol, Graph::Line, Graph::LineSymbols, QwtHistogram::loadData(), CurveLayout::lStyle, CurveLayout::lWidth, Graph::Month, ApplicationWindow::multilayerPlot(), mw, Graph::newLegend(), Graph::Numeric, OBJECTXOFFSET, parseOriginText(), CurveLayout::penWidth, Graph::Pie, Graph::Scatter, Graph::setAutoscaleFonts(), QwtHistogram::setBinning(), Graph::setCurveStyle(), QwtBarCurve::setGap(), Graph::setIgnoreResizeEvents(), Grid::setMajPenX(), Grid::setMajPenY(), Grid::setMinPenX(), Grid::setMinPenY(), Graph::setScale(), MyWidget::setWindowLabel(), Graph::setXAxisTitle(), Graph::setYAxisTitle(), Graph::showAxis(), CurveLayout::sSize, CurveLayout::sType, CurveLayout::symCol, ApplicationWindow::table(), Graph::Time, translateOrigin2ScidavisLineStyle(), Graph::Txt, Graph::updateCurveLayout(), ApplicationWindow::updateFunctionLists(), Graph::VerticalBars, and xoffset.

Referenced by ImportOPJ().

bool ImportOPJ::importNotes ( const OriginFile &  opj)
bool ImportOPJ::importTables ( const OriginFile &  opj)
QString ImportOPJ::parseOriginTags ( const QString &  str)
private

References strreverse().

Referenced by parseOriginText().

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

References parseOriginTags().

Referenced by importGraphs().

int ImportOPJ::translateOrigin2ScidavisLineStyle ( int  linestyle)
private

Referenced by importGraphs().


Member Data Documentation

ApplicationWindow* ImportOPJ::mw
private
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: