16 #include "cxResourceExport.h"
23 #include <boost/shared_ptr.hpp>
41 class cxResource_EXPORT
Presets :
public QObject
49 IMAGE_MODALITY getId()
const;
51 void addCustomPreset(QDomElement& element);
52 virtual void deleteCustomPreset(QString name);
54 virtual void remove();
56 QStringList getPresetList(IMAGE_MODALITY tag=
imUNKNOWN);
57 bool isDefaultPreset(QString presetName);
64 virtual QStringList generatePresetList(IMAGE_MODALITY tag);
66 void addDefaultPreset(QDomElement& element);
70 void print(QDomElement element);
81 typedef boost::shared_ptr<class Presets>
PresetsPtr;