qSlicermiAnnotationModuleAnnotationPropertyDialog Class Reference

#include <qSlicermiAnnotationModuleAnnotationPropertyDialog.h>

Inheritance diagram for qSlicermiAnnotationModuleAnnotationPropertyDialog:
QDialog

List of all members.

Signals

void colorPropertyChanged (QColor, char *, int)
void coordinateChanged (QString, char *)
void dialogAccepted (char *, QString)
void dialogRejected (char *)
void doublePropertyChanged (double, char *, int)
void textChanged (QString text, char *)

Public Member Functions

void Initialize (vtkMRMLNode *node)
 qSlicermiAnnotationModuleAnnotationPropertyDialog (vtkMRMLNode *node, vtkSlicermiAnnotationModuleLogic *logic)
void SaveStateForUndo (vtkMRMLNode *node)
void SetButtonText (int type)
void Undo (vtkMRMLNode *node)
void updateCoordinates (double *pos, int id)
void UpdateLockUnlockStatus (bool isLock)
void updateTextFromTable (QString text)
void updateValue (QString valueString)
 ~qSlicermiAnnotationModuleAnnotationPropertyDialog ()

Static Public Member Functions

static void FormatValueToChar (const char *format, double value, QString &valueString)
static void TurnColorArrayToQColor (double *color, QColor &qcolor)
static void TurnQColorToColorArray (double *color, QColor &qcolor)

Protected Slots

void onCoordinateChanged (QString text)
void onDialogAccepted ()
void onDialogRejected ()
void onLineAmbientChanged (double value)
void onLineColorChanged (QColor qcolor)
void onLineDiffuseChanged (double value)
void onLineOpacityChanged (double value)
void onLineSelectedColorChanged (QColor qcolor)
void onLineSpecularChanged (double value)
void onLineWidthChanged (double value)
void onPointAmbientChanged (double value)
void onPointColorChanged (QColor qcolor)
void onPointDiffuseChanged (double value)
void onPointOpacityChanged (double value)
void onPointSelectedColorChanged (QColor qcolor)
void onPointSizeChanged (double value)
void onPointSpecularChanged (double value)
void onTextChanged ()
void onTextColorChanged (QColor qcolor)
void onTextScaleChanged (double value)
void onTextSelectedColorChanged (QColor qcolor)

Private Member Functions

void createConnection ()
void SaveAnnotationNode (vtkMRMLAnnotationNode *node)
void SaveControlPoints (vtkMRMLAnnotationControlPointsNode *node)
void SaveLinesNode (vtkMRMLAnnotationLinesNode *node)
void UndoAnnotationNode (vtkMRMLAnnotationNode *node)
void UndoControlPoints (vtkMRMLAnnotationControlPointsNode *node)
void UndoLinesNode (vtkMRMLAnnotationLinesNode *node)

Private Attributes

vtkMRMLAnnotationAngleNodem_angleCopy
QGridLayout * m_gridLayout
bool m_isUpdated
vtkMRMLAnnotationLineDisplayNodem_lineDispCopy
QVector< QLineEdit * > m_lineEditList
vtkSlicermiAnnotationModuleLogicm_logic
charm_nodeId
vtkMRMLAnnotationPointDisplayNodem_pointDispCopy
vtkMRMLAnnotationRulerNodem_rulerCopy
vtkMRMLAnnotationDisplayNodem_textDispCopy
Ui::qSlicermiAnnotationModuleAnnotationPropertyDialog ui

Constructor & Destructor Documentation

qSlicermiAnnotationModuleAnnotationPropertyDialog::qSlicermiAnnotationModuleAnnotationPropertyDialog ( vtkMRMLNode node,
vtkSlicermiAnnotationModuleLogic logic 
)
qSlicermiAnnotationModuleAnnotationPropertyDialog::~qSlicermiAnnotationModuleAnnotationPropertyDialog (  ) 

Member Function Documentation

void qSlicermiAnnotationModuleAnnotationPropertyDialog::colorPropertyChanged ( QColor  ,
char ,
int   
) [signal]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::coordinateChanged ( QString  ,
char  
) [signal]

Referenced by onCoordinateChanged().

void qSlicermiAnnotationModuleAnnotationPropertyDialog::createConnection (  )  [private]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::dialogAccepted ( char ,
QString   
) [signal]

Referenced by onDialogAccepted().

void qSlicermiAnnotationModuleAnnotationPropertyDialog::dialogRejected ( char  )  [signal]

Referenced by onDialogRejected().

void qSlicermiAnnotationModuleAnnotationPropertyDialog::doublePropertyChanged ( double  ,
char ,
int   
) [signal]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::FormatValueToChar ( const char format,
double  value,
QString valueString 
) [static]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::Initialize ( vtkMRMLNode node  ) 

References connect(), vtkSlicermiAnnotationModuleLogic::GetAnnotationControlPointsCoordinate(), vtkSlicermiAnnotationModuleLogic::GetAnnotationLinesPropertiesColor(), vtkSlicermiAnnotationModuleLogic::GetAnnotationLinesPropertiesDouble(), vtkSlicermiAnnotationModuleLogic::GetAnnotationMeasurement(), vtkSlicermiAnnotationModuleLogic::GetAnnotationTextFormatProperty(), vtkSlicermiAnnotationModuleLogic::GetAnnotationTextProperty(), vtkSlicermiAnnotationModuleLogic::GetIconName(), vtkSlicermiAnnotationModuleLogic::GetNumberOfControlPoints(), slicerget::id, vtkSlicermiAnnotationModuleLogic::LINE_AMBIENT, vtkSlicermiAnnotationModuleLogic::LINE_COLOR, vtkSlicermiAnnotationModuleLogic::LINE_DIFFUSE, vtkSlicermiAnnotationModuleLogic::LINE_OPACITY, vtkSlicermiAnnotationModuleLogic::LINE_SELECTED_COLOR, vtkSlicermiAnnotationModuleLogic::LINE_SPECULAR, vtkSlicermiAnnotationModuleLogic::LINE_WIDTH, m_gridLayout, m_lineEditList, m_logic, onCoordinateChanged(), vtkSlicermiAnnotationModuleLogic::POINT_AMBIENT, vtkSlicermiAnnotationModuleLogic::POINT_COLOR, vtkSlicermiAnnotationModuleLogic::POINT_DIFFUSE, vtkSlicermiAnnotationModuleLogic::POINT_OPACITY, vtkSlicermiAnnotationModuleLogic::POINT_SELECTED_COLOR, vtkSlicermiAnnotationModuleLogic::POINT_SPECULAR, SaveStateForUndo(), vtkSlicermiAnnotationModuleLogic::TEXT_COLOR, vtkSlicermiAnnotationModuleLogic::TEXT_SCALE, vtkSlicermiAnnotationModuleLogic::TEXT_SELECTED_COLOR, textChanged(), TurnColorArrayToQColor(), and ui.

Referenced by qSlicermiAnnotationModuleAnnotationPropertyDialog().

void qSlicermiAnnotationModuleAnnotationPropertyDialog::onCoordinateChanged ( QString  text  )  [protected, slot]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::onDialogAccepted (  )  [protected, slot]

References dialogAccepted(), m_nodeId, and ui.

Referenced by createConnection().

void qSlicermiAnnotationModuleAnnotationPropertyDialog::onDialogRejected (  )  [protected, slot]

References dialogRejected(), m_logic, m_nodeId, and Undo().

Referenced by createConnection().

void qSlicermiAnnotationModuleAnnotationPropertyDialog::onLineAmbientChanged ( double  value  )  [protected, slot]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::onLineColorChanged ( QColor  qcolor  )  [protected, slot]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::onLineDiffuseChanged ( double  value  )  [protected, slot]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::onLineOpacityChanged ( double  value  )  [protected, slot]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::onLineSelectedColorChanged ( QColor  qcolor  )  [protected, slot]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::onLineSpecularChanged ( double  value  )  [protected, slot]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::onLineWidthChanged ( double  value  )  [protected, slot]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::onPointAmbientChanged ( double  value  )  [protected, slot]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::onPointColorChanged ( QColor  qcolor  )  [protected, slot]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::onPointDiffuseChanged ( double  value  )  [protected, slot]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::onPointOpacityChanged ( double  value  )  [protected, slot]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::onPointSelectedColorChanged ( QColor  qcolor  )  [protected, slot]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::onPointSizeChanged ( double  value  )  [protected, slot]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::onPointSpecularChanged ( double  value  )  [protected, slot]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::onTextChanged (  )  [protected, slot]

References m_nodeId, textChanged(), and ui.

Referenced by createConnection().

void qSlicermiAnnotationModuleAnnotationPropertyDialog::onTextColorChanged ( QColor  qcolor  )  [protected, slot]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::onTextScaleChanged ( double  value  )  [protected, slot]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::onTextSelectedColorChanged ( QColor  qcolor  )  [protected, slot]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::SaveAnnotationNode ( vtkMRMLAnnotationNode node  )  [private]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::SaveControlPoints ( vtkMRMLAnnotationControlPointsNode node  )  [private]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::SaveLinesNode ( vtkMRMLAnnotationLinesNode node  )  [private]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::SaveStateForUndo ( vtkMRMLNode node  ) 
void qSlicermiAnnotationModuleAnnotationPropertyDialog::SetButtonText ( int  type  ) 
void qSlicermiAnnotationModuleAnnotationPropertyDialog::textChanged ( QString  text,
char  
) [signal]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::TurnColorArrayToQColor ( double *  color,
QColor &  qcolor 
) [static]

Referenced by Initialize().

void qSlicermiAnnotationModuleAnnotationPropertyDialog::TurnQColorToColorArray ( double *  color,
QColor &  qcolor 
) [static]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::Undo ( vtkMRMLNode node  ) 
void qSlicermiAnnotationModuleAnnotationPropertyDialog::UndoAnnotationNode ( vtkMRMLAnnotationNode node  )  [private]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::UndoControlPoints ( vtkMRMLAnnotationControlPointsNode node  )  [private]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::UndoLinesNode ( vtkMRMLAnnotationLinesNode node  )  [private]
void qSlicermiAnnotationModuleAnnotationPropertyDialog::updateCoordinates ( double *  pos,
int  id 
)
void qSlicermiAnnotationModuleAnnotationPropertyDialog::UpdateLockUnlockStatus ( bool  isLock  ) 
void qSlicermiAnnotationModuleAnnotationPropertyDialog::updateTextFromTable ( QString  text  ) 
void qSlicermiAnnotationModuleAnnotationPropertyDialog::updateValue ( QString  valueString  ) 

Member Data Documentation

Ui::qSlicermiAnnotationModuleAnnotationPropertyDialog qSlicermiAnnotationModuleAnnotationPropertyDialog::ui [private]

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

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1