NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 53 of file cxTransferFunctionPresetWidget.h.

Constructor & Destructor Documentation

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

Definition at line 46 of file cxTransferFunctionPresetWidget.cpp.

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

Definition at line 60 of file cxTransferFunctionPresetWidget.h.

Member Function Documentation

void cx::TransferFunctionPresetWidget::deleteSlot ( )
virtualslot

Definition at line 154 of file cxTransferFunctionPresetWidget.cpp.

void cx::TransferFunctionPresetWidget::populatePresetListSlot ( )
virtualslot

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

Definition at line 95 of file cxTransferFunctionPresetWidget.cpp.

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

Definition at line 104 of file cxTransferFunctionPresetWidget.cpp.

void cx::TransferFunctionPresetWidget::resetSlot ( )
virtualslot

Definition at line 113 of file cxTransferFunctionPresetWidget.cpp.

void cx::TransferFunctionPresetWidget::saveSlot ( )
virtualslot

Definition at line 120 of file cxTransferFunctionPresetWidget.cpp.

void cx::TransferFunctionPresetWidget::toggleSlot ( )
slot

Definition at line 74 of file cxTransferFunctionPresetWidget.cpp.


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