VR-Forces 4.1.1 Class Documentation
List of all members | Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtTerrainViewOptionsHandler Class Reference
Inheritance diagram for DtTerrainViewOptionsHandler:
Inheritance graph
[legend]

Public Slots

virtual void initConnections (DtTMArea *area)
virtual void initNewMapArea (DtTMMapArea *area)
 Initializes the terrain dialog to hook to a new active map area.
virtual void dlgDestroyed ()
- Public Slots inherited from DtEventHandler
virtual bool mouseEvent (DtTMMapArea *, QMouseEvent *evnt, const DtPoint &pnt)
virtual bool keyboardEvent (DtTMMapArea *, QKeyEvent *evnt)
virtual bool symbolsSelected (DtTMMapArea *area, DtSymbolList *sl)
virtual bool selectionUpdated (DtTMMapArea *area, const QVector< DtModelKey > &d)
virtual bool selectionInProgress (DtTMMapArea *area, DtSymbolSelector &d)
virtual bool focusEvent (DtTMMapArea *, QEvent *evnt)
virtual bool enterEvent (DtTMMapArea *area, QEvent *evnt)
virtual bool leaveEvent (DtTMMapArea *area, QEvent *evnt)
virtual bool dropEvent (DtTMMapArea *area, QDropEvent *evnt)
virtual bool dragEnterEvent (DtTMMapArea *area, QDragEnterEvent *evnt)
virtual bool dragMoveEvent (DtTMMapArea *area, QDragMoveEvent *evnt)
virtual bool dragLeaveEvent (DtTMMapArea *area, QDragLeaveEvent *evnt)
virtual bool userDefinedAction (DtUserDefinedType iAction, void *usr)
virtual bool aboutToDraw (DtTMMapArea *area, QPainter *)
virtual bool mapActivated (DtTMMapArea *area)
virtual bool selectedModelDataUpdated (DtTMMapArea *area)
virtual bool symbolAdded (DtTMMapArea *area, const DtModelKey &)
virtual bool symbolRemoved (DtTMMapArea *area, const DtModelKey &)
virtual bool disconnecting (DtTMMapArea *area)
 Called when a map is being disconnect from an event handler.
virtual bool connecting (DtTMMapArea *area)
 Called when a map is being connected to an event handler.
virtual void tick ()
virtual void clearDialog ()

Public Member Functions

 DtTerrainViewOptionsHandler ()
 Default Constructor.
virtual ~DtTerrainViewOptionsHandler ()
 Destructor.
virtual QWidgetcreateDialog (QWidget *parent)
 Creates the dialog associated with this handler (if there is one)
- Public Member Functions inherited from DtEventHandler
 DtEventHandler ()
 Default Constructor.
virtual ~DtEventHandler ()
 Destructor.
virtual void setEventController (DtEventController *)
virtual void setInitialSelection (const QVector< DtModelKey > &d)
virtual QWidgetdialog (bool createIfMissing=true, QWidget *parent=NULL)
 If createIfMissing is true, will create the dialog based on the supplied parent window, else will simply return the dialog pointer.
virtual void reset ()
virtual DtBaseWindowbaseWindow () const
 Returns the base window of the event controller.
virtual void activate ()
 Called when this event handler first becomes active.
virtual void deactivate ()
 Called when this event handler is removed as the current event.
virtual void init ()
 Called when the handler is first created, initialize context.
void setSuspended (bool)
 Set when something wants to suspend some aspect of this handler without deactivating it.
bool suspended () const
virtual void dialogDestroyedEvent ()
 Called when dialog is destroyed.
- Public Member Functions inherited from DtArchivableObject
 DtArchivableObject (QString name, DtArchivableObjectCreator fcn)
 This constructor will add this object to the archivable object factory.
 DtArchivableObject (QString name)
 DtArchivableObject ()
virtual ~DtArchivableObject ()
virtual QString name () const
DtArchiverarchiver ()
 Returns the archiver of this object.
virtual void read (QTextStream &s)
 Reads/writes archiver.
virtual void write (QTextStream &s)
virtual void setLevel (int i)
virtual int level () const
virtual DtArchivableObjectclone ()
 Allows for cloning of this object.

Static Public Member Functions

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

Protected Member Functions

virtual void initDialog ()
 Initialize with new areaMap()
virtual void initAppConnections ()
 Initializes connections that will be used for the application object.
virtual void setBaseWindow (DtBaseWindow *w)
 This call will set up connections so we will be notified when areas are created.
virtual void showDialog (bool b)
 When the dialog is shown, update settings with the current map areas settings.

Protected Attributes

DtTMMapAreamyCurrentMapArea
- Protected Attributes inherited from DtEventHandler
QWidgetmyEventDlg
DtEventControllermyEventController
bool mySuspended
- Protected Attributes inherited from DtArchivableObject
DtArchivermyArchiver

Additional Inherited Members

- Signals inherited from DtEventHandler
void closedDialog ()

Constructor & Destructor Documentation

DtTerrainViewOptionsHandler::DtTerrainViewOptionsHandler ( )

Default Constructor.

virtual DtTerrainViewOptionsHandler::~DtTerrainViewOptionsHandler ( )
virtual

Destructor.

Member Function Documentation

virtual QWidget* DtTerrainViewOptionsHandler::createDialog ( QWidget w)
virtual

Creates the dialog associated with this handler (if there is one)

Reimplemented from DtEventHandler.

virtual void DtTerrainViewOptionsHandler::initConnections ( DtTMArea area)
virtualslot
virtual void DtTerrainViewOptionsHandler::initNewMapArea ( DtTMMapArea area)
virtualslot

Initializes the terrain dialog to hook to a new active map area.

virtual void DtTerrainViewOptionsHandler::dlgDestroyed ( )
virtualslot
static DtEventHandler* DtTerrainViewOptionsHandler::create ( DtEventController owner,
void *  usr 
)
static

Static creator.

virtual void DtTerrainViewOptionsHandler::initDialog ( )
protectedvirtual

Initialize with new areaMap()

virtual void DtTerrainViewOptionsHandler::initAppConnections ( )
protectedvirtual

Initializes connections that will be used for the application object.

virtual void DtTerrainViewOptionsHandler::setBaseWindow ( DtBaseWindow w)
protectedvirtual

This call will set up connections so we will be notified when areas are created.

Reimplemented from DtEventHandler.

virtual void DtTerrainViewOptionsHandler::showDialog ( bool  b)
protectedvirtual

When the dialog is shown, update settings with the current map areas settings.

Reimplemented from DtEventHandler.

Member Data Documentation

DtTMMapArea* DtTerrainViewOptionsHandler::myCurrentMapArea
protected

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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)