16 #include "cxResourceExport.h" 23 #include <boost/shared_ptr.hpp> 40 class cxResource_EXPORT
Presets :
public QObject
48 QString getId()
const;
50 void addCustomPreset(QDomElement& element);
51 virtual void deleteCustomPreset(QString name);
53 virtual void remove();
55 QStringList getPresetList(QString tag=
"");
56 bool isDefaultPreset(QString presetName);
63 virtual QStringList generatePresetList(QString tag);
65 void addDefaultPreset(QDomElement& element);
69 void print(QDomElement element);
80 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.