#include <abstractguicomponent.h>
Inheritance diagram for AbstractGuiComponent:

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 |
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.
| AbstractGuiComponent::AbstractGuiComponent | ( | JavaVM * | jvm, | |
| QWidget * | parent = 0, |
|||
| Qt::WindowFlags | flags = 0 | |||
| ) | [inline] |
| virtual AbstractGuiComponent::~AbstractGuiComponent | ( | ) | [inline, virtual] |
| virtual const QByteArray& AbstractGuiComponent::key | ( | ) | const [pure virtual] |
| 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.
1.5.2