MAK Data Logger API Documentation for HLA
lgrRangeAnnotationDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #ifndef lgrRangeAnnotationDialog_H_
10 #define lgrRangeAnnotationDialog_H_
11 
12 #include "lgrAnn.h"
13 #include <QtGui/QDialog>
14 #include "ui_rangeAnnotationDialogUI.h"
15 
16 namespace MAKLogger
17 {
18  class DtAbsoluteTime;
19  class DtLgrAnnotation;
20  class DtLgrGuiModel;
21  class DtLgrRangeAnnotation;
22 
25  class DT_DLL_LGRANN DtLgrRangeAnnotationDialog : public QDialog, public Ui::DtRangeAnnotationDialogUI
26  {
27  Q_OBJECT
28  public:
29 
31  static DtLgrAnnotation* createRangeAnnotation(QWidget* parent,
32  DtLgrGuiModel* model);
33 
35  static void modifyRangeAnnotation(QWidget* parent,DtLgrAnnotation*,
36  DtLgrGuiModel* model);
37 
39  DtLgrRangeAnnotationDialog(const QString& name,DtAbsoluteTime startTime,
40  DtAbsoluteTime endTime,const QString& text, QWidget* parent = 0);
41 
43  virtual ~DtLgrRangeAnnotationDialog();
44 
47  virtual void setAnnotation(DtLgrRangeAnnotation* annotation);
48 
50  DtLgrRangeAnnotation* annotation();
51 
52  public slots:
53 
55  void onOk();
56 
58  void onCancel();
59 
60  protected:
62  };
63 }
64 
65 #endif

Document ID: Generated on Sun Dec 15 18:04:30 EST 2013 from SVN revision 134418
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)