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;
Base class for a group of presets in the system.
XmlOptionFile mPresetFile
< the name of the last custom preset removed
QString mLastCustomPresetRemoved
< the name of the last custom preset added
boost::shared_ptr< class Presets > PresetsPtr
QString mLastCustomPresetAdded
void print(QString header, QRect r)
Helper class for xml files used to store ssc/cx data.
Namespace for all CustusX production code.