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