Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Signals | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions
qSlicerAnnotationModulePropertyDialog Class Reference

#include <Modules/Loadable/Annotations/GUI/qSlicerAnnotationModulePropertyDialog.h>

Collaboration diagram for qSlicerAnnotationModulePropertyDialog:
Collaboration graph
[legend]

List of all members.

Signals

void colorPropertyChanged (QColor, char *, int)
void colorPropertyChanged (QColor, char *, int)
void coordinateChanged (QString, char *)
void coordinateChanged (QString, char *)
void coordinatesChanged (double *)
void dialogAccepted ()
void dialogAccepted ()
void dialogRejected ()
void dialogRejected ()
void doublePropertyChanged (double, char *, int)
void doublePropertyChanged (double, char *, int)
void itemChanged (QTableWidgetItem *)
void textChanged (const QString &)
void textChanged ()
void textChanged (const QString &)
void textChanged ()

Public Member Functions

void getAllColor (QColor &qcolor)
const char * GetID ()
const char * GetID ()
 qSlicerAnnotationModulePropertyDialog (const char *id, vtkSlicerAnnotationModuleLogic *logic)
 qSlicerAnnotationModulePropertyDialog (const char *id, vtkSlicerAnnotationModuleLogic *logic)
void SaveStateForUndo (vtkMRMLNode *node)
void saveStateForUndo (vtkMRMLNode *node)
void SetButtonText (int type)
void SetButtonText (int type)
void setColorOnAnnotationDisplayNodes (const char *id, QColor qcolor)
void Undo (vtkMRMLNode *node)
void undo (vtkMRMLNode *node)
void updateAllColorButton ()
 use the GetAllColor method and set the all color button
void UpdateLockUnlockStatus (bool isLock)
void updateLockUnlockStatus (bool isLock)
void updateTextFromTable (QString text)
void updateTextFromTable (QString text)
void updateValue (QString valueString)
void updateValue (QString valueString)
 ~qSlicerAnnotationModulePropertyDialog ()
 ~qSlicerAnnotationModulePropertyDialog ()

Static Public Member Functions

static void formatValueToChar (const char *format, std::vector< double > vv, QString &valueString)
static void FormatValueToChar (const char *format, std::vector< double > vv, QString &valueString)
static void toColor (const QColor &qcolor, double *color)
static void toQColor (const double *color, QColor &qcolor)
static void TurnColorArrayToQColor (double *color, QColor &qcolor)
static void TurnQColorToColorArray (double *color, QColor &qcolor)

Protected Slots

void onAllColorChanged (QColor qcolor)
void onCoordinateChanged (QString text)
void onCoordinateChanged (QString text)
void onDescriptionTextChanged ()
void onDialogAccepted ()
void onDialogAccepted ()
void onDialogRejected ()
void onDialogRejected ()
void onHierarchyPointGlyphChanged (QString value)
 change the glyph type for all annotations in this hierarchy
void onHierarchyPointGlyphTypeDefaultButtonClicked ()
 reset the hierarchy point glyph combo box to default glyph type
void onHierarchyPointSizeChanged (double value)
 change point size for all annotations in this hierarchy
void onHierarchyPointSizeDefaultButtonClicked ()
 reset the hierarchy point size slider to default value
void onHierarchyTextScaleChanged (double value)
 change the text size for all annotations in this hierarchy
void onHierarchyTextScaleDefaultButtonClicked ()
 reset the hierarchy text scale slider to default value
void onLineAmbientChanged (double value)
void onLineAmbientChanged (double value)
void onLineColorChanged (QColor qcolor)
void onLineColorChanged (QColor qcolor)
void onLineDiffuseChanged (double value)
void onLineDiffuseChanged (double value)
void onLineLabelPositionChanged (double value)
void onLineLabelPositionChanged (double value)
void onLineLabelVisibilityStateChanged (int state)
void onLineLabelVisibilityStateChanged (int state)
void onLineMaxTicksChanged (double value)
void onLineMaxTicksChanged (double value)
void onLineOpacityChanged (double value)
void onLineOpacityChanged (double value)
void onLineSelectedColorChanged (QColor qcolor)
void onLineSelectedColorChanged (QColor qcolor)
void onLineSpecularChanged (double value)
void onLineSpecularChanged (double value)
void onLineTickSpacingChanged ()
void onLineTickSpacingChanged ()
void onLineWidthChanged (double value)
void onLineWidthChanged (double value)
void onLockUnlockButtonClicked ()
void onLockUnlockButtonClicked ()
void onNameLineEditChanged ()
void onPointAmbientChanged (double value)
void onPointAmbientChanged (double value)
void onPointColorChanged (QColor qcolor)
void onPointColorChanged (QColor qcolor)
void onPointDiffuseChanged (double value)
void onPointDiffuseChanged (double value)
void onPointGlyphChanged (QString value)
void onPointGlyphChanged (QString value)
void onPointOpacityChanged (double value)
void onPointOpacityChanged (double value)
void onPointSelectedColorChanged (QColor qcolor)
void onPointSelectedColorChanged (QColor qcolor)
void onPointSizeChanged (double value)
void onPointSizeChanged (double value)
void onPointSpecularChanged (double value)
void onPointSpecularChanged (double value)
void onPointsTableWidgetChanged (QTableWidgetItem *tableItem)
void onRASCoordinatesChanged (double *coords)
void onSizeLargePushButtonClicked ()
void onSizeMediumPushButtonClicked ()
void onSizeSmallPushButtonClicked ()
void onTextChanged ()
void onTextChanged ()
void onTextOpacityChanged (double value)
void onTextOpacityChanged (double value)
void onTextScaleChanged (double value)
void onTextScaleChanged (double value)
void onTextSelectedColorChanged (QColor qcolor)
void onTextSelectedColorChanged (QColor qcolor)
void onTextUnselectedColorChanged (QColor qcolor)
void onTextUnselectedColorChanged (QColor qcolor)
void onVisibleInvisibleButtonClicked ()
void onVisibleInvisibleButtonClicked ()

Protected Member Functions

void updateIDLabelText ()
 update the ui.idLabel from the node with m_id
void updateNameText ()
 update the ui.nameLineEdit from the node with m_id
void updateTypeLabelText ()
 update the ui.typeLabel from the node with m_id

Detailed Description

Definition at line 24 of file qSlicerAnnotationModulePropertyDialog.h.


Constructor & Destructor Documentation

qSlicerAnnotationModulePropertyDialog::qSlicerAnnotationModulePropertyDialog ( const char *  id,
vtkSlicerAnnotationModuleLogic logic 
)
qSlicerAnnotationModulePropertyDialog::~qSlicerAnnotationModulePropertyDialog ( )
qSlicerAnnotationModulePropertyDialog::qSlicerAnnotationModulePropertyDialog ( const char *  id,
vtkSlicerAnnotationModuleLogic logic 
)
qSlicerAnnotationModulePropertyDialog::~qSlicerAnnotationModulePropertyDialog ( )

Member Function Documentation

void qSlicerAnnotationModulePropertyDialog::colorPropertyChanged ( QColor  ,
char *  ,
int   
) [signal]
void qSlicerAnnotationModulePropertyDialog::colorPropertyChanged ( QColor  ,
char *  ,
int   
) [signal]
void qSlicerAnnotationModulePropertyDialog::coordinateChanged ( QString  ,
char *   
) [signal]
void qSlicerAnnotationModulePropertyDialog::coordinateChanged ( QString  ,
char *   
) [signal]
void qSlicerAnnotationModulePropertyDialog::coordinatesChanged ( double *  ) [signal]
void qSlicerAnnotationModulePropertyDialog::dialogAccepted ( ) [signal]
void qSlicerAnnotationModulePropertyDialog::dialogAccepted ( ) [signal]
void qSlicerAnnotationModulePropertyDialog::dialogRejected ( ) [signal]
void qSlicerAnnotationModulePropertyDialog::dialogRejected ( ) [signal]
void qSlicerAnnotationModulePropertyDialog::doublePropertyChanged ( double  ,
char *  ,
int   
) [signal]
void qSlicerAnnotationModulePropertyDialog::doublePropertyChanged ( double  ,
char *  ,
int   
) [signal]
static void qSlicerAnnotationModulePropertyDialog::FormatValueToChar ( const char *  format,
std::vector< double >  vv,
QString &  valueString 
) [static]
static void qSlicerAnnotationModulePropertyDialog::formatValueToChar ( const char *  format,
std::vector< double >  vv,
QString &  valueString 
) [static]
void qSlicerAnnotationModulePropertyDialog::getAllColor ( QColor &  qcolor)

for the current m_id node, if all display nodes have the same unselected colour, return it, otherwise return black.

const char* qSlicerAnnotationModulePropertyDialog::GetID ( ) [inline]

Definition at line 32 of file qSlicerAnnotationModulePropertyDialogWIP.h.

const char* qSlicerAnnotationModulePropertyDialog::GetID ( ) [inline]

Definition at line 32 of file qSlicerAnnotationModulePropertyDialog.h.

void qSlicerAnnotationModulePropertyDialog::itemChanged ( QTableWidgetItem *  ) [signal]
void qSlicerAnnotationModulePropertyDialog::onAllColorChanged ( QColor  qcolor) [protected, slot]

change the color on the hierarchy display node as well as on all display nodes for all children

void qSlicerAnnotationModulePropertyDialog::onCoordinateChanged ( QString  text) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onCoordinateChanged ( QString  text) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onDescriptionTextChanged ( ) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onDialogAccepted ( ) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onDialogAccepted ( ) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onDialogRejected ( ) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onDialogRejected ( ) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onHierarchyPointGlyphChanged ( QString  value) [protected, slot]

change the glyph type for all annotations in this hierarchy

void qSlicerAnnotationModulePropertyDialog::onHierarchyPointGlyphTypeDefaultButtonClicked ( ) [protected, slot]

reset the hierarchy point glyph combo box to default glyph type

void qSlicerAnnotationModulePropertyDialog::onHierarchyPointSizeChanged ( double  value) [protected, slot]

change point size for all annotations in this hierarchy

void qSlicerAnnotationModulePropertyDialog::onHierarchyPointSizeDefaultButtonClicked ( ) [protected, slot]

reset the hierarchy point size slider to default value

void qSlicerAnnotationModulePropertyDialog::onHierarchyTextScaleChanged ( double  value) [protected, slot]

change the text size for all annotations in this hierarchy

void qSlicerAnnotationModulePropertyDialog::onHierarchyTextScaleDefaultButtonClicked ( ) [protected, slot]

reset the hierarchy text scale slider to default value

void qSlicerAnnotationModulePropertyDialog::onLineAmbientChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineAmbientChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineColorChanged ( QColor  qcolor) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineColorChanged ( QColor  qcolor) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineDiffuseChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineDiffuseChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineLabelPositionChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineLabelPositionChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineLabelVisibilityStateChanged ( int  state) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineLabelVisibilityStateChanged ( int  state) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineMaxTicksChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineMaxTicksChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineOpacityChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineOpacityChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineSelectedColorChanged ( QColor  qcolor) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineSelectedColorChanged ( QColor  qcolor) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineSpecularChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineSpecularChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineTickSpacingChanged ( ) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineTickSpacingChanged ( ) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineWidthChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLineWidthChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLockUnlockButtonClicked ( ) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onLockUnlockButtonClicked ( ) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onNameLineEditChanged ( ) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onPointAmbientChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onPointAmbientChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onPointColorChanged ( QColor  qcolor) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onPointColorChanged ( QColor  qcolor) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onPointDiffuseChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onPointDiffuseChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onPointGlyphChanged ( QString  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onPointGlyphChanged ( QString  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onPointOpacityChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onPointOpacityChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onPointSelectedColorChanged ( QColor  qcolor) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onPointSelectedColorChanged ( QColor  qcolor) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onPointSizeChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onPointSizeChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onPointSpecularChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onPointSpecularChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onPointsTableWidgetChanged ( QTableWidgetItem *  tableItem) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onRASCoordinatesChanged ( double *  coords) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onSizeLargePushButtonClicked ( ) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onSizeMediumPushButtonClicked ( ) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onSizeSmallPushButtonClicked ( ) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onTextChanged ( ) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onTextChanged ( ) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onTextOpacityChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onTextOpacityChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onTextScaleChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onTextScaleChanged ( double  value) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onTextSelectedColorChanged ( QColor  qcolor) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onTextSelectedColorChanged ( QColor  qcolor) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onTextUnselectedColorChanged ( QColor  qcolor) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onTextUnselectedColorChanged ( QColor  qcolor) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onVisibleInvisibleButtonClicked ( ) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::onVisibleInvisibleButtonClicked ( ) [protected, slot]
void qSlicerAnnotationModulePropertyDialog::SaveStateForUndo ( vtkMRMLNode node)
void qSlicerAnnotationModulePropertyDialog::saveStateForUndo ( vtkMRMLNode node)
void qSlicerAnnotationModulePropertyDialog::SetButtonText ( int  type)
void qSlicerAnnotationModulePropertyDialog::SetButtonText ( int  type)
void qSlicerAnnotationModulePropertyDialog::setColorOnAnnotationDisplayNodes ( const char *  id,
QColor  qcolor 
)

look for the annotation display nodes for the node with id and set the unselected color on each one. If it's the currently displayed node, update the buttons as well.

void qSlicerAnnotationModulePropertyDialog::textChanged ( const QString &  ) [signal]
void qSlicerAnnotationModulePropertyDialog::textChanged ( ) [signal]
void qSlicerAnnotationModulePropertyDialog::textChanged ( const QString &  ) [signal]
void qSlicerAnnotationModulePropertyDialog::textChanged ( ) [signal]
static void qSlicerAnnotationModulePropertyDialog::toColor ( const QColor &  qcolor,
double *  color 
) [static]
static void qSlicerAnnotationModulePropertyDialog::toQColor ( const double *  color,
QColor &  qcolor 
) [static]
static void qSlicerAnnotationModulePropertyDialog::TurnColorArrayToQColor ( double *  color,
QColor &  qcolor 
) [static]
static void qSlicerAnnotationModulePropertyDialog::TurnQColorToColorArray ( double *  color,
QColor &  qcolor 
) [static]
void qSlicerAnnotationModulePropertyDialog::undo ( vtkMRMLNode node)
void qSlicerAnnotationModulePropertyDialog::Undo ( vtkMRMLNode node)
void qSlicerAnnotationModulePropertyDialog::updateAllColorButton ( )

use the GetAllColor method and set the all color button

void qSlicerAnnotationModulePropertyDialog::updateIDLabelText ( ) [protected]

update the ui.idLabel from the node with m_id

void qSlicerAnnotationModulePropertyDialog::UpdateLockUnlockStatus ( bool  isLock)
void qSlicerAnnotationModulePropertyDialog::updateLockUnlockStatus ( bool  isLock)
void qSlicerAnnotationModulePropertyDialog::updateNameText ( ) [protected]

update the ui.nameLineEdit from the node with m_id

void qSlicerAnnotationModulePropertyDialog::updateTextFromTable ( QString  text)
void qSlicerAnnotationModulePropertyDialog::updateTextFromTable ( QString  text)
void qSlicerAnnotationModulePropertyDialog::updateTypeLabelText ( ) [protected]

update the ui.typeLabel from the node with m_id

void qSlicerAnnotationModulePropertyDialog::updateValue ( QString  valueString)
void qSlicerAnnotationModulePropertyDialog::updateValue ( QString  valueString)

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines