Base class for preset handling. Takes care of making a uniform preset system. Contains a preset selector, functionality for resetting to a default preset, saving new presets and deleting presets.
More...
#include <cxPresetWidget.h>
|
| PresetWidget (QWidget *parent) |
|
virtual | ~PresetWidget () |
|
bool | requestSetCurrentPreset (QString name) |
| tries to set the preset to the requested name More...
|
|
QString | getCurrentPreset () |
| returns the name of the currently selected preset More...
|
|
void | showDetailed (bool detailed) |
| sets the presetwidget in detailed mode or not More...
|
|
virtual void | setPresets (PresetsPtr presets) |
|
QString | getLastUsedPresetNameFromSettingsFile () const |
|
| BaseWidget (QWidget *parent, QString objectName, QString windowTitle) |
|
virtual | ~BaseWidget () |
|
QWidget * | createMethodWidget (QWidget *inputWidget, QWidget *outputWidget, QString methodname, bool inputChecked=false, bool outputVisible=true) |
| Create a specialized widget for filters, with input/ouput, enable and options. More...
|
|
QGroupBox * | createGroupbox (QWidget *widget, QString boxname) |
| Create a group box with a given name. More...
|
|
QGroupBox * | wrapInGroupBox (QWidget *base, QString name) |
|
CXFrame * | wrapInFrame (QWidget *base) |
|
QAction * | createAction2 (QObject *parent, QIcon iconName, QString text, QString tip, QLayout *layout=NULL, QToolButton *button=new QToolButton()) |
|
template<class T > |
QAction * | createAction (QObject *parent, QIcon iconName, QString text, QString tip, T slot, QLayout *layout=NULL, QToolButton *button=new QToolButton()) |
|
| OptimizedUpdateWidget (QWidget *parent=NULL) |
|
virtual | ~OptimizedUpdateWidget () |
|
void | forcePrePaint () |
|
Base class for preset handling. Takes care of making a uniform preset system. Contains a preset selector, functionality for resetting to a default preset, saving new presets and deleting presets.
- Date
- Mar 8, 2013
- Author
- Janne Beate Bakeng, SINTEF
Definition at line 34 of file cxPresetWidget.h.
cx::PresetWidget::PresetWidget |
( |
QWidget * |
parent | ) |
|
virtual cx::PresetWidget::~PresetWidget |
( |
| ) |
|
|
inlinevirtual |
void cx::PresetWidget::deleteSlot |
( |
| ) |
|
|
virtualslot |
QString cx::PresetWidget::getCurrentPreset |
( |
| ) |
|
QString cx::PresetWidget::getLastUsedPresetNameFromSettingsFile |
( |
| ) |
const |
QString cx::PresetWidget::getNewPresetName |
( |
bool |
withoutSpaces = false | ) |
|
|
protected |
void cx::PresetWidget::populateButtonLayout |
( |
| ) |
|
|
protectedvirtual |
makes buttons based on the actions found in the actiongroup
Definition at line 144 of file cxPresetWidget.cpp.
void cx::PresetWidget::populatePresetList |
( |
QStringList |
list | ) |
|
|
protected |
void cx::PresetWidget::populatePresetListSlot |
( |
| ) |
|
|
virtualslot |
void cx::PresetWidget::presetsBoxChangedSlot |
( |
const QString & |
name | ) |
|
|
protectedvirtualslot |
void cx::PresetWidget::presetSelected |
( |
QString |
name | ) |
|
|
signal |
bool cx::PresetWidget::requestSetCurrentPreset |
( |
QString |
name | ) |
|
void cx::PresetWidget::resetSlot |
( |
| ) |
|
|
virtualslot |
void cx::PresetWidget::saveSlot |
( |
| ) |
|
|
virtualslot |
void cx::PresetWidget::setPresets |
( |
PresetsPtr |
presets | ) |
|
|
virtual |
void cx::PresetWidget::showDetailed |
( |
bool |
detailed | ) |
|
QActionGroup* cx::PresetWidget::mActionGroup |
|
protected |
contains all actions that will have buttons
Definition at line 67 of file cxPresetWidget.h.
The documentation for this class was generated from the following files:
- /media/dev/bamboodrive/b/xml-data/build-dir/FX-NOS-JOB1/CX/CX/source/resource/widgets/cxPresetWidget.h
- /media/dev/bamboodrive/b/xml-data/build-dir/FX-NOS-JOB1/CX/CX/source/resource/widgets/cxPresetWidget.cpp