Vec2Input

A vector parameter input of 2 components.

Declared in src/libs/libwidgets/components/Vec2Input.hpp
Inherits VectorInput
Group libwidgets

Detailed description

One DragNumber of 2 numbers, <x, y>, with the unit once. Everything but the count lives in VectorInput (vector-drag-number §VND-7).

See also VectorInput, DragNumber.

Member function documentation

Vec2Input

[explicit] Vec2Input::Vec2Input(const ParameterInputConfig &config, QWidget *parent = nullptr)

Creates the input from config, with parent.

setValue

void Vec2Input::setValue(double x, double y)

Sets every component, with no signal (§OPR-3b).

Takes x and y.

In this section