VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
systemTrajectoryTableParameterDataWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 VT MAK, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 #include <QtWidgets/QDialog>
16 #include <vlutil/vlSmartPointers.h>
17 #include <QDoubleValidator>
18 #include <vector>
19 
20 #include "ui_systemTrajectoryTableParameterDataUI.h"
21 
23 namespace makVrv
24 {
25  class DtDe;
26 }
27 
29 {
30  Q_OBJECT
31 public:
32  DtSystemTrajectoryTableParameterDataWidget(makVrv::DtDe& de, const QString& dataPath, QWidget* parent, Qt::WindowFlags f = Qt::Tool);
33 
35 
36  typedef std::vector<double> RowData;
37  typedef std::vector<RowData> TableData;
38 
39  virtual void addRow();
40 
42  virtual void getTableData(DtSystemTrajectoryTableParameterDataWidget::TableData& td) const;
43 
45  virtual void setTableData(const DtSystemTrajectoryTableParameterDataWidget::TableData& td);
46 
47 signals:
48 
49  void changed();
50 
51 public slots:
52  virtual void onAddClicked();
53  virtual void onRemoveClicked();
54  virtual void onEditClicked();
55 
56 public:
57  Ui::DtSystemTrajectoryTableParameterDataUI myUiImpl;
58 
59  QDoubleValidator *pMyValidator;
60 
61 protected:
63 };
QDoubleValidator * pMyValidator
Definition: systemTrajectoryTableParameterDataWidget.h:59
Ui::DtSystemTrajectoryTableParameterDataUI myUiImpl
Definition: systemTrajectoryTableParameterDataWidget.h:57
std::vector< double > RowData
Definition: systemTrajectoryTableParameterDataWidget.h:36
std::vector< RowData > TableData
Definition: systemTrajectoryTableParameterDataWidget.h:37
Definition: systemTrajectoryTableParameterDataWidget.h:28
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:33
makVrv::DtDe & myDe
Definition: systemTrajectoryTableParameterDataWidget.h:62

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)