MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | 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:

Public Slots

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

Public Member Functions

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

Protected Attributes

DtLgrAnnotationSlotsmySlots
 
DtLgrAnnotationManagermyManager
 
DtLgrAnnotationBarmyAnnotationBar
 
DtLgrAnnotationComponentmyComponent
 
QMenuBar * myMenuBar
 
QLabel * myFileLabel
 
DtLgrAnnotationMenuBarmyAnnotationMenuBar
 
QString myFilename
 
bool myFileSaved
 
QPushButton * myPrevAnn
 
QPushButton * myInstantPointAnn
 
QPushButton * myInstantRangeAnn
 
QPushButton * myUpdateAnn
 
QPushButton * myNextAnn
 

Private Member Functions

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

Detailed Description

Annotation top level view class.

Constructor & Destructor Documentation

MAKLogger::DtLgrAnnotationView::DtLgrAnnotationView ( DtLgrAnnotationComponent component,
DtLgrAnnotationManager manager,
QWidget parent 
)

CTOR.

virtual MAKLogger::DtLgrAnnotationView::~DtLgrAnnotationView ( )
virtual

DTOR.

MAKLogger::DtLgrAnnotationView::DtLgrAnnotationView ( const DtLgrAnnotationView )
private

Not Implemented.

Member Function Documentation

virtual void MAKLogger::DtLgrAnnotationView::annotationAdded ( DtLgrAnnotation annotation)
virtual

Inform view that an annotation has been added.

Implements MAKLogger::DtLgrAnnotationBaseView.

virtual void MAKLogger::DtLgrAnnotationView::annotationChanged ( DtLgrAnnotation annotation)
virtual

Inform view that an annotation has changed.

Implements MAKLogger::DtLgrAnnotationBaseView.

DtLgrAnnotationComponent* MAKLogger::DtLgrAnnotationView::annotationComponent ( )

Get the annotation component.

virtual void MAKLogger::DtLgrAnnotationView::annotationRemoved ( DtLgrAnnotation annotation)
virtual

Inform view that an annotation has been removed.

Implements MAKLogger::DtLgrAnnotationBaseView.

DtLgrAnnotationSlots* MAKLogger::DtLgrAnnotationView::annotationSlots ( )

Get the annotation slots.

virtual void MAKLogger::DtLgrAnnotationView::connectSlots ( DtLgrAnnotationSlots )
virtual
void MAKLogger::DtLgrAnnotationView::connectToolbar ( )

connect signals to slots in the Annotations Toolbar

virtual void MAKLogger::DtLgrAnnotationView::enableView ( bool  )
virtualslot

Override default to disable menu.

virtual void MAKLogger::DtLgrAnnotationView::fileClosed ( )
virtual

Called when file is closed.

Implements MAKLogger::DtLgrAnnotationBaseView.

QString MAKLogger::DtLgrAnnotationView::filename ( ) const

Set the file name of the open file.

virtual void MAKLogger::DtLgrAnnotationView::fileOpened ( const DtString &  filename)
virtual

Called when a new file is opened.

Implements MAKLogger::DtLgrAnnotationBaseView.

virtual void MAKLogger::DtLgrAnnotationView::fileSaved ( const DtString &  filename)
virtual

Called when file is saved.

Implements MAKLogger::DtLgrAnnotationBaseView.

DtLgrAnnotationMenuBar* MAKLogger::DtLgrAnnotationView::menu ( )

Get menu.

const DtLgrAnnotationMenuBar* MAKLogger::DtLgrAnnotationView::menu ( ) const

Get menu.

void MAKLogger::DtLgrAnnotationView::onNextAnnotation ( )
slot

Navigate and create Annotations from actions on toolbar.

void MAKLogger::DtLgrAnnotationView::onPointAnnotate ( )
slot

Navigate and create Annotations from actions on toolbar.

void MAKLogger::DtLgrAnnotationView::onPrevAnnotation ( )
slot

Navigate and create Annotations from actions on toolbar.

void MAKLogger::DtLgrAnnotationView::onRangeAnnotate ( )
slot

Navigate and create Annotations from actions on toolbar.

void MAKLogger::DtLgrAnnotationView::onUpdateAnnotate ( )
slot

Navigate and create Annotations from actions on toolbar.

DtLgrAnnotationView& MAKLogger::DtLgrAnnotationView::operator= ( const DtLgrAnnotationView )
private

Not Implemented.

int MAKLogger::DtLgrAnnotationView::queryUserCloseUnsavedFile ( )

Query user to close unsaved file.

bool MAKLogger::DtLgrAnnotationView::queryUserOpenFile ( QString &  returnedName)

Query user to open file.

bool MAKLogger::DtLgrAnnotationView::queryUserOpenSpecificFile ( const QString &  filename)

Query user to open a specific existing file.

bool MAKLogger::DtLgrAnnotationView::queryUserSaveAsFile ( QString &  returnedName)

Query user to save file.

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::selectAnnotation ( DtLgrAnnotation annotation)
virtual

Inform view that an annotation was selected.

Implements MAKLogger::DtLgrAnnotationBaseView.

virtual DtLgrAnnotation* MAKLogger::DtLgrAnnotationView::selectedAnnotation ( )
virtual

Get the selected annotation (or 0 if none are selected).

virtual void MAKLogger::DtLgrAnnotationView::setFilename ( const QString &  filename,
bool  saved 
)
virtual
void MAKLogger::DtLgrAnnotationView::unableToAllowChange ( )

Inform user the annotations may not be changed.

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.

virtual DtLgrZoomableWidget* MAKLogger::DtLgrAnnotationView::zoomComponent ( )
virtual

Member Data Documentation

DtLgrAnnotationBar* MAKLogger::DtLgrAnnotationView::myAnnotationBar
protected
DtLgrAnnotationMenuBar* MAKLogger::DtLgrAnnotationView::myAnnotationMenuBar
protected
DtLgrAnnotationComponent* MAKLogger::DtLgrAnnotationView::myComponent
protected
QLabel* MAKLogger::DtLgrAnnotationView::myFileLabel
protected
QString MAKLogger::DtLgrAnnotationView::myFilename
protected
bool MAKLogger::DtLgrAnnotationView::myFileSaved
protected
QPushButton* MAKLogger::DtLgrAnnotationView::myInstantPointAnn
protected
QPushButton* MAKLogger::DtLgrAnnotationView::myInstantRangeAnn
protected
DtLgrAnnotationManager* MAKLogger::DtLgrAnnotationView::myManager
protected
QMenuBar* MAKLogger::DtLgrAnnotationView::myMenuBar
protected
QPushButton* MAKLogger::DtLgrAnnotationView::myNextAnn
protected
QPushButton* MAKLogger::DtLgrAnnotationView::myPrevAnn
protected
DtLgrAnnotationSlots* MAKLogger::DtLgrAnnotationView::mySlots
protected
QPushButton* MAKLogger::DtLgrAnnotationView::myUpdateAnn
protected

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

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)