#include <dataload_csv.h>
Public Member Functions | |
virtual const std::vector< const char * > & | compatibleFileExtensions () const override |
Provide a list of file extensions that this plugin can open. More... | |
DataLoadCSV () | |
virtual const char * | name () const override |
Name of the plugin type, NOT the particular instance. More... | |
virtual bool | readDataFromFile (PJ::FileLoadInfo *fileload_info, PlotDataMapRef &destination) override |
bool | xmlLoadState (const QDomElement &parent_element) override |
Override this method to load the status of the plugin from XML. More... | |
bool | xmlSaveState (QDomDocument &doc, QDomElement &parent_element) const override |
Override this method to save the status of the plugin to XML. More... | |
virtual | ~DataLoadCSV () |
Public Member Functions inherited from PJ::DataLoader | |
DataLoader ()=default | |
const ParserFactories * | parserFactories () const |
void | setParserFactories (ParserFactories *parsers) |
virtual | ~DataLoader ()=default |
Public Member Functions inherited from PJ::PlotJugglerPlugin | |
virtual const std::vector< QAction * > & | availableActions () |
virtual bool | isDebugPlugin () |
virtual QWidget * | optionsWidget () |
optionsWidget pointer to a persistent widget used to set the plugin options . More... | |
PlotJugglerPlugin ()=default | |
QDomElement | xmlSaveState (QDomDocument &doc) const |
Protected Member Functions | |
int | launchDialog (QFile &file, std::vector< std::string > *ordered_names) |
void | parseHeader (QFile &file, std::vector< std::string > &ordered_names) |
Private Attributes | |
QCSVHighlighter | _csvHighlighter |
DateTimeHelp * | _dateTime_dialog |
std::string | _default_time_axis |
QChar | _delimiter |
QDialog * | _dialog |
std::vector< const char * > | _extensions |
FileLoadInfo * | _fileInfo |
QStandardItemModel * | _model |
Ui::DialogCSV * | _ui |
bool | multiple_columns_warning_ = true |
Definition at line 14 of file dataload_csv.h.
DataLoadCSV::DataLoadCSV | ( | ) |
Definition at line 95 of file dataload_csv.cpp.
|
virtual |
Definition at line 143 of file dataload_csv.cpp.
|
overridevirtual |
Provide a list of file extensions that this plugin can open.
Implements PJ::DataLoader.
Definition at line 150 of file dataload_csv.cpp.
|
protected |
Definition at line 294 of file dataload_csv.cpp.
|
inlineoverridevirtual |
Name of the plugin type, NOT the particular instance.
Implements PJ::PlotJugglerPlugin.
Definition at line 29 of file dataload_csv.h.
|
protected |
Definition at line 155 of file dataload_csv.cpp.
|
overridevirtual |
Implements PJ::DataLoader.
Definition at line 483 of file dataload_csv.cpp.
|
overridevirtual |
Override this method to load the status of the plugin from XML.
Reimplemented from PJ::PlotJugglerPlugin.
Definition at line 843 of file dataload_csv.cpp.
|
overridevirtual |
Override this method to save the status of the plugin to XML.
Reimplemented from PJ::PlotJugglerPlugin.
Definition at line 827 of file dataload_csv.cpp.
|
private |
Definition at line 50 of file dataload_csv.h.
|
private |
Definition at line 56 of file dataload_csv.h.
|
private |
Definition at line 46 of file dataload_csv.h.
|
private |
Definition at line 48 of file dataload_csv.h.
|
private |
Definition at line 54 of file dataload_csv.h.
|
private |
Definition at line 44 of file dataload_csv.h.
|
private |
Definition at line 52 of file dataload_csv.h.
|
private |
Definition at line 58 of file dataload_csv.h.
|
private |
Definition at line 55 of file dataload_csv.h.
|
private |
Definition at line 60 of file dataload_csv.h.