CustusX  2020.11.07-dev+develop.4ce4a
An IGT application
cx::FilterPresetWidget Class Reference

#include <cxFilterPresetWidget.h>

Inheritance diagram for cx::FilterPresetWidget:
cx::PresetWidget cx::BaseWidget cx::OptimizedUpdateWidget

Public Slots

virtual void saveSlot ()
 called when user tries to save a filter preset More...
 
virtual void deleteSlot ()
 called when user tries to delete a filter preset More...
 
- Public Slots inherited from cx::PresetWidget
virtual void resetSlot ()
 
virtual void saveSlot ()
 
virtual void deleteSlot ()
 
virtual void populatePresetListSlot ()
 Fill the preset list with the available presets. More...
 
- Public Slots inherited from cx::BaseWidget
void adjustSizeSlot ()
 
- Public Slots inherited from cx::OptimizedUpdateWidget
virtual void setModified ()
 

Public Member Functions

 FilterPresetWidget (QWidget *parent)
 
virtual ~FilterPresetWidget ()
 
void setFilter (FilterPtr filter)
 sets which filter to operate on More...
 
- Public Member Functions inherited from cx::PresetWidget
 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
 
- Public Member Functions inherited from cx::BaseWidget
 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)
 
CXFramewrapInFrame (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())
 
- Public Member Functions inherited from cx::OptimizedUpdateWidget
 OptimizedUpdateWidget (QWidget *parent=NULL)
 
virtual ~OptimizedUpdateWidget ()
 
void forcePrePaint ()
 

Additional Inherited Members

- Signals inherited from cx::PresetWidget
void presetSelected (QString name)
 
- Static Public Member Functions inherited from cx::BaseWidget
static QFrame * createHorizontalLine ()
 Creates a horizontal line which can be inserted into widgets. More...
 
- Protected Slots inherited from cx::PresetWidget
virtual void presetsBoxChangedSlot (const QString &)
 
- Protected Member Functions inherited from cx::PresetWidget
virtual void populateButtonLayout ()
 makes buttons based on the actions found in the actiongroup More...
 
void populatePresetList (QStringList list)
 populates the preset combobox More...
 
QString getNewPresetName (bool withoutSpaces)
 
- Protected Member Functions inherited from cx::BaseWidget
virtual void showEvent (QShowEvent *event)
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void prePaintEvent ()
 
virtual void paintEvent (QPaintEvent *event)
 
- Protected Attributes inherited from cx::PresetWidget
QActionGroup * mActionGroup
 contains all actions that will have buttons More...
 
PresetsPtr mPresets
 

Detailed Description

Date
Mar 18, 2013
Author
Janne Beate Bakeng, SINTEF

Definition at line 30 of file cxFilterPresetWidget.h.

Constructor & Destructor Documentation

cx::FilterPresetWidget::FilterPresetWidget ( QWidget *  parent)

Definition at line 20 of file cxFilterPresetWidget.cpp.

virtual cx::FilterPresetWidget::~FilterPresetWidget ( )
inlinevirtual

Definition at line 36 of file cxFilterPresetWidget.h.

Member Function Documentation

void cx::FilterPresetWidget::deleteSlot ( )
virtualslot

called when user tries to delete a filter preset

Definition at line 48 of file cxFilterPresetWidget.cpp.

void cx::FilterPresetWidget::saveSlot ( )
virtualslot

called when user tries to save a filter preset

Definition at line 35 of file cxFilterPresetWidget.cpp.

void cx::FilterPresetWidget::setFilter ( FilterPtr  filter)

sets which filter to operate on

Definition at line 24 of file cxFilterPresetWidget.cpp.


The documentation for this class was generated from the following files: