Perspective Class | Extending Qt Creator Manual

Extending Qt Creator Manual | Perspective

Extending Qt Creator Manual 4.6.0

# Perspective Class

(Utils::Perspective)

- List of all members, including inherited members

## Public Types

class | Operation
enum | OperationType { SplitVertical, SplitHorizontal, AddToTab, Raise }

## Public Functions

| Perspective() = default
| Perspective(const QString &name, const QVector<Operation> &operations, QWidget *centralWidget = 0)
| ~Perspective()
void | aboutToActivate() const
void | addOperation(const Operation &operation)
QWidget * | centralWidget() const
QVector<QByteArray> | docks() const
QString | name() const
QVector<Operation> | operations() const
void | setAboutToActivateCallback(const Callback &cb)
void | setName(const QString &name)

## Member Type Documentation

### enum Perspective::OperationType

## Member Function Documentation

### `[default]` Perspective::Perspective()

Default constructs an instance of Perspective.

### Perspective::Perspective(const QString &name, const QVector<Operation> &operations, QWidget *centralWidget = 0)

Default constructs an instance of Perspective.

### Perspective::~Perspective()

Destroys the instance of Perspective.

### void Perspective::aboutToActivate() const

### void Perspective::addOperation(const Operation &operation)

### QWidget *Perspective::centralWidget() const

### QVector<QByteArray> Perspective::docks() const

### QString Perspective::name() const

See also setName().

### QVector<Operation> Perspective::operations() const

### void Perspective::setAboutToActivateCallback(const Callback &cb)

### void Perspective::setName(const QString &name)

See also name().