A gui widget for aligning models. More...
#include <gui/Gui.hh>
Inherits QWidget.
Public Types | |
enum | AlignAxis { ALIGN_X, ALIGN_Y, ALIGN_Z } |
enum | AlignConfig { ALIGN_MIN, ALIGN_CENTER, ALIGN_MAX } |
Public Member Functions | |
AlignWidget (QWidget *_parent=0) | |
Constructor. More... | |
virtual | ~AlignWidget () |
Destructor. More... | |
void | Add (AlignAxis _axis, AlignConfig _config, QAction *_action) |
Add a Qt alignment action to the widget. More... | |
A gui widget for aligning models.
enum AlignAxis |
enum AlignConfig |
AlignWidget | ( | QWidget * | _parent = 0 | ) |
Constructor.
[in] | _parent | Parent Qt widget. |
|
virtual |
Destructor.
void Add | ( | AlignAxis | _axis, |
AlignConfig | _config, | ||
QAction * | _action | ||
) |
Add a Qt alignment action to the widget.
[in] | _axis | Axis of alignment. |
[in] | _config | Alignment configuration. |
[in] | _action | The Qt alignment action to add. |