21 #ifndef __qMRMLColorPickerWidget_h 22 #define __qMRMLColorPickerWidget_h 25 #include <QModelIndex> 29 #include "qMRMLWidgetsExport.h" 32 #include <ctkVTKObject.h> 34 class qMRMLColorPickerWidgetPrivate;
57 bool eventFilter(QObject* target, QEvent* event)
override;
61 void setCurrentColorNodeToDefault();
69 void colorEntrySelected(
int index);
72 void colorSelected(
const QColor& color);
76 void colorNameSelected(
const QString& name);
79 void onNodeAdded(vtkObject*, vtkObject*);
81 void onTextChanged(
const QString& colorText);
84 QScopedPointer<qMRMLColorPickerWidgetPrivate>
d_ptr;
MRML logic class for color manipulation.
A set of MRML Nodes that supports serialization and undo/redo.
Abstract MRML node to represent color information.
Abstract Superclass for all specific types of MRML nodes.