VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
entityEditorCreateHandler.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 <vrfExtProtocol/objectType.h>
14 
15 #include <QObject>
16 
18 
21 {
22  Q_OBJECT
23 
24 public:
25 
28 
30  virtual ~DtEntityEditorCreateHandler();
31 
32 public:
34  static DtEntityEditorCreateHandler& instance(makVrv::DtDe&);
35  static void registerInstance(makVrv::DtDe&, DtEntityEditorCreateHandler*);
36 
37  virtual QWidget* createDialog(QWidget* parent);
38  virtual void showDialog(bool);
39 
40 public slots:
41  virtual void createNewEntity(const DtString& parameterType,
42  DtObjectType base, const DtString& name,
43  const DtRwNLengthStringVector& categories = DtRwNLengthStringVector("categories"));
44  virtual void createFromExisting(const DtObjectType& base,
45  const DtRwNLengthStringVector& categories = DtRwNLengthStringVector("categories"));
46 
47 protected:
50 };

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)