33 #ifndef CXPRESETWIDGET_H_
34 #define CXPRESETWIDGET_H_
36 #include "cxResourceWidgetsExport.h"
63 bool requestSetCurrentPreset(QString name);
64 QString getCurrentPreset();
65 void showDetailed(
bool detailed);
69 QString getLastUsedPresetNameFromSettingsFile()
const;
72 void presetSelected(QString name);
75 virtual void resetSlot();
76 virtual void saveSlot();
77 virtual void deleteSlot();
78 virtual void populatePresetListSlot();
81 virtual void presetsBoxChangedSlot(
const QString&);
84 virtual void populateButtonLayout();
85 void populatePresetList(QStringList list);
86 QString getNewPresetName(
bool withoutSpaces);
92 void selectLastUsedPreset();
93 QComboBox* mPresetsComboBox;
94 QHBoxLayout* mButtonLayout;
boost::shared_ptr< class Presets > PresetsPtr