AlignWidget Class Reference

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...
 

Detailed Description

A gui widget for aligning models.

Member Enumeration Documentation

enum AlignAxis
Enumerator
ALIGN_X 

X.

ALIGN_Y 

Y.

ALIGN_Z 

Z.

Enumerator
ALIGN_MIN 

minimum

ALIGN_CENTER 

center

ALIGN_MAX 

maximum

Constructor & Destructor Documentation

AlignWidget ( QWidget *  _parent = 0)

Constructor.

Parameters
[in]_parentParent Qt widget.
virtual ~AlignWidget ( )
virtual

Destructor.

Member Function Documentation

void Add ( AlignAxis  _axis,
AlignConfig  _config,
QAction *  _action 
)

Add a Qt alignment action to the widget.

Parameters
[in]_axisAxis of alignment.
[in]_configAlignment configuration.
[in]_actionThe Qt alignment action to add.

The documentation for this class was generated from the following file: