pqVectorWidgetImpl is a templated class inherited from pqVectorWidget to be used with QVector classes or QQuaternion. More...
#include <pqVectorWidget.h>
Public Member Functions | |
pqVectorWidgetImpl (const T &value, QWidget *parent=nullptr) | |
T | value () const |
void | setValue (int index, float value) override |
Set the value at index index of the QVariant with value . More... | |
Public Member Functions inherited from pqVectorWidget | |
pqVectorWidget (const QVariant &value, QWidget *parent=nullptr) | |
~pqVectorWidget () override=default | |
const QVariant & | value () const |
Get the value directly in vector form. More... | |
Protected Member Functions | |
float | getValue (int index) override |
Protected Member Functions inherited from pqVectorWidget | |
void | CreateUI (unsigned int nbElem) |
This function creates an horizontal layout with nbElem spinboxes. More... | |
Additional Inherited Members | |
Public Slots inherited from pqVectorWidget | |
Signals inherited from pqVectorWidget | |
void | valueChanged (const QVariant &) |
Signal emitted when any component value changed. More... | |
Protected Attributes inherited from pqVectorWidget | |
QVariant | Vector |
Properties inherited from pqVectorWidget | |
QVariant | value |
pqVectorWidgetImpl is a templated class inherited from pqVectorWidget to be used with QVector classes or QQuaternion.
Definition at line 64 of file pqVectorWidget.h.
|
inline |
Definition at line 67 of file pqVectorWidget.h.
|
inline |
Definition at line 74 of file pqVectorWidget.h.
|
inlineoverridevirtual |
Set the value at index index
of the QVariant with value
.
Must be overidden to cast to the specialized QVariant.
Implements pqVectorWidget.
Definition at line 76 of file pqVectorWidget.h.
|
inlineoverrideprotectedvirtual |
Implements pqVectorWidget.
Definition at line 85 of file pqVectorWidget.h.