SpiceFilter

Public Methods

void

SpiceFilter()

const QVector< AbstractColumn::ColumnMode >&

columnModes()

int

endRow() const

QString

fileInfoString(const QString &)

bool

isSpiceFile(const QString &fileName, bool *binary=nullptr)

bool

load(XmlStreamReader *) override

QVector< QStringList >

preview(const QString &fileName, int lines)

void

readDataFromFile(const QString &fileName, AbstractDataSource *=nullptr, ImportMode=ImportMode::Replace) override

void

save(QXmlStreamWriter *) const override

void

setEndRow(const int)

void

setStartRow(const int)

int

startRow() const

const QStringList&

vectorNames() const

void

write(const QString &fileName, AbstractDataSource *) override

Detailed Description

class SpiceFilter : public AbstractFileFilter

Public Functions

virtual void readDataFromFile(const QString &fileName, AbstractDataSource* = nullptr, ImportMode = ImportMode::Replace) override

reads the content of the file fileName.

virtual void write(const QString &fileName, AbstractDataSource*) override

writes the content of the data source dataSource to the file fileName.

virtual void save(QXmlStreamWriter*) const override

Saves as XML.

virtual bool load(XmlStreamReader*) override

Loads from XML.