eVaf
eVaf::SdiWindow::iSdiWindow Struct Referenceabstract

Single Document Interface window manager for eVaf applications. More...

#include <SdiWindow/isdiwindow.h>

Public Member Functions

virtual void addPanel (QString const &name, Gui::Panel *panel)=0
 Adds a panel to the SDI window manager. More...
 
virtual Gui::Panelpanel (QString const &name) const =0
 Returns a panel by the name. More...
 
virtual bool showPanel (QString const &name)=0
 Shows a panel. More...
 

Static Public Member Functions

static iSdiWindowinstance ()
 Returns the iSdiWindow interface instance. More...
 

Detailed Description

Single Document Interface window manager for eVaf applications.

The iSdiWindow interface implements an SDI window manager.

Definition at line 44 of file isdiwindow.h.

Member Function Documentation

virtual void eVaf::SdiWindow::iSdiWindow::addPanel ( QString const &  name,
Gui::Panel panel 
)
pure virtual

Adds a panel to the SDI window manager.

Parameters
nameName of the panel
panelThe panel

This function adds a panel to the SDI window manager. The ownership of the panel is transferred to the window manager and it is the responsibility of the window manager to delete it.

static iSdiWindow* eVaf::SdiWindow::iSdiWindow::instance ( )
static

Returns the iSdiWindow interface instance.

Returns
The iSdiWindow interface or zero if not available

This function returns the global iSdiWindow interface instance. Using this function is not mandatory and modules can use the iRegistry interface instead. Using the iRegistry interface has the advantage that modules do not need to link against this library.

virtual Gui::Panel* eVaf::SdiWindow::iSdiWindow::panel ( QString const &  name) const
pure virtual

Returns a panel by the name.

Parameters
nameName of the panel
Returns
Pointer to the panel or 0 if failed

This function returns a panel identified by the name.

virtual bool eVaf::SdiWindow::iSdiWindow::showPanel ( QString const &  name)
pure virtual

Shows a panel.

Parameters
nameName of the panel
Returns
True if succeeded; false if not

This function shows the panel.


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