Public Slots | Public Member Functions | Protected Attributes | Private Member Functions
MAKLogger::DtLgrAnnotationView Class Reference

Annotation top level view class. More...

+ Inheritance diagram for MAKLogger::DtLgrAnnotationView:
+ Collaboration diagram for MAKLogger::DtLgrAnnotationView:

List of all members.

Public Slots

virtual void enableView (bool)
 Override default to disable menu.
void onPrevAnnotation ()
 Navigate and create Annotations from actions on toolbar.
void onAnnotate ()
 Navigate and create Annotations from actions on toolbar.
void onNextAnnotation ()
 Navigate and create Annotations from actions on toolbar.

Public Member Functions

 DtLgrAnnotationView (DtLgrAnnotationComponent *component, DtLgrAnnotationManager *manager, QWidget *parent)
 CTOR.
virtual ~DtLgrAnnotationView ()
 DTOR.
virtual void connectSlots (DtLgrAnnotationSlots *)
virtual DtLgrZoomableWidgetzoomComponent ()
virtual void updateVisibility (bool)
 Provide update to view depending on component visibility.
DtLgrAnnotationMenuBarmenu ()
 Get menu.
const DtLgrAnnotationMenuBarmenu () const
 Get menu.
DtLgrAnnotationSlotsannotationSlots ()
 Get the annotation slots.
virtual void annotationAdded (DtLgrAnnotation *annotation)
 Inform view that an annotation has been added.
virtual void annotationRemoved (DtLgrAnnotation *annotation)
 Inform view that an annotation has been removed.
virtual void annotationChanged (DtLgrAnnotation *annotation)
 Inform view that an annotation has changed.
virtual void selectAnnotation (DtLgrAnnotation *annotation)
 Inform view that an annotation was selected.
virtual DtLgrAnnotationselectedAnnotation ()
 Get the selected annotation (or 0 if none are selected).
QString filename () const
 Set the file name of the open file.
virtual void setFilename (const QString &filename, bool saved)
virtual void fileOpened (const DtString &filename)
 Called when a new file is opened.
virtual void fileClosed ()
 Called when file is closed.
virtual void fileSaved (const DtString &filename)
 Called when file is saved.
bool queryUserOpenFile (QString &returnedName)
 Query user to open file.
bool queryUserOpenSpecificFile (const QString &filename)
 Query user to open a specific existing file.
bool queryUserSaveAsFile (QString &returnedName)
 Query user to save file.
int queryUserCloseUnsavedFile ()
 Query user to close unsaved file.
void unableToAllowChange ()
 Inform user the annotations may not be changed.
void releaseMenuBar ()
 Called to release menu bar reference.
void connectToolbar ()
 connect signals to slots in the Annotations Toolbar

Protected Attributes

DtLgrAnnotationSlotsmySlots
DtLgrAnnotationManagermyManager
DtLgrAnnotationBarmyAnnotationBar
DtLgrAnnotationComponentmyComponent
QMenuBar * myMenuBar
QLabel * myFileLabel
DtLgrAnnotationMenuBarmyAnnotationMenuBar
QString myFilename
bool myFileSaved
QAction * myPrevAnn
QAction * myAnn
QAction * myNextAnn

Private Member Functions

 DtLgrAnnotationView (const DtLgrAnnotationView &)
 Not Implemented.
DtLgrAnnotationViewoperator= (const DtLgrAnnotationView &)
 Not Implemented.

Detailed Description

Annotation top level view class.


Member Function Documentation

void MAKLogger::DtLgrAnnotationView::releaseMenuBar ( )

Called to release menu bar reference.

This function is called by the menu bar when it be deallocated since the window was closed.

virtual void MAKLogger::DtLgrAnnotationView::updateVisibility ( bool  ) [virtual]

Provide update to view depending on component visibility.

Ie change menu items due to the component being hidden.


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)