MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrAnnotationSlots.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #ifndef lgrAnnotationSlots_H_
10 #define lgrAnnotationSlots_H_
11 
12 #include <lgrAnnotations/lgrAnn.h>
14 
15 #include <QObject>
16 
17 namespace MAKLogger
18 {
19 
20  class DtLgrGuiModel;
21  class DtLgrAnnotationComponent;
22  class DtLgrAnnotationBar;
23  class DtLgrAnnotationMenuBar;
24  class DtLgrAnnotationManager;
25  class DtLgrAnnotationView;
26  class DtLgrAnnotation;
27 
30  {
31  Q_OBJECT
32 
33  public:
34 
39 
41  virtual ~DtLgrAnnotationSlots();
42 
43  private:
47  DtLgrAnnotationSlots& operator=(const DtLgrAnnotationSlots&);
48 
49  public slots:
50 
52  void postModelUpdate(DtLgrGuiModel& model);
53 
55  void openCorrespondingFile(QString);
56 
58  void closeCorrespondingFile(bool opening);
59 
61  void loggerFileDataChanged(const DtLgrEditorInterface::FileDataOperations& fileOp);
62 
66  void setAutoLoad(bool);
67 
69  void setAllowChanges(bool);
70 
71  void openFile();
72  void openFile(const QString& filename);
73 
74  void importFile();
75  void saveFile();
76  void saveFileAs();
77 
81  bool prepareFileForClose();
82 
88  bool closeFile();
89 
91  void createAnnotation();
92 
94  void modifyAnnotation();
95 
97  void quickModifyAnnotation();
98 
100  void deleteAnnotation();
101 
103  void selectAnnotation();
104 
108  void convertAnnotationFromMenu();
109 
111  void convertAnnotation();
112 
114  void convertAnnotation(QString type);
115 
117  void jumpToPrevious();
118 
120  void jumpToNext();
121 
123  void jumpToStart();
124 
126  void jumpToEnd();
127 
129  void boundToStartAndEnd();
130 
132  void zoomToStartAndEnd();
133 
135  void showHelp();
136 
138  void emitAnnotationsChanged();
139 
140  void selectedAnnotationChanged(DtLgrAnnotation*);
141 
142  signals:
143  void fileOpened();
144  void fileSaved();
145  void fileClosed();
146  void annotationsChanged();
147 
148  protected:
149 
151  virtual void saveFileAs(QString promptFile);
152 
153 
154  protected:
160  };
161 
162 }
163 
164 #endif
Contains MAKLogger::DtLgrEditorInterface subclass of MAKLogger::DtLgrSystemInterface.
QString myObjectToConvert
Definition: lgrAnnotationSlots.h:159
DtLgrAnnotationView * myView
Definition: lgrAnnotationSlots.h:156
DtLgrAnnotationManager * myManager
Definition: lgrAnnotationSlots.h:157
Defines INPORT/EXPORT macros for lgrGui library.
The logger GUI&#39;s model.
Definition: lgrGuiModel.h:56
FileDataOperations
Data operation types.
Definition: lgrEditorInterface.h:36
Base annotation class defines interface for all annotations.
Definition: lgrAnnotation.h:26
Manages annotations.
Definition: lgrAnnotationManager.h:28
DtLgrAnnotationComponent * myComponent
Definition: lgrAnnotationSlots.h:155
Annotation top level view class.
Definition: lgrAnnotationView.h:33
QString myCorrespondingName
Definition: lgrAnnotationSlots.h:158
Creates View and Slots, and implements standard Logger GUI Component methods.
Definition: lgrAnnotationComponent.h:24
Annotation slots connects menu bar and annotation control.
Definition: lgrAnnotationSlots.h:29
#define DT_DLL_LGRANN
Definition: lgrAnn.h:19

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)