21#ifndef __ctkVTKScalarsToColorsComboBox_h
22#define __ctkVTKScalarsToColorsComboBox_h
26#include "ctkVisualizationVTKWidgetsExport.h"
29#include <vtkSmartPointer.h>
31class ctkVTKScalarsToColorsComboBoxPrivate;
32class vtkScalarsToColors;
46 Q_PROPERTY(vtkScalarsToColors* currentScalarsToColors
47 READ currentScalarsToColors WRITE setCurrentScalarsToColors
48 NOTIFY currentScalarsToColorsChanged);
85 QScopedPointer<ctkVTKScalarsToColorsComboBoxPrivate>
d_ptr;
ctkComboBox is an advanced QComboBox. It adds multiple features:
void onCurrentIndexChanged(int)
void setCurrentScalarsToColors(vtkScalarsToColors *scalarsToColors)
vtkScalarsToColors * currentScalarsToColors() const
int findScalarsToColors(vtkScalarsToColors *scalarsToColors) const
void currentScalarsToColorsChanged(vtkScalarsToColors *)
Signal triggered when the current scalars to colors function changes.
ctkVTKScalarsToColorsComboBox(QWidget *parent=0)
Constructors.
void onRowsAboutToBeRemoved(const QModelIndex &parent, int first, int last)
void removeScalarsToColors(vtkScalarsToColors *scalarsToColors)
virtual ~ctkVTKScalarsToColorsComboBox()
vtkScalarsToColors * getScalarsToColors(int index) const
int addScalarsToColors(vtkScalarsToColors *function, const QString &text=QString())
QScopedPointer< ctkVTKScalarsToColorsComboBoxPrivate > d_ptr