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 bool | finishOnCreate () const |
| | Return true if want to finish on create by default. Default is false.
|
| virtual void | initFreehandMode () |
| | If symbol being created is in freehand mode, hide dialog and set freehand mode.
|
| virtual bool | mouseEvent (DtTMMapArea *area, QMouseEvent *evnt, const DtPoint &pnt) |
| | Override to check if in freehand mode, and, if so, when the mouse move event comes through, add a point.
|
| virtual void | freehandDraw (const DtPoint &pnt, bool end=false) |
| | Called to add the point to the line for freehand draw mode.
|
| virtual QString | workingTitle () const |
| | Override this method to return a different working point name than "working line".
|
| virtual const char * | eventSignalName () |
| virtual void | setEmitCreateSignal (bool) |
| | Emits signal when create, not actually do the creation. Default is false.
|
Protected Member Functions inherited from DtCreateControlObjectHandler |
| virtual QWidget * | createWidgetFor (const DtEntityMapperKey &key, QWidget *parent) |
| | Dialog creation routines. Creates the dialog from internally added dialog creators.
|
| virtual void | additionalTempSymbolModifications (QPolygon &pts) |
| | Additional modifications to be made to the temp symbol by subclasses.
|
| virtual void | initCreateConnections () |
| | Connections that are initialized when in create mode.
|
| virtual void | initEditConnections () |
| | Connections that are are made when editing.
|
| virtual void | pointSelected (const DtPoint &p) |
| virtual void | activate () |
| | Called when this event handler first becomes active.
|
| virtual void | deactivate () |
| | Called when we are decativated, acts as a cancel on the current event.
|
| virtual void | stop (const DtPoint &pnt) |
| virtual DtSymbol * | createTempSymbol (DtTMMapArea *area) |
| | Creates the temp symbol and sets the working name.
|
| virtual void | getVertices (QVector< DtPoint > &modelPoints) const |
| virtual bool | canPublish () const |
| virtual bool | isPublished () const |
| virtual void | setCaption (QWidget *w) |
| | Sets the caption for the dialog based on mode and type.
|
| virtual QString | defaultName () const |
| | Default name of any item of a particular type.
|
| virtual void | sendUserComplete (bool finish=false) |
| | Sends user complete message if show dialog type is Never.
|
| virtual bool | userDefinedAction (DtUserDefinedType iAction, void *usr) |
| virtual bool | complete () const |
| | Returns true if the item is complete by the number of points.
|
| virtual void | disconnectDialogConnections () |
| virtual void | disconnectEditConnections () |
| virtual void | disconnectCreateConnections () |
| virtual int | publishedEditTimeout () const |
| | 250 ms default, then, calls done to hide copied symbol
|
| virtual QPixmap | createCursor () |
| | Creates/restores the override cusror to display that the handler is in creation mode.
|
| virtual void | dialogDestroyedEvent () |
| | Called when dialog is destroyed.
|
Protected Member Functions inherited from DtCreationHandler |
| virtual void | cancel ()=0 |
| | Handle the cancelling of this object creation.
|
| virtual bool | enterEvent (DtTMMapArea *area, QEvent *evnt) |
| | Handles when the mouse enters a particular map area.
|
| virtual void | switchActiveMap (DtTMMapArea *area) |
| | Switches to the new active map and also sets up mouse tracking by turning off from old and activating on new.
|
| virtual void | trackMouseFor (DtTMMapArea *area, bool enable) |
| | Enables/disables mouse tracking for requested area.
|
| virtual void | showDialog (bool b) |
| | Override to show dialog only is dialog show type is WhenStartCreate, else show dialog when the appropriate conditions are met.
|
| virtual void | createComplete (bool finalPointSelected) |
| | Called at end of creation, will let the controller know we are done.
|
| virtual void | restoreCursor () |
| virtual bool | keyboardEvent (DtTMMapArea *area, QKeyEvent *evnt) |
| | Add escape key cancel.
|
Additional Inherited Members |
Public Slots inherited from DtCreateControlObjectHandler |
| virtual void | create (QVector< DtPoint > &points, QString name, QString label, QColor color, int forceType, int appearance, bool publish, QString attachTo, DtArchivableObject *userData, bool createDone=true) |
| | If createDone is false, dialog will not be removed and the create process can continue.
|
| virtual void | completeEdit (QString name, QString label, QColor color, int forceType, int appearance, bool publish, DtArchivableObject *userData) |
| virtual void | cancel () |
| virtual void | updateTempSymbol () |
| virtual void | redrawSymbol () |
| virtual void | clearHideSymbol () |
| virtual void | done () |
| | Called when finished creating or editing (either by OK or cancel)
|
Signals inherited from DtCreateControlObjectHandler |
| void | selectedPoint (const DtPoint &p) |
| void | userComplete (bool finish) |
| | Emitted when the user never wants to show the dialog, will tell the dialog that is hidden that the user has complete the operation.
|
Static Protected Attributes inherited from DtCreateControlObjectHandler |
static QList
< DtDialogCreatorInfo * > | myDialogCreators |
| | Dialog creators.
|
| static QString | theDefaultNameLabel |
This handler creates entities.