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