Slicer  5.3
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Slots | Public Member Functions | Protected Slots | Protected Attributes
qMRMLColorLegendDisplayNodeWidget Class Reference

#include <Modules/Loadable/Colors/Widgets/qMRMLColorLegendDisplayNodeWidget.h>

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

Public Types

typedef qMRMLWidget Superclass
 
- Public Types inherited from qMRMLWidget
typedef QWidget Superclass
 

Public Slots

vtkMRMLColorLegendDisplayNodemrmlColorLegendDisplayNode ()
 Get color legend display node. More...
 
void onColorLegendVisibilityToggled (bool)
 
void onLabelFormatChanged (const QString &)
 
void onMaximumNumberOfColorsChanged (int)
 
void onNumberOfLabelsChanged (int)
 
void onTitleTextChanged (const QString &)
 
void setMRMLColorLegendDisplayNode (vtkMRMLColorLegendDisplayNode *node)
 
void setMRMLColorLegendDisplayNode (vtkMRMLNode *node)
 Utility function to be connected with generic signals. More...
 
void setMRMLScene (vtkMRMLScene *) override
 
- Public Slots inherited from qMRMLWidget
virtual void setMRMLScene (vtkMRMLScene *newScene)
 Set the MRML scene associated with the widget. More...
 

Public Member Functions

 qMRMLColorLegendDisplayNodeWidget (QWidget *parent=0)
 
 ~qMRMLColorLegendDisplayNodeWidget () override
 
- Public Member Functions inherited from qMRMLWidget
Q_INVOKABLE vtkMRMLScenemrmlScene () const
 Return a pointer on the current MRML scene. More...
 
 qMRMLWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 
 ~qMRMLWidget () override
 

Protected Slots

void onColorLegendOrientationButtonClicked (QAbstractButton *)
 
void onLabelTextButtonClicked (QAbstractButton *)
 
void onPositionChanged ()
 
void onSizeChanged ()
 
void updateWidgetFromMRML ()
 Update widget GUI from color legend parameters node. More...
 

Protected Attributes

QScopedPointer< qMRMLColorLegendDisplayNodeWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qMRMLWidget
QScopedPointer< qMRMLWidgetPrivate > d_ptr
 

Additional Inherited Members

- Signals inherited from qMRMLWidget
void mrmlSceneChanged (vtkMRMLScene *)
 
- Static Public Member Functions inherited from qMRMLWidget
static Q_INVOKABLE QPixmap pixmapFromIcon (const QIcon &icon)
 
static Q_INVOKABLE void postInitializeApplication ()
 Initialization that needs to be performed after application object is created. More...
 
static Q_INVOKABLE void preInitializeApplication ()
 

Detailed Description

Definition at line 40 of file qMRMLColorLegendDisplayNodeWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 47 of file qMRMLColorLegendDisplayNodeWidget.h.

Constructor & Destructor Documentation

◆ qMRMLColorLegendDisplayNodeWidget()

qMRMLColorLegendDisplayNodeWidget::qMRMLColorLegendDisplayNodeWidget ( QWidget *  parent = 0)
explicit

◆ ~qMRMLColorLegendDisplayNodeWidget()

qMRMLColorLegendDisplayNodeWidget::~qMRMLColorLegendDisplayNodeWidget ( )
override

Member Function Documentation

◆ mrmlColorLegendDisplayNode

vtkMRMLColorLegendDisplayNode* qMRMLColorLegendDisplayNodeWidget::mrmlColorLegendDisplayNode ( )
slot

Get color legend display node.

◆ onColorLegendOrientationButtonClicked

void qMRMLColorLegendDisplayNodeWidget::onColorLegendOrientationButtonClicked ( QAbstractButton *  )
protectedslot

◆ onColorLegendVisibilityToggled

void qMRMLColorLegendDisplayNodeWidget::onColorLegendVisibilityToggled ( bool  )
slot

◆ onLabelFormatChanged

void qMRMLColorLegendDisplayNodeWidget::onLabelFormatChanged ( const QString &  )
slot

◆ onLabelTextButtonClicked

void qMRMLColorLegendDisplayNodeWidget::onLabelTextButtonClicked ( QAbstractButton *  )
protectedslot

◆ onMaximumNumberOfColorsChanged

void qMRMLColorLegendDisplayNodeWidget::onMaximumNumberOfColorsChanged ( int  )
slot

◆ onNumberOfLabelsChanged

void qMRMLColorLegendDisplayNodeWidget::onNumberOfLabelsChanged ( int  )
slot

◆ onPositionChanged

void qMRMLColorLegendDisplayNodeWidget::onPositionChanged ( )
protectedslot

◆ onSizeChanged

void qMRMLColorLegendDisplayNodeWidget::onSizeChanged ( )
protectedslot

◆ onTitleTextChanged

void qMRMLColorLegendDisplayNodeWidget::onTitleTextChanged ( const QString &  )
slot

◆ setMRMLColorLegendDisplayNode [1/2]

void qMRMLColorLegendDisplayNodeWidget::setMRMLColorLegendDisplayNode ( vtkMRMLColorLegendDisplayNode node)
slot

Set ColorLegendDisplay MRML node (Parameter node) Set color legend display node

◆ setMRMLColorLegendDisplayNode [2/2]

void qMRMLColorLegendDisplayNodeWidget::setMRMLColorLegendDisplayNode ( vtkMRMLNode node)
slot

Utility function to be connected with generic signals.

◆ setMRMLScene

void qMRMLColorLegendDisplayNodeWidget::setMRMLScene ( vtkMRMLScene )
overrideslot

◆ updateWidgetFromMRML

void qMRMLColorLegendDisplayNodeWidget::updateWidgetFromMRML ( )
protectedslot

Update widget GUI from color legend parameters node.

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLColorLegendDisplayNodeWidgetPrivate> qMRMLColorLegendDisplayNodeWidget::d_ptr
protected

Definition at line 81 of file qMRMLColorLegendDisplayNodeWidget.h.


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