Gui::LocationDialogComp< Ui > Class Template Reference

This template class is a subclass of LocationDialog using LocationInterfaceComp which implements the pure virtual method directionActivated(). More...

#include <InputVector.h>

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

List of all members.

Public Member Functions

Base::Vector3f getDirection () const
 LocationDialogComp (QWidget *parent=0, Qt::WFlags fl=0)
virtual ~LocationDialogComp ()

Protected Member Functions

void changeEvent (QEvent *e)

Protected Attributes

LocationInterfaceComp< Ui > ui

Detailed Description

template<class Ui>
class Gui::LocationDialogComp< Ui >

This template class is a subclass of LocationDialog using LocationInterfaceComp which implements the pure virtual method directionActivated().

Other dialog-based classes can directly inherit from this class if the location-interface is required. But note, in this case the ui_-header file needs to be included. If this should be avoided the class LocationInterfaceComp must be used instead of whereas the Ui_-class can be forward declared.

Author:
Werner Mayer

Definition at line 313 of file InputVector.h.


Constructor & Destructor Documentation

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

Definition at line 316 of file InputVector.h.

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

Definition at line 320 of file InputVector.h.


Member Function Documentation

template<class Ui>
void Gui::LocationDialogComp< Ui >::changeEvent ( QEvent *  e  )  [inline, protected, virtual]
template<class Ui>
Base::Vector3f Gui::LocationDialogComp< Ui >::getDirection (  )  const [inline, virtual]

Implements Gui::LocationDialog.

Definition at line 325 of file InputVector.h.


Member Data Documentation

template<class Ui>
LocationInterfaceComp<Ui> Gui::LocationDialogComp< Ui >::ui [protected]

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