37 #include "cxResourceExport.h" 44 #include <boost/shared_ptr.hpp> 61 class cxResource_EXPORT
Presets :
public QObject
69 QString getId()
const;
71 void addCustomPreset(QDomElement& element);
72 virtual void deleteCustomPreset(QString name);
74 virtual void remove();
76 QStringList getPresetList(QString tag=
"");
77 bool isDefaultPreset(QString presetName);
84 virtual QStringList generatePresetList(QString tag);
86 void addDefaultPreset(QDomElement& element);
90 void print(QDomElement element);
101 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.