VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simulationModelSetLoadProgressWidget.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
13 #include <QtWidgets/QDialog>
14 #include <tbb/spin_mutex.h>
15 
16 #include <boost/signals2.hpp>
17 
18 class QProgressBar;
19 class QLabel;
20 class QPushButton;
21 
22 namespace makVrv
23 {
24  class DtDe;
25 }
26 
28 { Q_OBJECT;
29 public:
30 
31  DtSimulationModelSetLoadProgressWidget(QWidget* parent, makVrv::DtDe&, int entityCount);
33 
35  virtual void setProgress(double);
36 
38  virtual void updateProgressForEntityFiles();
39 
40  virtual double currentProgress();
41 
42  virtual void setText(const std::string&);
43 
44  boost::signals2::signal<void ()> signal_cancel;
45 
46 protected:
47  virtual void closeEvent(QCloseEvent*) override;
48 
49 public:
50 
54 
55 protected:
60 };
boost::signals2::signal< void()> signal_cancel
Definition: simulationModelSetLoadProgressWidget.h:44
QLabel * myLabel
Definition: simulationModelSetLoadProgressWidget.h:52
makVrv::DtDe & myDe
Definition: simulationModelSetLoadProgressWidget.h:56
QPushButton * myCancelButton
Definition: simulationModelSetLoadProgressWidget.h:53
Definition: simulationModelSetLoadProgressWidget.h:27
int myEntityCount
Definition: simulationModelSetLoadProgressWidget.h:58
int myIncrementForEntities
Definition: simulationModelSetLoadProgressWidget.h:57
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
bool myClosedNormally
Definition: simulationModelSetLoadProgressWidget.h:59
QProgressBar * myProgressBar
Definition: simulationModelSetLoadProgressWidget.h:51
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:33

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)