VR-Forces Developer's Guide
 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:63
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
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: modelSetEntry.h:34
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. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
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: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)