Annotation top level view class. More...
Inheritance diagram for MAKLogger::DtLgrAnnotationView:
Collaboration diagram for MAKLogger::DtLgrAnnotationView: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 DtLgrZoomableWidget * | zoomComponent () |
| virtual void | updateVisibility (bool) |
| Provide update to view depending on component visibility. | |
| DtLgrAnnotationMenuBar * | menu () |
| Get menu. | |
| const DtLgrAnnotationMenuBar * | menu () const |
| Get menu. | |
| DtLgrAnnotationSlots * | annotationSlots () |
| 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 DtLgrAnnotation * | selectedAnnotation () |
| 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 | |
| DtLgrAnnotationSlots * | mySlots |
| DtLgrAnnotationManager * | myManager |
| DtLgrAnnotationBar * | myAnnotationBar |
| DtLgrAnnotationComponent * | myComponent |
| QMenuBar * | myMenuBar |
| QLabel * | myFileLabel |
| DtLgrAnnotationMenuBar * | myAnnotationMenuBar |
| QString | myFilename |
| bool | myFileSaved |
| QAction * | myPrevAnn |
| QAction * | myAnn |
| QAction * | myNextAnn |
Private Member Functions | |
| DtLgrAnnotationView (const DtLgrAnnotationView &) | |
| Not Implemented. | |
| DtLgrAnnotationView & | operator= (const DtLgrAnnotationView &) |
| Not Implemented. | |
Annotation top level view class.
| 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.