Developer Documentation
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 
)
inlinevirtual

Add a widget to the Stackwidget with a Name.

Parameters
_nameName of the Widget
_widgetThe new widget

Definition at line 73 of file ViewInterface.hh.

◆ getStackWidget

virtual void ViewInterface::getStackWidget ( QString  _name,
QWidget *&  _widget 
)
inlinevirtualsignal

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

Parameters
_nameName of the Widget
_widgetThe requested widget or 0 if not found

Definition at line 60 of file ViewInterface.hh.

◆ updateStackWidget()

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

Update a widget form the Stackwidget with Name. *

Parameters
_nameName of the Widget
_widgetThe 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: