Class to read and write files containing spreadsheet.Use this class to read and write to spreadsheet files. It uses ESpreadsheetProvider, to handle specific formats (like csv, ods, xls, ...). Which provider it uses, is determined by the file suffix, given to loadFile() and saveFile(). Which suffixes are supported, can be listed with filters().
More...
Additional Inherited Members |
virtual void | reloadSettings () |
| Used to reload the settings.
|
void | error (const QString &message) |
void | warning (const QString &message) |
void | information (const QString &message) |
void | reloadEnableActions () |
| Request reloading of enabled actions in EMainWindow.
|
void | addMenu (QMenu *newMenu, const QString &parent, QString before=QString()) |
void | addAction (QAction *newAction, const QString &parent, QString before=QString()) |
void | addToolBar (QToolBar *newToolBar, Qt::ToolBarArea area=Qt::TopToolBarArea) |
void | addNewDockWidget (QDockWidget *widget, const Qt::DockWidgetArea &area) |
void | setCentralWidget (QWidget *centralWidget) |
void | showSettings () |
void | showHelp (const QString &page) |
void | showStatusWidget (QWidget *widget) |
void | reloadSettingsRequest () |
| Indicates, that a reload of the settings is needed.
|
void | doReloadSettings () |
| Emitted to bring the reload request back to the farest child.
|
virtual void | errorByPass (const QString &message) |
virtual void | warningByPass (const QString &message) |
virtual void | informationByPass (const QString &message) |
virtual void | reloadEnableActionsByPass () |
virtual void | addMenuByPass (QMenu *newMenu, const QString &parent, QString before=QString()) |
virtual void | addActionByPass (QAction *newAction, const QString &parent, QString before=QString()) |
virtual void | addToolBarByPass (QToolBar *newToolBar, Qt::ToolBarArea area=Qt::TopToolBarArea) |
virtual void | addNewDockWidgetByPass (QDockWidget *widget, const Qt::DockWidgetArea &area) |
virtual void | setCentralWidgetByPass (QWidget *centralWidget) |
virtual void | showSettingsByPass () |
virtual void | showHelpByPass (const QString &page) |
virtual void | showStatusWidgetByPass (QWidget *widget) |
virtual void | reloadSettingsRequestByPass () |
void | addManagedDockWidget (QDockWidget *widget, const Qt::DockWidgetArea &area, QString actionLabel=QString(), QString actionParent=QString()) |
| Adds an dock widget via addNewDockWidget() and adds widget to the list of managed dock widgets.
|
Class to read and write files containing spreadsheet.
Use this class to read and write to spreadsheet files. It uses ESpreadsheetProvider, to handle specific formats (like csv, ods, xls, ...). Which provider it uses, is determined by the file suffix, given to loadFile() and saveFile(). Which suffixes are supported, can be listed with filters().
To read a spreadsheet file, use loadFile(QString) or loadFile(QFile) to load the file. Afterwards you can call spreadsheets() to get a list of spreadsheet within the loaded file. Each spreadsheet is represented by one ESpreadsheet object. Use those objects to read and or modify the data within a spreadsheet.
To create a new spreadsheet file, call createFile(QString) or createFile(QFile). Than you can add new spreadsheets to the file by calling appendSpreadsheet(). Than modify the ESpreadsheet object to add data to the spreadsheet.
If you want to handle a new file type, you must implement a new ESpreadsheetProvider.