MNE-CPP
beta 0.1
|
The TextWidget class provides a digital text widget. More...
#include <textwidget.h>
Public Member Functions | |
TextWidget (QSharedPointer< Text > pText, QWidget *parent=0) | |
~TextWidget () | |
virtual void | update (Subject *pSubject) |
virtual void | init () |
![]() | |
MeasurementWidget (QWidget *parent=0) | |
virtual | ~MeasurementWidget () |
![]() | |
virtual | ~IObserver () |
Additional Inherited Members | |
![]() | |
typedef QSharedPointer< IObserver > | SPtr |
typedef QSharedPointer< const IObserver > | ConstSPtr |
The TextWidget class provides a digital text widget.
DECLARE CLASS TextWidget
Definition at line 84 of file textwidget.h.
TextWidget::TextWidget | ( | QSharedPointer< Text > | pText, |
QWidget * | parent = 0 |
||
) |
Constructs a TextWidget which is a child of parent.
[in] | pText | pointer to Text measurement. |
[in] | parent | pointer to parent widget; If parent is 0, the new TextWidget becomes a window. If parent is another widget, TextWidget becomes a child window inside parent. TextWidget is deleted when its parent is deleted. |
Definition at line 59 of file textwidget.cpp.
TextWidget::~TextWidget | ( | ) |
Destroys the TextWidget.
Definition at line 69 of file textwidget.cpp.
|
virtual |
Initialise the TextWidget.
Implements XDISPLIB::MeasurementWidget.
Definition at line 85 of file textwidget.cpp.
|
virtual |
Is called when new data are available. Inherited by IObserver.
[in] | pSubject | pointer to Subject -> not used because its direct attached to the measurement. |
Implements XDISPLIB::MeasurementWidget.
Definition at line 77 of file textwidget.cpp.