VR-Forces 4.0.4 Class Documentation
include/tmEventHandler/createPointHandler.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: createPointHandler.h,v $ $Revision: 1.13 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef CREATEPOINTHANDLER_H_
00013 #define CREATEPOINTHANDLER_H_
00014 
00015 #include "tmEventHandler/createControlObjectHandler.h"
00016 #include "tmqt/eventSignaller.h"
00017 
00019 #include "tmEventHandler/tmEventHandlerDefines.h"
00020 class DT_DLL_tmEventHandler DtCreatePointHandler : public DtCreateControlObjectHandler
00021 {
00022    Q_OBJECT
00023    
00024 public:
00025 
00027    DtCreatePointHandler();
00028    
00030    virtual ~DtCreatePointHandler();
00031 
00032 public:
00034    static DtEventHandler* create(DtEventController* owner, void* usr);
00035 
00036 protected:
00037    virtual void initDialog(QWidget* w);
00038    virtual void initDialogConnections();
00039 
00040    virtual void setWorkingName();
00041 
00042    virtual DtSymbol* createSymbol(DtTMMapArea* area);
00043 
00046    virtual void pointSelected(const DtPoint& p);
00047 
00051    virtual void sendUserComplete(bool finish = false);
00052 
00054    virtual QString workingTitle() const;
00055    virtual const char* eventSignalName() { return DtCreatePointWidgetEvent; };
00056    virtual void setEmitCreateSignal(bool b);
00057 
00058 };
00059 
00060 #endif //CREATEPOINTHANDLER_H_

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)