MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrPointAnnotationDialog.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 lgrPointAnnotationDialog_H_
10 #define lgrPointAnnotationDialog_H_
11 
12 #include <lgrAnnotations/lgrAnn.h>
13 #include <QDialog>
14 #include "ui_pointAnnotationDialogUI.h"
15 
16 namespace MAKLogger
17 {
18  class DtLgrAnnotation;
19  class DtLgrPointAnnotation;
20  class DtLgrGuiModel;
21 
25  {
26  Q_OBJECT
27  public:
28 
30  static DtLgrAnnotation* createPointAnnotation(QWidget* parent,
31  DtLgrGuiModel*);
32 
34  static void modifyPointAnnotation(QWidget* parent,DtLgrAnnotation*,
35  DtLgrGuiModel*);
36 
38  DtLgrPointAnnotationDialog(const QString& name,const QString& text,
39  double time, QWidget* parent = 0);
40 
42  virtual ~DtLgrPointAnnotationDialog();
43 
46  virtual void setAnnotation(DtLgrPointAnnotation* annotation);
47 
49  DtLgrPointAnnotation* annotation();
50 
51  public slots:
52 
54  void onOk();
55 
57  void onCancel();
58 
59  protected:
61  };
62 }
63 
64 #endif
Represents an annotation for a specific point in time.
Definition: lgrPointAnnotation.h:30
Defines INPORT/EXPORT macros for lgrGui library.
DtLgrPointAnnotation * myCreateAnnotation
Definition: lgrPointAnnotationDialog.h:60
The logger GUI&#39;s model.
Definition: lgrGuiModel.h:56
Base annotation class defines interface for all annotations.
Definition: lgrAnnotation.h:26
Point annotation dialog which can create a point annotation from user input.
Definition: lgrPointAnnotationDialog.h:24
#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)