#include <Transform.h>
Public Slots | |
void | on_applyButton_clicked () |
Signals | |
void | directionChanged () |
Public Member Functions | |
void | accept () |
void | reject () |
void | setTransformStrategy (TransformStrategy *ts) |
void | showStandardButtons (bool) |
Transform (QWidget *parent=0, Qt::WFlags fl=0) | |
~Transform () | |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
Base::Vector3f | getDirection () const |
Definition at line 69 of file Transform.h.
Transform::Transform | ( | QWidget * | parent = 0 , |
|
Qt::WFlags | fl = 0 | |||
) |
Definition at line 304 of file Transform.cpp.
References draftlibs::fcgeo::connect(), directionChanged(), and setTransformStrategy().
Transform::~Transform | ( | ) |
Definition at line 338 of file Transform.cpp.
void Transform::accept | ( | void | ) |
Definition at line 371 of file Transform.cpp.
References on_applyButton_clicked().
Referenced by Gui::Dialog::TaskTransform::accept().
void Transform::changeEvent | ( | QEvent * | e | ) | [protected, virtual] |
Implements Gui::LocationDialog.
Definition at line 441 of file Transform.cpp.
References Gui::LocationInterfaceComp< Ui >::retranslate().
void Gui::Dialog::Transform::directionChanged | ( | ) | [signal] |
Referenced by Transform().
Base::Vector3f Transform::getDirection | ( | ) | const [protected, virtual] |
Implements Gui::LocationDialog.
Definition at line 411 of file Transform.cpp.
References Gui::LocationInterfaceComp< Ui >::getDirection().
void Transform::on_applyButton_clicked | ( | ) | [slot] |
Definition at line 383 of file Transform.cpp.
References Gui::Dialog::TransformStrategy::commitTransform(), Gui::Dialog::TransformStrategy::getRotationCenter(), Base::Placement::toMatrix(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by accept(), and Gui::Dialog::TaskTransform::clicked().
void Transform::reject | ( | void | ) |
Definition at line 377 of file Transform.cpp.
References Gui::Dialog::TransformStrategy::resetTransform().
Referenced by Gui::Dialog::TaskTransform::reject().
void Transform::setTransformStrategy | ( | TransformStrategy * | ts | ) |
Definition at line 344 of file Transform.cpp.
References Gui::Dialog::TransformStrategy::getRotationCenter(), Gui::Dialog::TransformStrategy::transformObjects(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by Gui::Dialog::TaskTransform::setTransformStrategy(), and Transform().
void Transform::showStandardButtons | ( | bool | b | ) |
Definition at line 358 of file Transform.cpp.
Referenced by Gui::Dialog::TaskTransform::TaskTransform().