15 #ifndef DATAMODELGUI_H
16 #define DATAMODELGUI_H
18 #include <QtCore/QVariant>
20 #include <QtCore/QObject>
21 #include <QtGui/QApplication>
45 void loadModel(
const std::string & fileName);
46 void saveModel(
const std::string & fileName,
bool overwriteFile =
false);
48 #ifdef WITH_MERGEMODEL
49 void addModel(
const std::string & fileName);
57 void exportSBML(
const std::string & fileName,
bool overwriteFile ,
int sbmlLevel,
int sbmlVersion,
bool exportIncomplete,
bool exportCOPASIMIRIAM =
true);
60 void exportMathModel(
const std::string & fileName,
const std::string & filter,
bool overwriteFile =
false);
65 void exportSEDML(
const std::string & fileName,
bool overwriteFile ,
int sedmlLevel,
int sedmlVersion,
bool exportIncomplete,
bool exportCOPASIMIRIAM =
true);
66 void exportSEDMLToString(std::string & sedmlDocumentText);
67 void importSEDML(
const std::string & fileName);
68 void importSEDMLFromString(
const std::string & sedmlDocumentText);
70 void importSEDMLRun();
71 void exportSEDMLRun();
72 void importSEDMLFromStringRun();
73 void exportSEDMLToStringRun();
92 #ifdef WITH_MERGEMODEL
93 void addModelFinished();
100 void importSEDMLFinished();
101 void exportSEDMLFinished();
102 void importSEDMLFromStringFinished();
103 void exportSEDMLToStringFinished();
162 std::string mSEDMLImportString;
163 std::string * mpSEDMLExportString;
166 bool mSEDMLExportIncomplete;
167 bool mSEDMLExportCOPASIMIRIAM;
void importSBMLFromStringRun()
COutputHandlerPlot mOutputHandlerPlot
CMIRIAMResources * mpMiriamResources
void buildChangedObjects()
void exportSBMLToStringFinished()
void updateCompleteView()
void importSBML(const std::string &fileName)
bool updateMIRIAM(CMIRIAMResources &miriamResources)
void loadFunctionDB(const std::string &fileName)
bool notify(ListViews::ObjectType objectType, ListViews::Action action, const std::string &key="")
void exportSBMLToStringRun()
void exportMathModelRun()
void loadModel(const std::string &fileName)
bool mSBMLExportIncomplete
COutputDefinitionVector & getPlotDefinitionList()
std::vector< Refresh * > mUpdateVector
void exportSBML(const std::string &fileName, bool overwriteFile, int sbmlLevel, int sbmlVersion, bool exportIncomplete, bool exportCOPASIMIRIAM=true)
void importSBMLFromStringFinished()
std::string mExportFormat
std::string mSBMLImportString
void miriamDownloadProgress(qint64 received, qint64 total)
std::set< ListViews * > mListViews
void importSBMLFinished()
void miriamDownloadFinished(QNetworkReply *)
void exportSBMLFinished()
unsigned int mDownloadedBytes
void exportMathModelFinished()
void finished(bool success)
void saveFunctionDB(const std::string &fileName)
std::string * mpSBMLExportString
void notifyView(ListViews::ObjectType objectType, ListViews::Action action, std::string key="")
void setFramework(int framework)
void refreshInitialValues()
CProgressBar * mpProgressBar
void deregisterListView(ListViews *pListView)
void saveModel(const std::string &fileName, bool overwriteFile=false)
DataModelGUI(QObject *parent)
unsigned int mDownloadedTotalBytes
void exportSBMLToString(std::string &sbmlDocumentText)
void registerListView(ListViews *pListView)
void linkDataModelToGUI()
std::set< const CCopasiObject * > mChangedObjects
void importSBMLFromString(const std::string &sbmlDocumentText)
void exportMathModel(const std::string &fileName, const std::string &filter, bool overwriteFile=false)
void importCellDesigner()
void updateMIRIAMResourceContents()
bool mSBMLExportCOPASIMIRIAM