This template class does basically the same as LocationInterface unless that the Ui class is used as composition not as further base class. More...
#include <InputVector.h>
Public Member Functions | |
| bool | directionActivated (LocationDialog *dlg, int index) |
| Base::Vector3f | getDirection () const |
| Base::Vector3f | getPosition () const |
| LocationInterfaceComp (QDialog *dlg) | |
| void | retranslate (QDialog *dlg) |
| void | setDirection (const Base::Vector3f &dir) |
| ~LocationInterfaceComp () | |
This template class does basically the same as LocationInterface unless that the Ui class is used as composition not as further base class.
This class acts as a small wrapper class around the UI_-generated classes by Qt for which the location interface is needed. This class can be used as composition in dialog-based classes without including the ui_-generated header file. The Ui_-class can simply be forward declared.
Definition at line 194 of file InputVector.h.
| Gui::LocationInterfaceComp< Ui >::LocationInterfaceComp | ( | QDialog * | dlg | ) | [inline] |
Definition at line 197 of file InputVector.h.
| Gui::LocationInterfaceComp< Ui >::~LocationInterfaceComp | ( | ) | [inline] |
Definition at line 202 of file InputVector.h.
| bool Gui::LocationInterfaceComp< Ui >::directionActivated | ( | LocationDialog * | dlg, | |
| int | index | |||
| ) | [inline] |
Definition at line 285 of file InputVector.h.
| Base::Vector3f Gui::LocationInterfaceComp< Ui >::getDirection | ( | ) | const [inline] |
Definition at line 246 of file InputVector.h.
Referenced by Gui::Dialog::Transform::getDirection(), Gui::Dialog::Placement::getDirection(), and PartGui::DlgRevolution::getDirection().
| Base::Vector3f Gui::LocationInterfaceComp< Ui >::getPosition | ( | void | ) | const [inline] |
Definition at line 239 of file InputVector.h.
| void Gui::LocationInterfaceComp< Ui >::retranslate | ( | QDialog * | dlg | ) | [inline] |
Definition at line 206 of file InputVector.h.
Referenced by Gui::Dialog::Transform::changeEvent(), Gui::Dialog::Placement::changeEvent(), PartGui::DlgRevolution::changeEvent(), and Gui::LocationInterfaceComp< Ui_DlgPrimitives >::LocationInterfaceComp().
| void Gui::LocationInterfaceComp< Ui >::setDirection | ( | const Base::Vector3f & | dir | ) | [inline] |
Definition at line 258 of file InputVector.h.
Referenced by Gui::LocationInterfaceComp< Ui_DlgPrimitives >::directionActivated().
1.6.1