VR-Forces 4.0.4 Class Documentation
include/entityEditorImpl/entityEditorCreateHandler.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2007 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: entityEditorCreateHandler.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DTENTITYEDITORCREATEHANDLER_H_
00013 #define DTENTITYEDITORCREATEHANDLER_H_
00014 
00015 #include "tmqt/eventHandler.h"
00016 #include "entityEditorImpl/entityEditorEventHandlers.h"
00017 #include "entityEditorImpl/entityEditorImplDefines.h"
00018 
00019 class DtObjectType;
00020 class DtVrfObjectParameters;
00021 
00022 class DT_DLL_entityeditorimpl DtEntityEditorCreateHandler : public DtEventHandler
00023 {
00024    Q_OBJECT
00025    
00026 public:
00027 
00029    DtEntityEditorCreateHandler();
00030    
00032    virtual ~DtEntityEditorCreateHandler();
00033 
00034 public:
00036    static DtEventHandler* create(DtEventController* owner, void* usr);
00037 
00038 protected:
00039    virtual QWidget* createDialog(QWidget* parent);
00040    virtual void showDialog(bool);
00041 
00043    virtual void setDefaultParameterValues(DtVrfObjectParameters* params);
00044 
00045 public slots:
00046    virtual void createNewEntity(const DtString& parameterType,
00047       const DtObjectType& base, const DtString& name);
00048    virtual void createFromExisting(const DtObjectType& base);
00049 };
00050 
00051 #endif //DtVrfCreateEntryHandler_H_
00052 
00053 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)