Gui::LocationDialogUi< Ui > Class Template Reference

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

#include <InputVector.h>

Public Member Functions

Base::Vector3d getDirection () const
 
Base::Vector3d getPosition () const
 
 LocationDialogUi (QWidget *parent=0, Qt::WindowFlags fl=Qt::WindowFlags())
 
void retranslate ()
 
void setPosition (const Base::Vector3d &v)
 
virtual ~LocationDialogUi ()
 
- Public Member Functions inherited from Gui::LocationDialog
Base::Vector3d getUserDirection (bool *ok=0) const
 

Protected Member Functions

void changeEvent (QEvent *e)
 
- Protected Member Functions inherited from Gui::LocationDialog
 LocationDialog (QWidget *parent=0, Qt::WindowFlags fl=Qt::WindowFlags())
 
virtual ~LocationDialog ()
 

Detailed Description

template<class Ui>
class Gui::LocationDialogUi< 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 doesn't have to write a subclass to implement the appropriate signals/slots. Instead it's possible to omit this further class and use LocationDialogUi parametrized with the generated Ui class.

Author
Werner Mayer

Constructor & Destructor Documentation

◆ LocationDialogUi()

template<class Ui >
Gui::LocationDialogUi< Ui >::LocationDialogUi ( QWidget parent = 0,
Qt::WindowFlags  fl = Qt::WindowFlags() 
)

◆ ~LocationDialogUi()

template<class Ui >
virtual Gui::LocationDialogUi< Ui >::~LocationDialogUi ( )
virtual

Member Function Documentation

◆ changeEvent()

template<class Ui >
void Gui::LocationDialogUi< Ui >::changeEvent ( QEvent e)
protectedvirtual

◆ getDirection()

template<class Ui >
Base::Vector3d Gui::LocationDialogUi< Ui >::getDirection ( void  ) const
virtual

Implements Gui::LocationDialog.

◆ getPosition()

template<class Ui >
Base::Vector3d Gui::LocationDialogUi< Ui >::getPosition ( void  ) const

◆ retranslate()

◆ setPosition()

template<class Ui >
void Gui::LocationDialogUi< Ui >::setPosition ( const Base::Vector3d v)

The documentation for this class was generated from the following file:
  • Sources/FreeCAD/src/Gui/InputVector.h