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=0) | |
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=0) | |
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.
Constructor & Destructor Documentation
◆ LocationDialogUi()
Gui::LocationDialogUi< Ui >::LocationDialogUi | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | fl = 0 |
||
) |
References Gui::LocationDialogUi< Ui >::retranslate().
◆ ~LocationDialogUi()
|
virtual |
Member Function Documentation
◆ changeEvent()
|
protectedvirtual |
Implements Gui::LocationDialog.
References Gui::LocationDialogUi< Ui >::retranslate().
◆ getDirection()
|
virtual |
Implements Gui::LocationDialog.
◆ getPosition()
Base::Vector3d Gui::LocationDialogUi< Ui >::getPosition | ( | ) | const |
◆ retranslate()
void Gui::LocationDialogUi< Ui >::retranslate | ( | ) |
◆ setPosition()
void Gui::LocationDialogUi< Ui >::setPosition | ( | const Base::Vector3d & | v | ) |
The documentation for this class was generated from the following file:
- src/Gui/InputVector.h