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-2026 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 <QColor>
14 #include <QDialog>
15 #include "ui_pointAnnotationDialogUI.h"
16 
17 namespace MAKLogger
18 {
19  class DtLgrAnnotation;
20  class DtLgrPointAnnotation;
21  class DtLgrGuiModel;
22 
26  {
27  Q_OBJECT
28  public:
29 
31  static DtLgrAnnotation* createPointAnnotation(QWidget* parent,
32  DtLgrGuiModel*);
33 
35  static void modifyPointAnnotation(QWidget* parent,DtLgrAnnotation*,
36  DtLgrGuiModel*);
37 
39  DtLgrPointAnnotationDialog(const QString& name,const QString& text,
40  double time, QWidget* parent = 0, const QColor& color = QColor());
41 
43  virtual ~DtLgrPointAnnotationDialog();
44 
47  virtual void setAnnotation(DtLgrPointAnnotation* annotation);
48 
50  DtLgrPointAnnotation* annotation();
51 
52  public slots:
53 
55  void onOk();
56 
58  void onCancel();
59 
60  protected:
62  };
63 }
64 
65 #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:61
The logger GUI&#39;s model.
Definition: lgrGuiModel.h:56
Base annotation class defines interface for all annotations.
Definition: lgrAnnotation.h:31
Point annotation dialog which can create a point annotation from user input.
Definition: lgrPointAnnotationDialog.h:25
#define DT_DLL_LGRANN
Definition: lgrAnn.h:19

Document ID: Generated on Tue Nov 17 15:25:07 EST 2026 from SVN revision 298446
Copyright © 2026 MAK Technologies. All Rights Reserved (www.mak.com)