![]() |
Tome
A generic data editor for games supporting arbitrary input and output formats.
|
Allows editing three-dimensional vectors with integer components. More...
#include <vector3iwidget.h>
Public Member Functions | |
| Vector3IWidget (QWidget *parent=0) | |
| Constructs a new widget for editing three-dimensional vectors with integer components. More... | |
| QVariant | getValue () const |
| Returns the vector as QVariantMap with keys BuiltInType::Vector::X, BuiltInType::Vector::Y and BuiltInType::Vector::Z. More... | |
| void | setValue (const QVariant &v) |
| Sets the current vector. More... | |
Allows editing three-dimensional vectors with integer components.
|
explicit |
Constructs a new widget for editing three-dimensional vectors with integer components.
| parent | Optional owner widget. |
| QVariant Vector3IWidget::getValue | ( | ) | const |
Returns the vector as QVariantMap with keys BuiltInType::Vector::X, BuiltInType::Vector::Y and BuiltInType::Vector::Z.
| void Vector3IWidget::setValue | ( | const QVariant & | v | ) |
Sets the current vector.
| v | Vector as QVariantMap with keys BuiltInType::Vector::X, BuiltInType::Vector::Y and BuiltInType::Vector::Z. |
1.8.13