#include <Libs/Visualization/VTK/Widgets/ctkVTKScalarsToColorsComboBox.h>
|
QScopedPointer< ctkVTKScalarsToColorsComboBoxPrivate > | d_ptr |
|
QScopedPointer< ctkComboBoxPrivate > | d_ptr |
|
QComboBox linked to vtkScalarsToColors objects
Definition at line 37 of file ctkVTKScalarsToColorsComboBox.h.
◆ ctkVTKScalarsToColorsComboBox()
ctkVTKScalarsToColorsComboBox::ctkVTKScalarsToColorsComboBox |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
◆ ~ctkVTKScalarsToColorsComboBox()
virtual ctkVTKScalarsToColorsComboBox::~ctkVTKScalarsToColorsComboBox |
( |
| ) |
|
|
virtual |
◆ addScalarsToColors()
int ctkVTKScalarsToColorsComboBox::addScalarsToColors |
( |
vtkScalarsToColors * |
function, |
|
|
const QString & |
text = QString() |
|
) |
| |
Add scalars to colors function (of any type) to the combobox. Increment reference count of given function (if any) Returns the index of the added function.
◆ currentScalarsToColors()
vtkScalarsToColors* ctkVTKScalarsToColorsComboBox::currentScalarsToColors |
( |
| ) |
const |
Returns the currentScalarsToColors property value 0 if no item is selected
◆ currentScalarsToColorsChanged
void ctkVTKScalarsToColorsComboBox::currentScalarsToColorsChanged |
( |
vtkScalarsToColors * |
| ) |
|
|
signal |
Signal triggered when the current scalars to colors function changes.
◆ findScalarsToColors()
int ctkVTKScalarsToColorsComboBox::findScalarsToColors |
( |
vtkScalarsToColors * |
scalarsToColors | ) |
const |
Searches the combobox for the given scalarsToColors
- See also
- findText()
◆ getScalarsToColors()
vtkScalarsToColors* ctkVTKScalarsToColorsComboBox::getScalarsToColors |
( |
int |
index | ) |
const |
◆ onCurrentIndexChanged
void ctkVTKScalarsToColorsComboBox::onCurrentIndexChanged |
( |
int |
| ) |
|
|
protectedslot |
◆ onRowsAboutToBeRemoved
void ctkVTKScalarsToColorsComboBox::onRowsAboutToBeRemoved |
( |
const QModelIndex & |
parent, |
|
|
int |
first, |
|
|
int |
last |
|
) |
| |
|
protectedslot |
◆ removeScalarsToColors()
void ctkVTKScalarsToColorsComboBox::removeScalarsToColors |
( |
vtkScalarsToColors * |
scalarsToColors | ) |
|
◆ setCurrentScalarsToColors
void ctkVTKScalarsToColorsComboBox::setCurrentScalarsToColors |
( |
vtkScalarsToColors * |
scalarsToColors | ) |
|
|
slot |
◆ d_ptr
QScopedPointer<ctkVTKScalarsToColorsComboBoxPrivate> ctkVTKScalarsToColorsComboBox::d_ptr |
|
protected |
◆ currentScalarsToColors
vtkScalarsToColors* ctkVTKScalarsToColorsComboBox::currentScalarsToColors |
|
readwrite |
The documentation for this class was generated from the following file: