Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
qMRMLColorLegendDisplayNodeWidget Class Reference

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

Inheritance diagram for qMRMLColorLegendDisplayNodeWidget:
Collaboration diagram for qMRMLColorLegendDisplayNodeWidget:

Public Types

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

Public Slots

vtkMRMLColorLegendDisplayNodemrmlColorLegendDisplayNode ()
 Get color legend display node.
 
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.
 
void setMRMLScene (vtkMRMLScene *) override
 
- Public Slots inherited from qMRMLWidget
virtual void setMRMLScene (vtkMRMLScene *newScene)
 Set the MRML scene associated with the widget.
 

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.
 
 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.
 

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.
 
static Q_INVOKABLE void preInitializeApplication ()
 

Detailed Description

Definition at line 39 of file qMRMLColorLegendDisplayNodeWidget.h.

Member Typedef Documentation

◆ Superclass

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 80 of file qMRMLColorLegendDisplayNodeWidget.h.


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