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.
◆ PresetWidget()
cx::PresetWidget::PresetWidget |
( |
QWidget * |
parent | ) |
|
◆ ~PresetWidget()
virtual cx::PresetWidget::~PresetWidget |
( |
| ) |
|
|
inlinevirtual |
◆ deleteSlot
void cx::PresetWidget::deleteSlot |
( |
| ) |
|
|
virtualslot |
◆ getCurrentPreset()
QString cx::PresetWidget::getCurrentPreset |
( |
| ) |
|
◆ getLastUsedPresetNameFromSettingsFile()
QString cx::PresetWidget::getLastUsedPresetNameFromSettingsFile |
( |
| ) |
const |
◆ getNewPresetName()
QString cx::PresetWidget::getNewPresetName |
( |
bool |
withoutSpaces = false | ) |
|
|
protected |
◆ populateButtonLayout()
void cx::PresetWidget::populateButtonLayout |
( |
| ) |
|
|
protectedvirtual |
makes buttons based on the actions found in the actiongroup
Definition at line 144 of file cxPresetWidget.cpp.
◆ populatePresetList()
void cx::PresetWidget::populatePresetList |
( |
QStringList |
list | ) |
|
|
protected |
◆ populatePresetListSlot
void cx::PresetWidget::populatePresetListSlot |
( |
| ) |
|
|
virtualslot |
◆ presetsBoxChangedSlot
void cx::PresetWidget::presetsBoxChangedSlot |
( |
const QString & |
name | ) |
|
|
protectedvirtualslot |
◆ presetSelected
void cx::PresetWidget::presetSelected |
( |
QString |
name | ) |
|
|
signal |
◆ requestSetCurrentPreset()
bool cx::PresetWidget::requestSetCurrentPreset |
( |
QString |
name | ) |
|
◆ resetSlot
void cx::PresetWidget::resetSlot |
( |
| ) |
|
|
virtualslot |
◆ saveSlot
void cx::PresetWidget::saveSlot |
( |
| ) |
|
|
virtualslot |
◆ setPresets()
void cx::PresetWidget::setPresets |
( |
PresetsPtr |
presets | ) |
|
|
virtual |
◆ showDetailed()
void cx::PresetWidget::showDetailed |
( |
bool |
detailed | ) |
|
◆ mActionGroup
QActionGroup* cx::PresetWidget::mActionGroup |
|
protected |
contains all actions that will have buttons
Definition at line 67 of file cxPresetWidget.h.
◆ mPresets
The documentation for this class was generated from the following files:
- /mnt/bamboo/bamboo/buildagent/xml-data/build-dir/NN-RE-BU2/CX/CX/source/resource/widgets/cxPresetWidget.h
- /mnt/bamboo/bamboo/buildagent/xml-data/build-dir/NN-RE-BU2/CX/CX/source/resource/widgets/cxPresetWidget.cpp