![]() |
MAK Data Logger API Documentation for HLA
|
Creates View and Slots, and implements standard Logger GUI Component methods. More...
Inheritance diagram for MAKLogger::DtLgrAnnotationComponent:
Collaboration diagram for MAKLogger::DtLgrAnnotationComponent:Public Member Functions | |
| DtLgrAnnotationComponent (DtLoggerApplication &application) | |
| virtual | ~DtLgrAnnotationComponent () |
| virtual void | showComponent () |
| This method will cause the component to be shown. More... | |
| virtual void | hideComponent () |
| This method will cause the component to be hidden. More... | |
| virtual QWidget * | initialize (QWidget *parent) |
| Creates View and Slots (after the GUI has been initialized). More... | |
| virtual void | activate () |
| This method is called when the component is shown. More... | |
| virtual void | deactivate () |
| This method is called when the component is hidden. More... | |
| virtual bool | canExit () const |
| This method provides a way for components to control whether the application can quit. More... | |
| virtual bool | canCloseFile () const |
| This method provides a way for components to control whether the application can close a file. More... | |
| virtual double | updateTime () |
| Returns the desired times between updates in seconds. More... | |
| virtual void | update () |
| Called repeatedly by the host application in the GUI thread. More... | |
| const DtLgrAnnotationView * | view () const |
| Get view, if widget has not been called this will return null. More... | |
| virtual DtLgrZoomableWidget * | zoomComponent () |
| Access component as zoom component. More... | |
| virtual DtLoggerApplication & | application () |
| Get the logger application in use. More... | |
| virtual const DtLoggerApplication & | application () const |
| DtLgrAnnotationManager * | manager () |
| Provide access to high level annotation related functionality. More... | |
| virtual DtLgrGuiModel * | model () |
| Get the gui model, this pointer will be null, until initialize has been called. More... | |
| virtual const DtLgrGuiModel * | model () const |
| Get the gui model, this pointer will be null, until initialize has been called. More... | |
Public Member Functions inherited from MAKLogger::DtLgrGuiComponent | |
| virtual | ~DtLgrGuiComponent () |
| Default Destructor. More... | |
| virtual void | startTimer (QObject *parent) |
| Called to start the update timer. More... | |
| virtual void | stopTimer () |
| Called to stop the update timer. More... | |
| virtual void | release (QWidget *parent) |
| The component is being removed. More... | |
| virtual QWidget * | container () |
| Get the container widget. More... | |
| virtual void | setContainer (QWidget *widget) |
| Sets the container. More... | |
| virtual const QIcon & | iconSet () const |
| Get an optional icon set. By default returns null QIconSet. More... | |
| virtual void | setIconSet (const QIcon &iconSet) |
| virtual QString | name () const |
| Get the component name. More... | |
| virtual QKeySequence | shortcut () const |
| Get the component's accelerator. More... | |
| virtual void | setKeySequence (const QKeySequence &sequence) |
| Set the key sequence of the view component menu item. More... | |
Protected Attributes | |
| DtLoggerApplication & | myApplication |
| DtLgrGuiModel * | myModel |
| DtLgrAnnotationView * | myAnnotationView |
| DtLgrAnnotationManager * | myManager |
| DtLgrAnnotationSlots * | mySlots |
| bool | myActivatedFlag |
Protected Attributes inherited from MAKLogger::DtLgrGuiComponent | |
| QWidget * | myContainer |
| QTimer * | myTimer |
| QString | myName |
| QIcon | myIconSet |
| QKeySequence | mySequence |
Private Member Functions | |
| DtLgrAnnotationComponent (const DtLgrAnnotationComponent &) | |
| Not Implemented. More... | |
| DtLgrAnnotationComponent & | operator= (const DtLgrAnnotationComponent &) |
| Not Implemented. More... | |
Additional Inherited Members | |
Public Slots inherited from MAKLogger::DtLgrGuiComponent | |
Protected Member Functions inherited from MAKLogger::DtLgrGuiComponent | |
| DtLgrGuiComponent (QString name) | |
Creates View and Slots, and implements standard Logger GUI Component methods.
| MAKLogger::DtLgrAnnotationComponent::DtLgrAnnotationComponent | ( | DtLoggerApplication & | application | ) |
|
virtual |
|
private |
Not Implemented.
|
virtual |
This method is called when the component is shown.
Implements MAKLogger::DtLgrGuiComponent.
|
virtual |
Get the logger application in use.
|
virtual |
|
virtual |
This method provides a way for components to control whether the application can close a file.
The component which check to see if the annotation file is saved or not.
| true | The component allows the file to be closed. |
| false | The component does not want the file closed. |
Reimplemented from MAKLogger::DtLgrGuiComponent.
|
virtual |
This method provides a way for components to control whether the application can quit.
The component which check to see if the annotation file is saved or not.
| true | The component can quit. |
| false | The component does not want to quit. |
Reimplemented from MAKLogger::DtLgrGuiComponent.
|
virtual |
This method is called when the component is hidden.
Implements MAKLogger::DtLgrGuiComponent.
|
virtual |
This method will cause the component to be hidden.
Creates View and Slots (after the GUI has been initialized).
Adds View to Manager. Adds View->menu to menubar. Connects EventHandler signals to View and Slots.
Implements MAKLogger::DtLgrGuiComponent.
| DtLgrAnnotationManager* MAKLogger::DtLgrAnnotationComponent::manager | ( | ) |
Provide access to high level annotation related functionality.
|
virtual |
Get the gui model, this pointer will be null, until initialize has been called.
|
virtual |
Get the gui model, this pointer will be null, until initialize has been called.
|
private |
Not Implemented.
|
virtual |
This method will cause the component to be shown.
|
virtual |
Called repeatedly by the host application in the GUI thread.
The time between calls is controlled by updateTime.
Implements MAKLogger::DtLgrGuiComponent.
|
virtual |
Returns the desired times between updates in seconds.
If updateTime returns 1.0 the component will be updated every second, if it is 0.5 the component will be updated every 30 seconds. Return -1 if update should not be called.
Implements MAKLogger::DtLgrGuiComponent.
| const DtLgrAnnotationView* MAKLogger::DtLgrAnnotationComponent::view | ( | ) | const |
Get view, if widget has not been called this will return null.
|
virtual |
Access component as zoom component.
Return NULL if component is not a zoom component. This interface will be used to automatically connect and disconnect the zoom component slots.
Implements MAKLogger::DtLgrGuiComponent.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |