VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions
DtCreatePointHandler Class Reference

This handler creates entities. More...

Inheritance diagram for DtCreatePointHandler:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtCreatePointHandler ()
 Default Constructor.
virtual ~DtCreatePointHandler ()
 Destructor.

Static Public Member Functions

static DtEventHandlercreate (DtEventController *owner, void *usr)
 Static creator.

Protected Member Functions

virtual void initDialog (QWidget *w)
 Initializes dialog with default values.
virtual void initDialogConnections ()
 Uses myEventDlg pointer to init connections.
virtual void setWorkingName ()
 Sets the working name of the temp symbol.
virtual DtSymbolcreateSymbol (DtTMMapArea *area)
 Subclasses need to create temp symbol.
virtual void pointSelected (const DtPoint &p)
 Override to stop the movement of the point object if the left mouse button is pressed.
virtual void sendUserComplete (bool finish=false)
 Override to not send update message.
virtual QString workingTitle () const
 Override this method to return a different working point name than "working point".
virtual const char * eventSignalName ()
virtual void setEmitCreateSignal (bool b)
 Emits signal when create, not actually do the creation. Default is false.

Detailed Description

This handler creates entities.


Constructor & Destructor Documentation

Default Constructor.

Destructor.


Member Function Documentation

static DtEventHandler* DtCreatePointHandler::create ( DtEventController owner,
void *  usr 
) [static]

Static creator.

Reimplemented in DtTerrainCreatePointHandler.

virtual void DtCreatePointHandler::initDialog ( QWidget w) [protected, virtual]

Initializes dialog with default values.

Reimplemented from DtCreateControlObjectHandler.

virtual void DtCreatePointHandler::initDialogConnections ( ) [protected, virtual]

Uses myEventDlg pointer to init connections.

Set as function of calling createWidgetForCategory from createDialog. Common connections plus call to edit or create connections depending on mode

Reimplemented from DtCreateControlObjectHandler.

virtual void DtCreatePointHandler::setWorkingName ( ) [protected, virtual]

Sets the working name of the temp symbol.

Implements DtCreateControlObjectHandler.

virtual DtSymbol* DtCreatePointHandler::createSymbol ( DtTMMapArea area) [protected, virtual]

Subclasses need to create temp symbol.

Reimplemented from DtCreateControlObjectHandler.

virtual void DtCreatePointHandler::pointSelected ( const DtPoint p) [protected, virtual]

Override to stop the movement of the point object if the left mouse button is pressed.

Reimplemented from DtCreateControlObjectHandler.

virtual void DtCreatePointHandler::sendUserComplete ( bool  finish = false) [protected, virtual]

Override to not send update message.

Will rather tell the controller we are done with creation and our final point was selected. This means that the current object will not be created

Reimplemented from DtCreateControlObjectHandler.

virtual QString DtCreatePointHandler::workingTitle ( ) const [protected, virtual]

Override this method to return a different working point name than "working point".

virtual const char* DtCreatePointHandler::eventSignalName ( ) [inline, protected, virtual]

Reimplemented from DtCreateControlObjectHandler.

References DtCreatePointWidgetEvent.

virtual void DtCreatePointHandler::setEmitCreateSignal ( bool  b) [protected, virtual]

Emits signal when create, not actually do the creation. Default is false.

Reimplemented from DtCreationHandler.


The documentation for this class was generated from the following file:

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)