VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
navDataGeneratorDialog.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
10 #include <vrvUtil/signalslib.h>
12 #include <vlutil/vlFilename.h>
13 
14 #include <QtWidgets/QDialog>
15 #include <QProcess>
16 
17 class QPushButton;
18 class QLabel;
19 class QListWidget;
20 class QTextBrowser;
21 
22 namespace makVrv
23 {
24  class DtDe;
25 }
26 
28 {
29  Q_OBJECT
30 
31 public:
32  DtNavDataGeneratorDialog(makVrv::DtDe&, QWidget* parent=0, const Qt::WindowFlags& flags = Qt::Tool);
33 
34  virtual ~DtNavDataGeneratorDialog();
35 
36  virtual bool init(const DtFilename&, bool isModel);
37 
38  const DtFilename& navDataPath() const;
39 
40  boost::signal<void (bool)> signal_complete;
41 
42 protected:
43  virtual void reject();
44  virtual void tick();
45  virtual void accept();
46  virtual void closeEvent(QCloseEvent*);
47  virtual void addGeneratorInformation(const QString&);
48 
49 protected slots:
50  virtual void onGenerate();
51  virtual void validate();
52  virtual void generatorOutput();
53 
54 public:
56  QListWidget* myProfiles;
57  QTextBrowser* myGeneratorOutput;
59 
60 protected:
62  QProcess* myGeneratorProcess;
63  DtFilename myInputFilename;
64  DtFilename myNavDataPath;
65  DtFilename myOutputFilename;
66  bool mySucceded;
67  bool myIsModel;
68 };

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)