This is the template class that implements the interface of LocationDialog. More...
#include <InputVector.h>
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) |
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.
Definition at line 74 of file InputVector.h.
Gui::LocationInterface< Ui >::LocationInterface | ( | QWidget * | parent = 0 , |
|
Qt::WFlags | fl = 0 | |||
) | [inline] |
Definition at line 77 of file InputVector.h.
virtual Gui::LocationInterface< Ui >::~LocationInterface | ( | ) | [inline, virtual] |
Definition at line 82 of file InputVector.h.
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().
Base::Vector3f Gui::LocationInterface< Ui >::getDirection | ( | ) | const [inline, virtual] |
Implements Gui::LocationDialog.
Definition at line 124 of file InputVector.h.
Referenced by CmdPartSimpleCylinder::activated().
Base::Vector3f Gui::LocationInterface< Ui >::getPosition | ( | void | ) | const [inline] |
Definition at line 117 of file InputVector.h.
void Gui::LocationInterface< Ui >::retranslate | ( | ) | [inline] |
Definition at line 84 of file InputVector.h.
Referenced by Gui::LocationInterface< Ui_DlgPartBox >::changeEvent(), and Gui::LocationInterface< Ui_DlgPartBox >::LocationInterface().