GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
QGoTraceEditingWidget Class Reference

#include <Code/GUI/lib/TraceEditing/QGoTraceEditingWidget.h>

Inheritance diagram for QGoTraceEditingWidget:
Inheritance graph
[legend]
Collaboration diagram for QGoTraceEditingWidget:
Collaboration graph
[legend]

Signals

void ResetClicked ()
 
void SetSeedInteractorBehaviour (bool enable)
 

Public Member Functions

void AddAlgoWidgetForAutomaticMode (QGoAlgorithmWidget *iAlgoWidget)
 
void AddAlgoWidgetForSemiAutomaticMode (QGoAlgorithmWidget *iAlgoWidget)
 
void AddMode (std::string iModeName, QWidget *iModeWidget, bool ModeNeedSeeds)
 add iModeWidget as a widget to be displayed when iModeName is selected in the combobox of m_ModeEditingWidget More...
 
void AddMode (QGoAlgorithmsManagerWidget *iAlgoModeWidget, bool ModeNeedSeeds)
 
void AddWidgetForManualMode (QWidget *iWidget, QStringList iListTimePoint, bool ModeNeedSeeds)
 
void CheckTheCurrentMode (bool IsVisible)
 check which mode is selected and if the seeds are needed or not and emit the corresponding signals based on the visibility of the widget More...
 
std::string GetCurrentImageName ()
 
std::string GetCurrentModeName ()
 return the name of the current mode in the combobox More...
 
bool GetIsInvertedOn ()
 
int GetSelectedTimePoint ()
 
 QGoTraceEditingWidget (std::string iTraceName, std::vector< QString > iVectChannels, QStringList iListTimePoints, QWidget *iParent=0)
 
void SetANewModesManager (QGoModesManagerWidget *iModeWidget)
 replace the existing m_ModeEditingWidget with iModeWidget: all the previous mode will be erased More...
 
void SetTSliceForClassicView (int iTimePoint)
 
void SetTSliceForDopplerView (QHash< QString, QColor > iListTimePoints, int iChannelNumber)
 
 ~QGoTraceEditingWidget ()
 

Protected Member Functions

void Initialize (std::vector< QString > iVectChannels, QStringList iListTimePoints, QWidget *iParent=0)
 
void SetModesManager (QGoModesManagerWidget *iModeWidget)
 

Protected Attributes

QStringList m_ListTimePoints
 
QGoModesManagerWidgetm_ModeEditingWidget
 
QVBoxLayout * m_VLayout
 

Detailed Description

Definition at line 48 of file QGoTraceEditingWidget.h.

Constructor & Destructor Documentation

QGoTraceEditingWidget::QGoTraceEditingWidget ( std::string  iTraceName,
std::vector< QString >  iVectChannels,
QStringList  iListTimePoints,
QWidget *  iParent = 0 
)
explicit

Definition at line 39 of file QGoTraceEditingWidget.cxx.

QGoTraceEditingWidget::~QGoTraceEditingWidget ( )

Definition at line 49 of file QGoTraceEditingWidget.cxx.

Member Function Documentation

void QGoTraceEditingWidget::AddAlgoWidgetForAutomaticMode ( QGoAlgorithmWidget iAlgoWidget)

Definition at line 128 of file QGoTraceEditingWidget.cxx.

void QGoTraceEditingWidget::AddAlgoWidgetForSemiAutomaticMode ( QGoAlgorithmWidget iAlgoWidget)

Definition at line 120 of file QGoTraceEditingWidget.cxx.

void QGoTraceEditingWidget::AddMode ( std::string  iModeName,
QWidget *  iModeWidget,
bool  ModeNeedSeeds 
)

add iModeWidget as a widget to be displayed when iModeName is selected in the combobox of m_ModeEditingWidget

Parameters
[in]iModeNamename of the mode corresponding to iModeWidget
[in]iModeWidgetWidget corresponding to iModeName

Definition at line 71 of file QGoTraceEditingWidget.cxx.

void QGoTraceEditingWidget::AddMode ( QGoAlgorithmsManagerWidget iAlgoModeWidget,
bool  ModeNeedSeeds 
)

Definition at line 85 of file QGoTraceEditingWidget.cxx.

void QGoTraceEditingWidget::AddWidgetForManualMode ( QWidget *  iWidget,
QStringList  iListTimePoint,
bool  ModeNeedSeeds 
)

Definition at line 136 of file QGoTraceEditingWidget.cxx.

void QGoTraceEditingWidget::CheckTheCurrentMode ( bool  IsVisible)

check which mode is selected and if the seeds are needed or not and emit the corresponding signals based on the visibility of the widget

Definition at line 166 of file QGoTraceEditingWidget.cxx.

std::string QGoTraceEditingWidget::GetCurrentImageName ( )

Definition at line 145 of file QGoTraceEditingWidget.cxx.

std::string QGoTraceEditingWidget::GetCurrentModeName ( )

return the name of the current mode in the combobox

Definition at line 197 of file QGoTraceEditingWidget.cxx.

bool QGoTraceEditingWidget::GetIsInvertedOn ( )

Definition at line 159 of file QGoTraceEditingWidget.cxx.

int QGoTraceEditingWidget::GetSelectedTimePoint ( )

Definition at line 152 of file QGoTraceEditingWidget.cxx.

void QGoTraceEditingWidget::Initialize ( std::vector< QString >  iVectChannels,
QStringList  iListTimePoints,
QWidget *  iParent = 0 
)
protected

Definition at line 55 of file QGoTraceEditingWidget.cxx.

void QGoTraceEditingWidget::ResetClicked ( )
signal
void QGoTraceEditingWidget::SetANewModesManager ( QGoModesManagerWidget iModeWidget)

replace the existing m_ModeEditingWidget with iModeWidget: all the previous mode will be erased

Parameters
[in]iModeWidgetmodes manager

Definition at line 112 of file QGoTraceEditingWidget.cxx.

void QGoTraceEditingWidget::SetModesManager ( QGoModesManagerWidget iModeWidget)
protected

Definition at line 94 of file QGoTraceEditingWidget.cxx.

void QGoTraceEditingWidget::SetSeedInteractorBehaviour ( bool  enable)
signal
void QGoTraceEditingWidget::SetTSliceForClassicView ( int  iTimePoint)

Definition at line 180 of file QGoTraceEditingWidget.cxx.

void QGoTraceEditingWidget::SetTSliceForDopplerView ( QHash< QString, QColor >  iListTimePoints,
int  iChannelNumber 
)

Definition at line 187 of file QGoTraceEditingWidget.cxx.

Member Data Documentation

QStringList QGoTraceEditingWidget::m_ListTimePoints
protected

Definition at line 111 of file QGoTraceEditingWidget.h.

QGoModesManagerWidget* QGoTraceEditingWidget::m_ModeEditingWidget
protected

Definition at line 109 of file QGoTraceEditingWidget.h.

QVBoxLayout* QGoTraceEditingWidget::m_VLayout
protected

Definition at line 110 of file QGoTraceEditingWidget.h.


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