MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
graphDialog.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2017 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include "rtiMsConfig.h"
13 #include <QDialog>
14 
16 class QLabel;
17 class QDialogButtonBox;
18 
22 {
23  Q_OBJECT
24 
25 public:
26 
28  {
29  DtValueGraph, // graphs the actual values (e.g. number of msgs)
30  DtRateGraph // graphs the rate of the values (e.g. number of msgs/sec)
31  };
32 
34  DtGraphDialog(const QString& description, const QString& units,
35  DtGraphType type, QWidget* parent = 0, Qt::WindowFlags f = 0);
36 
38  ~DtGraphDialog();
39 
41  void addPoint(double time, double val);
42 
44  void clearGraph();
45 
46 private:
47 
50 
52  DtGraphDialog &operator=(const DtGraphDialog&);
53 
54 protected:
55 
58 
60  QDialogButtonBox* myButtonBox;
61 
64 
67 
70 
73 
75  unsigned mySeriesId;
76 };
QDialogButtonBox * myButtonBox
The button box for the dialog.
Definition: graphDialog.h:60
DtAssistantPlotWidget * myGraph
The graph.
Definition: graphDialog.h:57
unsigned mySeriesId
The series ID displayed by this graph.
Definition: graphDialog.h:75
DtGraphType myGraphType
The graph type.
Definition: graphDialog.h:66
double myLastGraphedTime
The time value (x axis) of the last graphed point.
Definition: graphDialog.h:69
double myLastGraphedValue
The data value (y axis) of the last graphed point.
Definition: graphDialog.h:72
Definition: graphDialog.h:29
A dialog containing a graph of a single series of data.
Definition: graphDialog.h:21
DtGraphType
Definition: graphDialog.h:27
A tab widget with components for graphing data over time.
Definition: assistantPlotWidget.h:26
#define DT_DLL_ASSISTANTAPP
Definition: rtiMsConfig.h:151
QLabel * myLabel
The description label for the dialog.
Definition: graphDialog.h:63

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)