VAPOR3 3.9.4
V3DIntInput.h
Go to the documentation of this file.
1#pragma once
2
3#include <QWidget>
4#include <vector>
5
6class VIntLineEdit;
7
11
12class V3DIntInput : public QWidget {
13 Q_OBJECT
14
15 VIntLineEdit *_x, *_y, *_z;
16
17public:
19 void SetValue(int x, int y, int z);
20 void SetValue(const std::vector<int> &xyz);
21
22signals:
23 void ValueChanged(int x, int y, int z);
24 void ValueChangedVec(const std::vector<int> &xyz);
25
26private slots:
27 void axisValueChanged(int);
28};
Widget that allows the user to specify a 3D integer vector.
Definition: V3DIntInput.h:12
void SetValue(int x, int y, int z)
void SetValue(const std::vector< int > &xyz)
void ValueChanged(int x, int y, int z)
void ValueChangedVec(const std::vector< int > &xyz)
A wrapper for a QLineEdit that handles user input of type int, and provides Vapor's standard setters,...
Definition: VIntLineEdit.h:18