pqVectorWidget is an abstract widget that can be used to edit a vector.
More...
#include <pqVectorWidget.h>
pqVectorWidget is an abstract widget that can be used to edit a vector.
Definition at line 17 of file pqVectorWidget.h.
◆ pqVectorWidget()
| pqVectorWidget::pqVectorWidget |
( |
const QVariant & |
value, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
◆ ~pqVectorWidget()
| pqVectorWidget::~pqVectorWidget |
( |
| ) |
|
|
overridedefault |
◆ value()
| const QVariant& pqVectorWidget::value |
( |
| ) |
const |
|
inline |
◆ valueChanged
| void pqVectorWidget::valueChanged |
( |
const QVariant & |
| ) |
|
|
signal |
Signal emitted when any component value changed.
◆ setValue
| virtual void pqVectorWidget::setValue |
( |
int |
index, |
|
|
float |
value |
|
) |
| |
|
pure virtualslot |
Set the value at index index of the QVariant with value.
Must be overidden to cast to the specialized QVariant.
Implemented in pqVectorWidgetImpl< T, S >.
◆ CreateUI()
| void pqVectorWidget::CreateUI |
( |
unsigned int |
nbElem | ) |
|
|
protected |
This function creates an horizontal layout with nbElem spinboxes.
◆ getValue()
| virtual float pqVectorWidget::getValue |
( |
int |
index | ) |
|
|
protectedpure virtual |
◆ Vector
| QVariant pqVectorWidget::Vector |
|
protected |
◆ value
| QVariant pqVectorWidget::value |
|
read |
The documentation for this class was generated from the following file: