NorMIT-nav  22.09
An IGT application
cx::TransferFunctionPresetWidget Class Reference

#include <cxTransferFunctionPresetWidget.h>

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

Public Slots

virtual void resetSlot ()
 
virtual void saveSlot ()
 
virtual void deleteSlot ()
 
virtual void populatePresetListSlot ()
 Fill the preset list with the available presets (matching active images modality) More...
 
void presetsBoxChangedSlot (const QString &presetName)
 
void toggleSlot ()
 
- 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

 TransferFunctionPresetWidget (PatientModelServicePtr patientModelService, QWidget *parent, bool is3D)
 
virtual ~TransferFunctionPresetWidget ()
 
- 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

Definition at line 32 of file cxTransferFunctionPresetWidget.h.

Constructor & Destructor Documentation

◆ TransferFunctionPresetWidget()

cx::TransferFunctionPresetWidget::TransferFunctionPresetWidget ( PatientModelServicePtr  patientModelService,
QWidget *  parent,
bool  is3D 
)

Definition at line 26 of file cxTransferFunctionPresetWidget.cpp.

◆ ~TransferFunctionPresetWidget()

virtual cx::TransferFunctionPresetWidget::~TransferFunctionPresetWidget ( )
inlinevirtual

Definition at line 39 of file cxTransferFunctionPresetWidget.h.

Member Function Documentation

◆ deleteSlot

void cx::TransferFunctionPresetWidget::deleteSlot ( )
virtualslot

Definition at line 134 of file cxTransferFunctionPresetWidget.cpp.

◆ populatePresetListSlot

void cx::TransferFunctionPresetWidget::populatePresetListSlot ( )
virtualslot

Fill the preset list with the available presets (matching active images modality)

Definition at line 75 of file cxTransferFunctionPresetWidget.cpp.

◆ presetsBoxChangedSlot

void cx::TransferFunctionPresetWidget::presetsBoxChangedSlot ( const QString &  presetName)
slot

Definition at line 84 of file cxTransferFunctionPresetWidget.cpp.

◆ resetSlot

void cx::TransferFunctionPresetWidget::resetSlot ( )
virtualslot

Definition at line 93 of file cxTransferFunctionPresetWidget.cpp.

◆ saveSlot

void cx::TransferFunctionPresetWidget::saveSlot ( )
virtualslot

Definition at line 100 of file cxTransferFunctionPresetWidget.cpp.

◆ toggleSlot

void cx::TransferFunctionPresetWidget::toggleSlot ( )
slot

Definition at line 54 of file cxTransferFunctionPresetWidget.cpp.


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