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:

List of all members.

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.


Member Function Documentation

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::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.

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::setAutoLoad ( bool  ) [slot]

Slot for setting whether annotations files are automatically loaded.

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


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

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)