Gui::LocationInterface< Ui > Class Template Reference

This is the template class that implements the interface of LocationDialog. More...

#include <InputVector.h>

Inheritance diagram for Gui::LocationInterface< Ui >:
Gui::LocationDialog

List of all members.

Public Member Functions

Base::Vector3f getDirection () const
Base::Vector3f getPosition () const
 LocationInterface (QWidget *parent=0, Qt::WFlags fl=0)
void retranslate ()
virtual ~LocationInterface ()

Protected Member Functions

void changeEvent (QEvent *e)

Detailed Description

template<class Ui>
class Gui::LocationInterface< Ui >

This is the template class that implements the interface of LocationDialog.

The template argument can be the Ui interface class built by uic out of a .ui file. This class might be very useful for dialogs where a combo box is used to define a direction vector by the user. For such classes the programmer don't to write a subclass to implement the appropriate singals/slots. Instead it's possible to omit this further class and use LocationInterface parametrized with the generated Ui class.

Author:
Werner Mayer

Definition at line 74 of file InputVector.h.


Constructor & Destructor Documentation

template<class Ui>
Gui::LocationInterface< Ui >::LocationInterface ( QWidget *  parent = 0,
Qt::WFlags  fl = 0 
) [inline]

Definition at line 77 of file InputVector.h.

template<class Ui>
virtual Gui::LocationInterface< Ui >::~LocationInterface (  )  [inline, virtual]

Definition at line 82 of file InputVector.h.


Member Function Documentation

template<class Ui>
void Gui::LocationInterface< Ui >::changeEvent ( QEvent *  e  )  [inline, protected, virtual]

Implements Gui::LocationDialog.

Definition at line 136 of file InputVector.h.

Referenced by Gui::LocationInterface< Ui_DlgPartBox >::changeEvent().

template<class Ui>
Base::Vector3f Gui::LocationInterface< Ui >::getDirection (  )  const [inline, virtual]

Implements Gui::LocationDialog.

Definition at line 124 of file InputVector.h.

Referenced by CmdPartSimpleCylinder::activated().

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

Definition at line 117 of file InputVector.h.

template<class Ui>
void Gui::LocationInterface< Ui >::retranslate (  )  [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