GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
QGoColorCodingDialog Class Reference

This dialog asks the user to chose the way he wants its traces to be colorcoded. More...

#include <Code/GUI/lib/QGoColorCodingDialog.h>

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

Public Types

enum  ColorWay { Nothing, Default, Random, LUT }
 

Public Member Functions

 QGoColorCodingDialog (std::string iTraceName, bool iRandomIncluded, QWidget *iParent=0)
 Constructor. More...
 
virtual ~QGoColorCodingDialog ()
 Destructor. More...
 

Static Public Member Functions

static ColorWay GetColorWay (std::string iTraceName, vtkLookupTable **ioLUT, bool iRandomIncluded, QWidget *iiParent=0)
 get the way the user wants its traces to be colorcoded and the LUT if he chooses the LUT More...
 

Protected Slots

void OpenLUTDialog ()
 open tha QGoLUTDialog to let the user choose a LUT More...
 

Protected Member Functions

void SetUpUi (std::string iTraceName, bool iRandomIncluded)
 set the components of the widget and the connection More...
 

Protected Attributes

QRadioButton * m_DefaultButton
 
vtkLookupTable * m_LUT
 
QRadioButton * m_LUTButton
 
QRadioButton * m_RandomButton
 

Private Member Functions

 Q_DISABLE_COPY (QGoColorCodingDialog)
 

Detailed Description

This dialog asks the user to chose the way he wants its traces to be colorcoded.

Definition at line 50 of file QGoColorCodingDialog.h.

Member Enumeration Documentation

Enumerator
Nothing 
Default 
Random 
LUT 

Definition at line 65 of file QGoColorCodingDialog.h.

Constructor & Destructor Documentation

QGoColorCodingDialog::QGoColorCodingDialog ( std::string  iTraceName,
bool  iRandomIncluded,
QWidget *  iParent = 0 
)
explicit

Constructor.

Parameters
[in]iTraceNamename of the trace to be colorcoded
[in]iParentparent of the widget
[in]iRandomIncludedtrue if the random option needs to be included

Definition at line 39 of file QGoColorCodingDialog.cxx.

QGoColorCodingDialog::~QGoColorCodingDialog ( )
virtual

Destructor.

Definition at line 49 of file QGoColorCodingDialog.cxx.

Member Function Documentation

QGoColorCodingDialog::ColorWay QGoColorCodingDialog::GetColorWay ( std::string  iTraceName,
vtkLookupTable **  ioLUT,
bool  iRandomIncluded,
QWidget *  iiParent = 0 
)
static

get the way the user wants its traces to be colorcoded and the LUT if he chooses the LUT

Parameters
[in]iTraceNamename of the trace to be colorcoded
[in,out]ioLUTlookup table choosen by the user
[in]iiParentparent of the widget
[in]iRandomIncludedtrue if the random option needs to be included

Definition at line 105 of file QGoColorCodingDialog.cxx.

void QGoColorCodingDialog::OpenLUTDialog ( )
protectedslot

open tha QGoLUTDialog to let the user choose a LUT

Definition at line 56 of file QGoColorCodingDialog.cxx.

QGoColorCodingDialog::Q_DISABLE_COPY ( QGoColorCodingDialog  )
private
void QGoColorCodingDialog::SetUpUi ( std::string  iTraceName,
bool  iRandomIncluded 
)
protected

set the components of the widget and the connection

Parameters
[in]iTraceNamename of the trace to be colorcoded
[in]iRandomIncludedtrue if the random option needs to be included

Definition at line 69 of file QGoColorCodingDialog.cxx.

Member Data Documentation

QRadioButton* QGoColorCodingDialog::m_DefaultButton
protected

Definition at line 82 of file QGoColorCodingDialog.h.

vtkLookupTable* QGoColorCodingDialog::m_LUT
protected

Definition at line 85 of file QGoColorCodingDialog.h.

QRadioButton* QGoColorCodingDialog::m_LUTButton
protected

Definition at line 83 of file QGoColorCodingDialog.h.

QRadioButton* QGoColorCodingDialog::m_RandomButton
protected

Definition at line 84 of file QGoColorCodingDialog.h.


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