21 #ifndef __qMRMLColorTableView_h 22 #define __qMRMLColorTableView_h 26 #include <QItemDelegate> 29 #include "qMRMLWidgetsExport.h" 31 class QSortFilterProxyModel;
32 class qMRMLColorTableViewPrivate;
46 Q_PROPERTY(
bool showOnlyNamedColors READ showOnlyNamedColors WRITE setShowOnlyNamedColors)
53 QSortFilterProxyModel* sortFilterProxyModel()
const;
57 int rowFromColorName(
const QString& colorName)
const;
60 int rowFromColorIndex(
int colorIndex)
const;
62 bool showOnlyNamedColors()
const;
69 void setShowOnlyNamedColors(
bool);
72 QScopedPointer<qMRMLColorTableViewPrivate>
d_ptr;
QScopedPointer< qMRMLColorTableViewPrivate > d_ptr
Abstract MRML node to represent color information.
Table view for color table nodes. Edition of color (opening dialog) and opacity (slider popup) is han...
Abstract Superclass for all specific types of MRML nodes.