LoaderPlugin
Qualified name: mv::plugin::LoaderPlugin
-
class LoaderPlugin : public mv::plugin::Plugin
Public Functions
-
virtual void loadData() = 0
Should be implemented by loader plugins to parse their specific data.
This function will be called when the user clicks on the menu item for this loader. The implementation is free to create file dialogs if desired.
Protected Functions
-
QString AskForFileName(const QString &fileNameFilter) const
Asks the user for the name of a file to load data from.
Opens a file dialog at the directory of the last loaded file. The path of this directory is stored with the application settings (in the registry, on Windows).
fileNameFiltercould be something like “Text Files (*.txt)”.
-
virtual void loadData() = 0