Developer Documentation

Signals | Public Member Functions | List of all members
ViewInterface Class Reference

`#include <OpenFlipper/BasePlugin/ViewInterface.hh>`

## Signals
virtual void | getStackWidget (QString _name, QWidget *&_widget)

## Public Member Functions
virtual void | updateStackWidget (QString _name, QWidget *_widget)
virtual void | addStackWidget (QString _name, QWidget *_widget)
virtual | ~ViewInterface ()
| Destructor.

## Detailed Description

This Interface should be used by plugins which will provide an additional view widget.

Definition at line 51 of file ViewInterface.hh.

## Member Function Documentation

## ◆ addStackWidget()

virtual void ViewInterface::addStackWidget | ( | QString | _name,
|  | QWidget * | _widget
| ) |  |
| inline virtual

Add a widget to the Stackwidget with a Name.

Parameters

  _name | Name of the Widget
  _widget | The new widget

Definition at line 73 of file ViewInterface.hh.

## ◆ getStackWidget

virtual void ViewInterface::getStackWidget | ( | QString | _name,
|  | QWidget *& | _widget
| ) |  |
| inline virtual signal

Get a widget form the Stackwidget by Name. The mainwidget is named "3D Examiner Widget".

Parameters

  _name | Name of the Widget
  _widget | The requested widget or 0 if not found

Definition at line 60 of file ViewInterface.hh.

## ◆ updateStackWidget()

virtual void ViewInterface::updateStackWidget | ( | QString | _name,
|  | QWidget * | _widget
| ) |  |
| inline virtual

Update a widget form the Stackwidget with Name. *

Parameters

  _name | Name of the Widget
  _widget | The requested widget or 0 if not found

Definition at line 66 of file ViewInterface.hh.

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

- OpenFlipper/BasePlugin/ViewInterface.hh