VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simulationObjectEditorCreateHandler.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 #pragma once
9 
13 #include <vrvUtil/DtUnicode.h>
15 
16 #include <QObject>
17 
19 class DtModelSetEntry;
20 
23 {
24  Q_OBJECT
25 
26 public:
27 
30 
33 
34 public:
37  static void registerInstance(makVrv::DtDe&, DtSimulationObjectEditorCreateHandler*);
38 
39  virtual QWidget* createDialog(QWidget* parent, int onlyForKind = -1);
40  virtual void showDialog(bool);
41 
42 public slots:
43  virtual DtModelSetEntry* createNewEntity(const DtString& parameterType,
44  DtObjectType base, const DtString& name,
45  const DtRwNLengthStringVector& categories = DtRwNLengthStringVector("categories"),
46  const makVrv::DtUnicode& elementDefinition = makVrv::DtUnicode::fromAscii(""));
47  virtual DtModelSetEntry* createFromExisting(const DtObjectType& base,
48  const DtRwNLengthStringVector& categories = DtRwNLengthStringVector("categories"));
49  virtual DtModelSetEntry* createNewSimulationObjectGroupFromExisting(const DtObjectType& base,
50  const DtRwNLengthStringVector& categories = DtRwNLengthStringVector("categories"));
51 
52  virtual DtModelSetEntry* inheritFromExisting(const DtObjectType& base,
53  const DtRwNLengthStringVector& categories = DtRwNLengthStringVector("categories"));
54 
55 protected:
57  QWidget* myEventDlg;
58 };
Instances of DtVrfObjectParameters are the readable/writeable objects that contain the information ne...
Definition: vrfObjectParameters.h:59
Virtual base class.
Definition: DtVirtualBaseClass.h:19
A unicode string.
Definition: DtUnicode.h:33
DtRwNLengthStringVector is a named, readable/writable vector of strings of arbitrary length...
Definition: rwNLengthStringVector.h:28
Definition: simulationObjectEditorCreateHandler.h:21
Definition: objectType.h:27
Description: A model is a set of items that defines a model to create in the back-end from the front-...
Definition: modelSetEntry.h:24
Contains makVrv::DtVirtualBaseClass class.
QWidget * myEventDlg
Definition: simulationObjectEditorCreateHandler.h:57
makVrv::DtDe & myDe
Definition: simulationObjectEditorCreateHandler.h:56
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
static DtUnicode fromAscii(const std::string &ascii)
Create a unicode string from an ascii string, the string MUST be zero terminated if the length is not...
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:32

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)