21#ifndef __qMRMLColorListView_h
22#define __qMRMLColorListView_h
28#include "qMRMLWidgetsExport.h"
30class QSortFilterProxyModel;
31class qMRMLColorListViewPrivate;
39 Q_PROPERTY(
bool showOnlyNamedColors READ showOnlyNamedColors WRITE setShowOnlyNamedColors)
68 QScopedPointer<qMRMLColorListViewPrivate>
d_ptr;
bool showOnlyNamedColors() const
void colorSelected(const QString &name)
~qMRMLColorListView() override
qMRMLColorModel * colorModel() const
void setMRMLColorNode(vtkMRMLNode *colorNode)
Utility function to simply connect signals/slots with Qt Designer.
void currentChanged(const QModelIndex &, const QModelIndex &) override
vtkMRMLColorNode * mrmlColorNode() const
void setShowOnlyNamedColors(bool)
qMRMLColorListView(QWidget *parent=nullptr)
QSortFilterProxyModel * sortFilterProxyModel() const
void colorSelected(int index)
QScopedPointer< qMRMLColorListViewPrivate > d_ptr
void setMRMLColorNode(vtkMRMLColorNode *colorNode)
void colorSelected(const QColor &color)
Abstract MRML node to represent color information.
Abstract Superclass for all specific types of MRML nodes.