18 #ifndef __qMRMLColorLegendDisplayNodeWidget_h 19 #define __qMRMLColorLegendDisplayNodeWidget_h 29 #include <ctkVTKObject.h> 32 #include "qSlicerColorsModuleWidgetsExport.h" 36 class qMRMLColorLegendDisplayNodeWidgetPrivate;
37 class QAbstractButton;
59 void setMRMLColorLegendDisplayNode(
vtkMRMLNode* node);
61 void onColorLegendVisibilityToggled(
bool);
63 void onTitleTextChanged(
const QString&);
65 void onLabelFormatChanged(
const QString&);
67 void onMaximumNumberOfColorsChanged(
int);
68 void onNumberOfLabelsChanged(
int);
72 void updateWidgetFromMRML();
74 void onColorLegendOrientationButtonClicked(QAbstractButton*);
75 void onLabelTextButtonClicked(QAbstractButton*);
76 void onPositionChanged();
81 QScopedPointer<qMRMLColorLegendDisplayNodeWidgetPrivate>
d_ptr;
A set of MRML Nodes that supports serialization and undo/redo.
Abstract Superclass for all specific types of MRML nodes.
Class describing how to display a color legend.