33 #ifndef CXTSFPRESETS_H_
34 #define CXTSFPRESETS_H_
37 #include <QDomElement>
41 #include "org_custusx_filter_tubesegmentation_Export.h"
62 static QDomElement createPresetElement(QString name, std::map<QString,QString>& parameters);
64 virtual void remove();
67 virtual QStringList generatePresetList(QString tag);
68 void loadPresetsFromFiles();
69 void convertToInternalFormat(std::map<QString,QString>& presets);
70 std::map<QString,QString> readFile(QString& filePath);
71 void saveFile(QString folderPath, std::map<QString,QString> parameters);
72 void deleteFile(QString filePath);
73 void getPresetsNameAndPath();
74 void addAsCustomPreset(std::map<QString,QString>::iterator it);
std::map< QString, QString > mPresetsMap
Base class for a group of presets in the system.
boost::shared_ptr< class TSFPresets > TSFPresetsPtr