Slicer
4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/Annotations/GUI/qSlicerAnnotationModulePropertyDialog.h>
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 () |
void | textChanged (const QString &) |
void | textChanged () |
void | textChanged (const QString &) |
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 More... | |
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 | TurnColorArrayToQColor (double *color, QColor &qcolor) |
static void | TurnQColorToColorArray (double *color, QColor &qcolor) |
Protected Member Functions | |
void | updateIDLabelText () |
update the ui.idLabel from the node with m_id More... | |
void | updateNameText () |
update the ui.nameLineEdit from the node with m_id More... | |
void | updateTypeLabelText () |
update the ui.typeLabel from the node with m_id More... | |
Definition at line 24 of file qSlicerAnnotationModulePropertyDialog.h.
qSlicerAnnotationModulePropertyDialog::qSlicerAnnotationModulePropertyDialog | ( | const char * | id, |
vtkSlicerAnnotationModuleLogic * | logic | ||
) |
qSlicerAnnotationModulePropertyDialog::~qSlicerAnnotationModulePropertyDialog | ( | ) |
qSlicerAnnotationModulePropertyDialog::qSlicerAnnotationModulePropertyDialog | ( | const char * | id, |
vtkSlicerAnnotationModuleLogic * | logic | ||
) |
qSlicerAnnotationModulePropertyDialog::~qSlicerAnnotationModulePropertyDialog | ( | ) |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
static |
|
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.
|
inline |
Definition at line 32 of file qSlicerAnnotationModulePropertyDialog.h.
|
inline |
Definition at line 32 of file qSlicerAnnotationModulePropertyDialogWIP.h.
|
signal |
|
protectedslot |
change the color on the hierarchy display node as well as on all display nodes for all children
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
change the glyph type for all annotations in this hierarchy
|
protectedslot |
reset the hierarchy point glyph combo box to default glyph type
|
protectedslot |
change point size for all annotations in this hierarchy
|
protectedslot |
reset the hierarchy point size slider to default value
|
protectedslot |
change the text size for all annotations in this hierarchy
|
protectedslot |
reset the hierarchy text scale slider to default value
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
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.
|
signal |
|
signal |
|
signal |
|
signal |
|
static |
|
static |
void qSlicerAnnotationModulePropertyDialog::undo | ( | vtkMRMLNode * | node | ) |
void qSlicerAnnotationModulePropertyDialog::Undo | ( | vtkMRMLNode * | node | ) |
void qSlicerAnnotationModulePropertyDialog::updateAllColorButton | ( | ) |
use the GetAllColor method and set the all color button
|
protected |
update the ui.idLabel from the node with m_id
void qSlicerAnnotationModulePropertyDialog::UpdateLockUnlockStatus | ( | bool | isLock | ) |
void qSlicerAnnotationModulePropertyDialog::updateLockUnlockStatus | ( | bool | isLock | ) |
|
protected |
update the ui.nameLineEdit from the node with m_id
void qSlicerAnnotationModulePropertyDialog::updateTextFromTable | ( | QString | text | ) |
void qSlicerAnnotationModulePropertyDialog::updateTextFromTable | ( | QString | text | ) |
|
protected |
update the ui.typeLabel from the node with m_id
void qSlicerAnnotationModulePropertyDialog::updateValue | ( | QString | valueString | ) |
void qSlicerAnnotationModulePropertyDialog::updateValue | ( | QString | valueString | ) |