Documentation


X3DTK::Qt::SFVector2GUI Class Reference

#include <SFVector2GUI.h>

Inheritance diagram for X3DTK::Qt::SFVector2GUI:

QWidget List of all members.

Detailed Description

The GUI (Graphic User Interface) for an animal::Vec2 SFVector2.

Definition at line 19 of file SFVector2GUI.h.

Public Slots

void changeValueX (float)
void changeValueY (float)

Signals

void changed ()

Public Member Functions

 SFVector2GUI (QString nameOfField, animal::Vec2 *Vec3ToEdit, QWidget *parent, const char *name=0, WFlags fl=0)
 ~SFVector2GUI ()
void setValue ()

Public Attributes

WFloatLineEditeditX
WFloatLineEditeditY

Protected Attributes

QHBoxLayout * SFVector2Layout

Private Attributes

animal::Vec2Vec2ToEdit


Constructor & Destructor Documentation

X3DTK::Qt::SFVector2GUI::SFVector2GUI QString  nameOfField,
animal::Vec2 Vec3ToEdit,
QWidget parent,
const char *  name = 0,
WFlags  fl = 0
 

Definition at line 24 of file SFVector2GUI.cpp.

References changeValueX(), changeValueY(), editX, editY, WFloatLineEdit::setMaxFloatValue(), WFloatLineEdit::setMinFloatValue(), setValue(), SFVector2Layout, and animal::Vec2.

X3DTK::Qt::SFVector2GUI::~SFVector2GUI  ) 
 

Definition at line 57 of file SFVector2GUI.cpp.


Member Function Documentation

void X3DTK::Qt::SFVector2GUI::changed  )  [signal]
 

Referenced by changeValueX(), and changeValueY().

void X3DTK::Qt::SFVector2GUI::changeValueX float   )  [slot]
 

Definition at line 68 of file SFVector2GUI.cpp.

References changed().

Referenced by SFVector2GUI().

void X3DTK::Qt::SFVector2GUI::changeValueY float   )  [slot]
 

Definition at line 73 of file SFVector2GUI.cpp.

References changed().

Referenced by SFVector2GUI().

void X3DTK::Qt::SFVector2GUI::setValue  ) 
 

Definition at line 62 of file SFVector2GUI.cpp.

References editX, editY, WFloatLineEdit::setFloatValue(), and Vec2ToEdit.

Referenced by SFVector2GUI().


Member Data Documentation

WFloatLineEdit* X3DTK::Qt::SFVector2GUI::editX
 

Definition at line 43 of file SFVector2GUI.h.

Referenced by setValue(), and SFVector2GUI().

WFloatLineEdit* X3DTK::Qt::SFVector2GUI::editY
 

Definition at line 44 of file SFVector2GUI.h.

Referenced by setValue(), and SFVector2GUI().

QHBoxLayout* X3DTK::Qt::SFVector2GUI::SFVector2Layout [protected]
 

Definition at line 40 of file SFVector2GUI.h.

Referenced by SFVector2GUI().

animal::Vec2* X3DTK::Qt::SFVector2GUI::Vec2ToEdit [private]
 

Definition at line 37 of file SFVector2GUI.h.

Referenced by setValue().


The documentation for this class was generated from the following files:
Generated on Thu Dec 23 13:52:35 2004 by doxygen 1.3.6