MAK Data Logger API Documentation for DIS
List of all members | Public Slots | Signals | Public Member Functions | Protected Attributes | Private Member Functions
MAKLogger::DtLgrAnnotationSlots Class Reference

Annotation slots connects menu bar and annotation control. More...

+ Inheritance diagram for MAKLogger::DtLgrAnnotationSlots:
+ Collaboration diagram for MAKLogger::DtLgrAnnotationSlots:

Public Slots

void postModelUpdate (DtLgrGuiModel &model)
 Slot for post updates.
void openCorrespondingFile (QString)
 Slot for opening a file via it's logger tape name.
void closeCorrespondingFile (bool opening)
 Slot for closing a file.
void loggerFileDataChanged (const DtLgrEditorInterface::FileDataOperations &fileOp)
 Slot for handling when the logger file's data has been edited.
void setAutoLoad (bool)
 Slot for setting whether annotations files are automatically loaded.
void setAllowChanges (bool)
 Slot for enabling /disable modifications to the annotations.
void openFile ()
void openFile (const QString &filename)
void importFile ()
void saveFile ()
void saveFileAs ()
bool prepareFileForClose ()
 Prepare file for close, this will save the necessary file.
bool closeFile ()
 Attempt to close a file.
void createAnnotation ()
 Slot for creating an annotation.
void modifyAnnotation ()
 Slot for modifying an annotation.
void quickModifyAnnotation ()
 Slot for doing a 'quick' modify (using the current context settings).
void deleteAnnotation ()
 Slot for deleting an annotation.
void selectAnnotation ()
 Slot for selecting an annotation.
void convertAnnotationFromMenu ()
 Slot for converting an annotation.
void convertAnnotation ()
 FOR INTERNAL USE ONLY use convertAnnotationFromMenu.
void convertAnnotation (QString type)
 Slot for converting an annotation.
void jumpToPrevious ()
 Slot for jumping the current time to the previous of an annotation.
void jumpToNext ()
 Slot for jumping the current time to the next of an annotation.
void jumpToStart ()
 Slot for jumping the current time to the start of an annotation.
void jumpToEnd ()
 Slot for jumping the current time to the end of an annotation.
void boundToStartAndEnd ()
 Slot for setting the playback bounds ot that of an annotation.
void zoomToStartAndEnd ()
 Slot for zooming to an annotation.
void showHelp ()
 Slot for showing help.
void emitAnnotationsChanged ()
 Slot for emitting when annotations have changed.
void selectedAnnotationChanged (DtLgrAnnotation *)

Signals

void fileOpened ()
void fileSaved ()
void fileClosed ()
void annotationsChanged ()

Public Member Functions

 DtLgrAnnotationSlots (DtLgrAnnotationComponent *component, DtLgrAnnotationManager *manager, DtLgrAnnotationView *view)
 CTOR which will connect the control bar and the menu bar to the.
virtual ~DtLgrAnnotationSlots ()
 DTOR.

Protected Attributes

DtLgrAnnotationComponentmyComponent
DtLgrAnnotationViewmyView
DtLgrAnnotationManagermyManager
QString myCorrespondingName
QString myObjectToConvert

Private Member Functions

 DtLgrAnnotationSlots (const DtLgrAnnotationSlots &)
 Not Implemented.
DtLgrAnnotationSlotsoperator= (const DtLgrAnnotationSlots &)
 Not Implemented.

Detailed Description

Annotation slots connects menu bar and annotation control.

Constructor & Destructor Documentation

MAKLogger::DtLgrAnnotationSlots::DtLgrAnnotationSlots ( DtLgrAnnotationComponent component,
DtLgrAnnotationManager manager,
DtLgrAnnotationView view 
)

CTOR which will connect the control bar and the menu bar to the.

slots.

virtual MAKLogger::DtLgrAnnotationSlots::~DtLgrAnnotationSlots ( )
virtual

DTOR.

MAKLogger::DtLgrAnnotationSlots::DtLgrAnnotationSlots ( const DtLgrAnnotationSlots )
private

Not Implemented.

Member Function Documentation

void MAKLogger::DtLgrAnnotationSlots::annotationsChanged ( )
signal
void MAKLogger::DtLgrAnnotationSlots::boundToStartAndEnd ( )
slot

Slot for setting the playback bounds ot that of an annotation.

void MAKLogger::DtLgrAnnotationSlots::closeCorrespondingFile ( bool  opening)
slot

Slot for closing a file.

bool MAKLogger::DtLgrAnnotationSlots::closeFile ( )
slot

Attempt to close a file.

This may cause the view to query the user to determine if the close is desired (due to unsaved data).

Returns
Whether the file was actually closed or simply canceled.
Return values
trueThe file was closed.
falseThe close was canceled.
void MAKLogger::DtLgrAnnotationSlots::convertAnnotation ( )
slot

FOR INTERNAL USE ONLY use convertAnnotationFromMenu.

void MAKLogger::DtLgrAnnotationSlots::convertAnnotation ( QString  type)
slot

Slot for converting an annotation.

void MAKLogger::DtLgrAnnotationSlots::convertAnnotationFromMenu ( )
slot

Slot for converting an annotation.

The signal emitter object must have the name of the type. This is the method dynamic menu items use.

void MAKLogger::DtLgrAnnotationSlots::createAnnotation ( )
slot

Slot for creating an annotation.

void MAKLogger::DtLgrAnnotationSlots::deleteAnnotation ( )
slot

Slot for deleting an annotation.

void MAKLogger::DtLgrAnnotationSlots::emitAnnotationsChanged ( )
slot

Slot for emitting when annotations have changed.

void MAKLogger::DtLgrAnnotationSlots::fileClosed ( )
signal
void MAKLogger::DtLgrAnnotationSlots::fileOpened ( )
signal
void MAKLogger::DtLgrAnnotationSlots::fileSaved ( )
signal
void MAKLogger::DtLgrAnnotationSlots::importFile ( )
slot
void MAKLogger::DtLgrAnnotationSlots::jumpToEnd ( )
slot

Slot for jumping the current time to the end of an annotation.

void MAKLogger::DtLgrAnnotationSlots::jumpToNext ( )
slot

Slot for jumping the current time to the next of an annotation.

void MAKLogger::DtLgrAnnotationSlots::jumpToPrevious ( )
slot

Slot for jumping the current time to the previous of an annotation.

void MAKLogger::DtLgrAnnotationSlots::jumpToStart ( )
slot

Slot for jumping the current time to the start of an annotation.

void MAKLogger::DtLgrAnnotationSlots::loggerFileDataChanged ( const DtLgrEditorInterface::FileDataOperations fileOp)
slot

Slot for handling when the logger file's data has been edited.

void MAKLogger::DtLgrAnnotationSlots::modifyAnnotation ( )
slot

Slot for modifying an annotation.

void MAKLogger::DtLgrAnnotationSlots::openCorrespondingFile ( QString  )
slot

Slot for opening a file via it's logger tape name.

void MAKLogger::DtLgrAnnotationSlots::openFile ( )
slot
void MAKLogger::DtLgrAnnotationSlots::openFile ( const QString &  filename)
slot
DtLgrAnnotationSlots& MAKLogger::DtLgrAnnotationSlots::operator= ( const DtLgrAnnotationSlots )
private

Not Implemented.

void MAKLogger::DtLgrAnnotationSlots::postModelUpdate ( DtLgrGuiModel model)
slot

Slot for post updates.

bool MAKLogger::DtLgrAnnotationSlots::prepareFileForClose ( )
slot

Prepare file for close, this will save the necessary file.

Return values
trueThe file is ready to be closed.
falseThe close was canceled.
void MAKLogger::DtLgrAnnotationSlots::quickModifyAnnotation ( )
slot

Slot for doing a 'quick' modify (using the current context settings).

void MAKLogger::DtLgrAnnotationSlots::saveFile ( )
slot
void MAKLogger::DtLgrAnnotationSlots::saveFileAs ( )
slot
void MAKLogger::DtLgrAnnotationSlots::selectAnnotation ( )
slot

Slot for selecting an annotation.

void MAKLogger::DtLgrAnnotationSlots::selectedAnnotationChanged ( DtLgrAnnotation )
slot
void MAKLogger::DtLgrAnnotationSlots::setAllowChanges ( bool  )
slot

Slot for enabling /disable modifications to the annotations.

void MAKLogger::DtLgrAnnotationSlots::setAutoLoad ( bool  )
slot

Slot for setting whether annotations files are automatically loaded.

This is typically linked the the 'auto play' concept for lgr tapes.

void MAKLogger::DtLgrAnnotationSlots::showHelp ( )
slot

Slot for showing help.

void MAKLogger::DtLgrAnnotationSlots::zoomToStartAndEnd ( )
slot

Slot for zooming to an annotation.

Member Data Documentation

DtLgrAnnotationComponent* MAKLogger::DtLgrAnnotationSlots::myComponent
protected
QString MAKLogger::DtLgrAnnotationSlots::myCorrespondingName
protected
DtLgrAnnotationManager* MAKLogger::DtLgrAnnotationSlots::myManager
protected
QString MAKLogger::DtLgrAnnotationSlots::myObjectToConvert
protected
DtLgrAnnotationView* MAKLogger::DtLgrAnnotationSlots::myView
protected

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

Document ID: Generated on Mon Jan 19 08:20:14 EST 2015 from SVN revision 149581
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)