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

§ AlignAxis

enum AlignAxis
Enumerator
ALIGN_X 

X.

ALIGN_Y 

Y.

ALIGN_Z 

Z.

§ AlignConfig

Enumerator
ALIGN_MIN 

minimum

ALIGN_CENTER 

center

ALIGN_MAX 

maximum

Constructor & Destructor Documentation

§ AlignWidget()

AlignWidget ( QWidget *  _parent = 0)

Constructor.

Parameters
[in]_parentParent Qt widget.

§ ~AlignWidget()

virtual ~AlignWidget ( )
virtual

Destructor.

Member Function Documentation

§ Add()

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: