VR-Forces 4.1 Class Documentation
entityEditorCreateHandler.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #ifndef DTENTITYEDITORCREATEHANDLER_H_
10 #define DTENTITYEDITORCREATEHANDLER_H_
11 
12 #include "tmqt/eventHandler.h"
16 
17 class DtObjectType;
19 
21 {
22  Q_OBJECT
23 
24 public:
25 
28 
30  virtual ~DtEntityEditorCreateHandler();
31 
32 public:
34  static DtEventHandler* create(DtEventController* owner, void* usr);
35 
36 protected:
37  virtual QWidget* createDialog(QWidget* parent);
38  virtual void showDialog(bool);
39 
41  virtual void setDefaultParameterValues(DtVrfObjectParameters* params);
42 
43 public slots:
44  virtual void createNewEntity(const DtString& parameterType,
45  const DtObjectType& base, const DtString& name,
46  const DtRwNLengthStringVector& categories = DtRwNLengthStringVector("categories"));
47  virtual void createFromExisting(const DtObjectType& base,
48  const DtRwNLengthStringVector& categories = DtRwNLengthStringVector("categories"));
49 };
50 
51 #endif //DtVrfCreateEntryHandler_H_
52 
53 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)