![]() |
VR-Forces 4.0.4 Class Documentation
|
This handler creates entities. More...

Public Member Functions | |
| DtCreatePointHandler () | |
| Default Constructor. | |
| virtual | ~DtCreatePointHandler () |
| Destructor. | |
Static Public Member Functions | |
| static DtEventHandler * | create (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 DtSymbol * | createSymbol (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. | |
This handler creates entities.
Default Constructor.
| virtual DtCreatePointHandler::~DtCreatePointHandler | ( | ) | [virtual] |
Destructor.
| 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.