Gui::LocationInterfaceComp< Ui > Class Template Reference

This template class does basically the same as LocationInterface unless that the Ui class is used as composition not as further base class. More...

#include <InputVector.h>

List of all members.

Public Member Functions

bool directionActivated (LocationDialog *dlg, int index)
Base::Vector3f getDirection () const
Base::Vector3f getPosition () const
 LocationInterfaceComp (QDialog *dlg)
void retranslate (QDialog *dlg)
void setDirection (const Base::Vector3f &dir)
 ~LocationInterfaceComp ()

Detailed Description

template<class Ui>
class Gui::LocationInterfaceComp< Ui >

This template class does basically the same as LocationInterface unless that the Ui class is used as composition not as further base class.

This class acts as a small wrapper class around the UI_-generated classes by Qt for which the location interface is needed. This class can be used as composition in dialog-based classes without including the ui_-generated header file. The Ui_-class can simply be forward declared.

Author:
Werner Mayer

Definition at line 194 of file InputVector.h.


Constructor & Destructor Documentation

template<class Ui>
Gui::LocationInterfaceComp< Ui >::LocationInterfaceComp ( QDialog *  dlg  )  [inline]

Definition at line 197 of file InputVector.h.

template<class Ui>
Gui::LocationInterfaceComp< Ui >::~LocationInterfaceComp (  )  [inline]

Definition at line 202 of file InputVector.h.


Member Function Documentation

template<class Ui>
bool Gui::LocationInterfaceComp< Ui >::directionActivated ( LocationDialog dlg,
int  index 
) [inline]

Definition at line 285 of file InputVector.h.

template<class Ui>
Base::Vector3f Gui::LocationInterfaceComp< Ui >::getDirection (  )  const [inline]
template<class Ui>
Base::Vector3f Gui::LocationInterfaceComp< Ui >::getPosition ( void   )  const [inline]

Definition at line 239 of file InputVector.h.

template<class Ui>
void Gui::LocationInterfaceComp< Ui >::retranslate ( QDialog *  dlg  )  [inline]
template<class Ui>
void Gui::LocationInterfaceComp< Ui >::setDirection ( const Base::Vector3f dir  )  [inline]

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

Generated on Wed Nov 23 19:02:00 2011 for FreeCAD by  doxygen 1.6.1