##

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

enum AlignConfig

Enumerator
ALIGN_MIN | minimum
ALIGN_CENTER | center
ALIGN_MAX | maximum

## Constructor & Destructor Documentation

## AlignWidget()

AlignWidget | ( | QWidget * | _parent = `0` | ) |

explicit

Constructor.

Parameters

  [in] | _parent | Parent 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] | _axis | Axis of alignment.
  [in] | _config | Alignment configuration.
  [in] | _action | The Qt alignment action to add.

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

- AlignWidget.hh