AbstractGuiComponent Class Reference

The AbstractGuiComponent class provides an abstract interface for pluggable GUI components. More...

#include <abstractguicomponent.h>

Inheritance diagram for AbstractGuiComponent:

AbstractGuiDbComponent StdGuiDbComponent ExperimentAssistantComponent ExperimentBrowserComponent GestureBrowserComponent RecogniserBrowserComponent RecogniserTestPadComponent SqlBrowseComponent TrainingAssistantComponent List of all members.

Public Slots

virtual void setRootWidgetVisible (bool visible)=0
virtual void showRootWidget (Qt::WindowStates windowState=Qt::WindowNoState)=0
virtual void hideRootWidget ()=0
virtual void execMessage (const QString &message)=0

Signals

void rootWidgetVisibilityToggled ()
void request (const QString &message)

Public Member Functions

 AbstractGuiComponent (JavaVM *jvm, QWidget *parent=0, Qt::WindowFlags flags=0)
virtual ~AbstractGuiComponent ()
virtual const QByteArray & key () const=0
virtual bool isRootWidgetVisible () const=0
virtual bool deleteOnCloseEnabled () const=0
virtual void setDeleteOnClose (bool enable)=0

Detailed Description

The AbstractGuiComponent class provides an abstract interface for pluggable GUI components.

This class provides a simple interface that is used by the GUI libraries. It separates the component's implementation from the calling application. Hence, as long as the sub-class is not modified, the ABI won't break when the rest of the component is modified.

The only file that this includes is QWidget's header. Hence, code expansion should be minimal as it's included by the calling application.

Note: The Java Virtual Machine jvm may or may not be used - some components such as the TrainingAssistant may use it, as recogniser trainers can be written in Java. Hence, to keep the system generic and open to more uses of Java, the jvm must always be passed.


Constructor & Destructor Documentation

AbstractGuiComponent::AbstractGuiComponent ( JavaVM *  jvm,
QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
) [inline]

virtual AbstractGuiComponent::~AbstractGuiComponent (  )  [inline, virtual]


Member Function Documentation

virtual const QByteArray& AbstractGuiComponent::key (  )  const [pure virtual]

Implemented in ExperimentAssistantComponent, ExperimentBrowserComponent, GestureBrowserComponent, RecogniserBrowserComponent, RecogniserTestPadComponent, SqlBrowseComponent, and TrainingAssistantComponent.

virtual bool AbstractGuiComponent::isRootWidgetVisible (  )  const [pure virtual]

Implemented in StdGuiDbComponent.

virtual bool AbstractGuiComponent::deleteOnCloseEnabled (  )  const [pure virtual]

Implemented in StdGuiDbComponent.

virtual void AbstractGuiComponent::setDeleteOnClose ( bool  enable  )  [pure virtual]

Implemented in StdGuiDbComponent.

void AbstractGuiComponent::rootWidgetVisibilityToggled (  )  [signal]

void AbstractGuiComponent::request ( const QString &  message  )  [signal]

virtual void AbstractGuiComponent::setRootWidgetVisible ( bool  visible  )  [pure virtual, slot]

Implemented in StdGuiDbComponent.

virtual void AbstractGuiComponent::showRootWidget ( Qt::WindowStates  windowState = Qt::WindowNoState  )  [pure virtual, slot]

Implemented in StdGuiDbComponent.

virtual void AbstractGuiComponent::hideRootWidget (  )  [pure virtual, slot]

Implemented in StdGuiDbComponent.

virtual void AbstractGuiComponent::execMessage ( const QString &  message  )  [pure virtual, slot]

Implemented in StdGuiDbComponent.


The documentation for this class was generated from the following file:
Generated on Mon Jul 30 09:46:51 2007 for Digest by  doxygen 1.5.2