12 #ifndef CXPRESETWIDGET_H_
13 #define CXPRESETWIDGET_H_
15 #include "cxResourceWidgetsExport.h"
42 bool requestSetCurrentPreset(QString name);
43 QString getCurrentPreset();
44 void showDetailed(
bool detailed);
48 QString getLastUsedPresetNameFromSettingsFile()
const;
51 void presetSelected(QString name);
54 virtual void resetSlot();
55 virtual void saveSlot();
56 virtual void deleteSlot();
57 virtual void populatePresetListSlot();
60 virtual void presetsBoxChangedSlot(
const QString&);
63 virtual void populateButtonLayout();
64 void populatePresetList(QStringList list);
65 QString getNewPresetName(
bool withoutSpaces);
71 void selectLastUsedPreset();
72 QComboBox* mPresetsComboBox;
73 QHBoxLayout* mButtonLayout;