VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtVec2Widget Class Reference

DtVec2Widget. More...

Inheritance diagram for makVrv::DtVec2Widget:
Inheritance graph
[legend]

Public Member Functions

 DtVec2Widget (QWidget *parent, bool horizontally=true)
 Default CTOR. More...
 
virtual void setValue (float x, float y)
 Sets the current value. More...
 
virtual void getValue (float &x, float &y)
 Gets the current value. More...
 

Protected Attributes

QDoubleSpinBoxmyXSpinBox
 
QDoubleSpinBoxmyYSpinBox
 

Detailed Description

DtVec2Widget.

The widget used to represent an 2D vector horizontally or vertically.

Constructor & Destructor Documentation

makVrv::DtVec2Widget::DtVec2Widget ( QWidget *  parent,
bool  horizontally = true 
)

Default CTOR.

Parameters
parentThe parent widget.
horizontallyWhetehr layout the x,y double spin box horizontally.

Member Function Documentation

virtual void makVrv::DtVec2Widget::setValue ( float  x,
float  y 
)
virtual

Sets the current value.

Parameters
xThe x of the vector.
yThe y of the vector.
virtual void makVrv::DtVec2Widget::getValue ( float &  x,
float &  y 
)
virtual

Gets the current value.

Parameters
xThe x of the vector.
yThe x of the vector.

Member Data Documentation

QDoubleSpinBox* makVrv::DtVec2Widget::myXSpinBox
protected
QDoubleSpinBox* makVrv::DtVec2Widget::myYSpinBox
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)