MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrRangeAnnotationDialog.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 lgrRangeAnnotationDialog_H_
10 #define lgrRangeAnnotationDialog_H_
11 
12 #include <lgrAnnotations/lgrAnn.h>
13 #include <QColor>
14 #include <QDialog>
15 #include "ui_rangeAnnotationDialogUI.h"
16 
17 namespace MAKLogger
18 {
19  class DtAbsoluteTime;
20  class DtLgrAnnotation;
21  class DtLgrGuiModel;
22  class DtLgrRangeAnnotation;
23 
26  class DT_DLL_LGRANN DtLgrRangeAnnotationDialog : public QDialog, public Ui::DtRangeAnnotationDialogUI
27  {
28  Q_OBJECT
29  public:
30 
32  static DtLgrAnnotation* createRangeAnnotation(QWidget* parent,
33  DtLgrGuiModel* model);
34 
36  static void modifyRangeAnnotation(QWidget* parent,DtLgrAnnotation*,
37  DtLgrGuiModel* model);
38 
40  DtLgrRangeAnnotationDialog(const QString& name,DtAbsoluteTime startTime,
41  DtAbsoluteTime endTime,const QString& text, QWidget* parent = 0,
42  const QColor& color = QColor());
43 
45  virtual ~DtLgrRangeAnnotationDialog();
46 
49  virtual void setAnnotation(DtLgrRangeAnnotation* annotation);
50 
52  DtLgrRangeAnnotation* annotation();
53 
54  public slots:
55 
57  void onOk();
58 
60  void onCancel();
61 
62  protected:
64  };
65 }
66 
67 #endif
Defines INPORT/EXPORT macros for lgrGui library.
The logger GUI&#39;s model.
Definition: lgrGuiModel.h:56
Base annotation class defines interface for all annotations.
Definition: lgrAnnotation.h:31
DtLgrRangeAnnotation * myCreateAnnotation
Definition: lgrRangeAnnotationDialog.h:63
class DT_DLL_LGRUTIL DtAbsoluteTime
Definition: absoluteTime.h:22
Range annotation dialog which can create a Range annotation from user input.
Definition: lgrRangeAnnotationDialog.h:26
Class responsible for representing an annotation over a span of time.
Definition: lgrRangeAnnotation.h:28
Absolute Time, a particular measured instance in time, could be thought of as a set of relative times...
Definition: absoluteTime.h:82
#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)