MAK Data Logger API Documentation for DIS
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
lgrAnnotations
lgrAnnotationComponent.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
******************************************************************************/
5
7
8
#ifndef lgrAnnotationComponent_H_
9
#define lgrAnnotationComponent_H_
10
11
#include "
lgrAnn.h
"
12
#include "
lgrGuiComponent.h
"
13
#include "
timeComponent.h
"
14
15
namespace
MAKLogger
16
{
17
class
DtLgrAnnotationManager;
18
class
DtLgrAnnotationSlots;
19
class
DtLgrAnnotationView;
20
class
DtLoggerApplication;
21
class
DtLgrGuiModel;
22
24
class
DT_DLL_LGRANN
DtLgrAnnotationComponent
:
public
DtLgrGuiComponent
25
{
26
public
:
27
28
DtLgrAnnotationComponent
(
DtLoggerApplication
& application);
29
30
virtual
~
DtLgrAnnotationComponent
();
31
32
private
:
34
DtLgrAnnotationComponent
(
const
DtLgrAnnotationComponent
&);
36
DtLgrAnnotationComponent
& operator=(
const
DtLgrAnnotationComponent
&);
37
38
public
:
39
41
virtual
void
showComponent();
42
44
virtual
void
hideComponent();
45
47
//
50
virtual
QWidget
* initialize(
QWidget
* parent);
51
53
virtual
void
activate();
54
56
virtual
void
deactivate();
57
60
//
65
virtual
bool
canExit()
const
;
66
69
//
73
virtual
bool
canCloseFile()
const
;
74
76
//
80
virtual
double
updateTime();
81
83
//
85
virtual
void
update();
86
87
89
const
DtLgrAnnotationView
* view()
const
;
90
92
//
96
virtual
DtLgrZoomableWidget
* zoomComponent();
97
99
virtual
DtLoggerApplication
& application();
100
virtual
const
DtLoggerApplication
& application()
const
;
101
103
104
105
virtual
DtLgrGuiModel
* model();
106
virtual
const
DtLgrGuiModel
* model()
const
;
108
110
DtLgrAnnotationManager
* manager();
111
112
protected
:
113
DtLoggerApplication
&
myApplication
;
114
DtLgrGuiModel
*
myModel
;
115
DtLgrAnnotationView
*
myAnnotationView
;
116
DtLgrAnnotationManager
*
myManager
;
117
DtLgrAnnotationSlots
*
mySlots
;
118
bool
myActivatedFlag
;
119
};
120
121
}
122
123
#endif
124
Document ID: Generated on Thu Apr 11 12:13:00 EDT 2013 from SVN revision 126011
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)