VR-Forces 4.2 Class Documentation
List of all members | Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
DtTMMapArea Class Reference

DtTMMapArea is a class used for drawing and navigation of terrain. More...

Inheritance diagram for DtTMMapArea:
Inheritance graph
[legend]

Public Slots

virtual void zoomIn ()
 Zooms in tdb view, emits tdbViewChanged, and updates.
virtual void zoomOut ()
 Zooms out tdb view, emits tdbViewChanged, and updates.
virtual void drawRubberBands (QPainter *p)
virtual void clearSelection (bool signal=true)
virtual void changeSelection (const QVector< DtModelKey > &d)
virtual bool addSelection (const QVector< DtModelKey > &d)
 Adds these keys to the selection list if they are not there already.
virtual bool removeSelection (const QVector< DtModelKey > &d)
 Removes these keys from the selection list if they are in it.
virtual void setRightClickMaintainSelection (bool b)
virtual bool rightClickMaintainSelection ()
virtual void forcePersistentSymbol (DtSymbol *s)
virtual void stopForcePersistentSymbol (DtSymbol *s)
virtual void catchViewportChange (const DtTMViewportExtents *v)
virtual bool dragStart ()
 Called when a drag/drop operation is about to start.
virtual void dragComplete ()
 Called when a drag/drop operation is complete, regardless of the success of the operation.
virtual void setFreezeSelection (bool)
 Sets whether or not to freeze current selection regardless of any type of change made.
bool freezeSelection () const
- Public Slots inherited from DtTMArea
virtual void loadDatabaseFile (const QString &)
virtual bool updateAllSymbols ()
 Go through the list of symbols that we have marked for update and update them.
virtual void updateBackground ()
virtual void resizeMapArea ()
virtual DtSymboladdSymbol (const DtModelData &data, bool force=false)
virtual void removeSymbol (const DtModelKey &data, bool force=false)
virtual void setDrawOrderSymbols (bool b)
 Set to true to draw order symbols on the next tick.
virtual void signalDrawOrderSymbols ()
 Signals to draw order the symbols on the next tick.
virtual void drawOrderSymbols ()
 Draw order symbols if at least one first/last draw by having lens area draw order symbols.

Signals

void leftDoubleClick ()
void symbolsSelected (DtSymbolList *)
void selectionChanged (const QVector< DtModelKey > &)
void selectionUpdated (const QVector< DtModelKey > &)
void databasePointSelected (const DtPoint &)
void nullSelected ()
void rightMouseContext (DtSymbolList *, QPoint)
void middleMouseContext (DtSymbolList *, QPoint)
void mouseSignal (QMouseEvent *, const DtPoint &)
 Sent whenever a mouse event happens.
void keyboardSignal (QKeyEvent *)
 Sent whenever a key event happens.
void focusEventSignal (QEvent *)
 Sent whenever a you leave the focus area.
void enterEventSignal (QEvent *)
void leaveEventSignal (QEvent *)
void activateMap (DtTMMapArea *)
void dropEventSignal (QDropEvent *)
void dragEnterEventSignal (QDragEnterEvent *)
void dragLeaveEventSignal (QDragLeaveEvent *)
void dragMoveEventSignal (QDragMoveEvent *)
void selectionInProgress (DtSymbolSelector &symbolSelector)
 Sent whenever a selection is in process (i.e. before mouse is released)
void selectedModelDataUpdated ()
 Sent whenever the selected model data is updated.
void aboutToDraw (QPainter *map)
 Sent when the lens area is about to draw.
void selectionModeChanged (int iNewMode)
 Sent when the selection mode has changed.
void frozenChanged (bool)
 Emitted when frozen selection changes.
- Signals inherited from DtTMArea
void viewportExtentsSet (const DtTMViewportExtents *v)
 Called after setTdbView.
void viewportExtentsChanged (const DtTMViewportExtents *v)
 Called after internally changing tdb view.
void newDatabaseFile (const QString &)
void removingSymbol (const DtModelKey &data)
 Called when removing, adding or modifying a symbol.
void addingSymbol (const DtModelKey &data)
void modifyingSymbol (const DtModelKey &data)
void resized ()
 Sent when this area has resized.
void modelDataMarkedForUpdated (const DtModelData &d)
void modelDataRemovedFromUpdate (const DtModelData &)

Public Member Functions

 DtTMMapArea (QWidget *parent=0, const Qt::WindowFlags &flags=0)
virtual ~DtTMMapArea ()
virtual bool init (const DtTMFactory *f)
 Initializer. MUST BE CALLED.
virtual void setSelectorType (DtSymbolSelector::DtSelectorType type)
virtual DtSymbolSelectorsymbolSelector ()
virtual DtSymbolListselectedSymbols ()
virtual const QVector
< DtModelKey > & 
selectedModelKeys () const
 Returns mySelectedModelKeys.
virtual QVector< DtModelKey > & selectedModelKeys ()
virtual bool leftButtonClicked ()
virtual double getDatabaseHeight (double x, double y) const
virtual bool tick ()
 Check to see if need to draw order.
virtual void setActivateMap ()
 Activate the map.
virtual void updateSelectedModelData ()
virtual void setResetLabelPositions (bool b)
 Signal to tell the symbol updater to reset label positions (or not) on next tick.
virtual void clear ()
 Clears out selected symbols and drawn symbols.
virtual void removeFromPersistentData (const QString &key)
virtual void applyOptions (DtSymbol *s)
 This routine will ask the symbol updater to apply the options for the supplied symbol.
DtObjectSelectorobjectSelector ()
virtual bool startNullSelectionMode (bool showHandCursor=false)
 Routines that will allow certain valid selections on the map area Start null selection mode.
virtual bool startNormalSelectionMode ()
 Start normal selection mode.
virtual bool startSymbolPointSelectionMode (int selectionMode, bool showHandCursor=false, bool reset=false, bool backup=true, bool force=false)
virtual bool startSymbolRectangleSelectionMode (int selectionMode, bool showHandCursor=false, bool reset=false, bool backup=true, bool force=false)
virtual bool startSelectionMode (int selectionMode, DtSymbolSelector::DtSelectorType type, bool showHandCursor=false, bool reset=false, bool backup=true, bool force=false)
 General selection function.
virtual void swapModelKeys (QVector< DtModelKey > &orig, QVector< DtModelKey > &save, QVector< DtModelKey > &display)
virtual int symbolSelectionMode () const
const DtPoint & lastSelectedPoint () const
virtual void removeSymbol (const DtModelData &data, bool force)
 Removes the symbol from the map area and from any internal selected lists.
virtual DtSymbolSelectorsetCurrentSelector (DtSymbolSelector *s)
 Returns the current symbol selector after setting to new selector.
virtual DtSymbolSelectorcurrentSelector ()
virtual void setObjectSelectionMode (const DtFilter *f=NULL, bool swapKeys=false)
 Selection modes.
virtual bool inObjectSelectionMode () const
 Returns true if this area is in object selection mode.
virtual DtSymbolsymbolAtLocation (const DtPoint &pnt) const
 Asks the object selector (if it exists) to return the symbol at the specified database location.
virtual bool event (QEvent *)
 Only exposed for public access.
- Public Member Functions inherited from DtTMArea
 DtTMArea (QWidget *parent=0, const Qt::WindowFlags &flags=0)
virtual ~DtTMArea ()
virtual void setSymbolMapper (DtBaseSymbolMapper *mapper)
virtual DtBaseSymbolMappergetSymbolMapper ()
virtual DtTMSymbolUpdatersymbolUpdater ()
virtual DtTMViewportExtentsviewportExtents () const
 Gets the current viewport extents.
virtual DtViewDriverviewDriver () const
 Gets the current view driver.
virtual void setViewDriver (DtViewDriver *v)
 Sets the current view driver.
virtual DtTMBackgroundbackground () const
 Gets the current background.
virtual void setBackground (DtTMBackground *v)
 Sets the current background.
virtual void setSymbolLensArea (DtSymbolLensArea *area)
virtual DtSymbolLensAreasymbolLensArea ()
virtual bool isInitialized ()
virtual DtModelDataDictModelDataDict ()
 Returns the local list of Symbol Datas.
virtual DtModelDataIterModelDataIter () const
 Returns the local list of Symbol Datas.
virtual DtModelDataIterCombinedModelDataIter () const
 Returns the combined list of global application and local model data.
virtual void setUpdateOnTick (bool b)
 Set the fact that this area will also refresh its display on a tick.
virtual void markForUpdate (const QVector< DtModelKey > &, bool emitSignal=true)
 Copy the model data from the supplied list to our internal update list that will be updated on the next call to updateAllSymbols.
virtual void markForUpdate (DtModelDataIter *iter, bool emitSignal=true)
virtual void markForUpdate (const DtModelData &data, bool emitSignal=true)
virtual void removeFromUpdate (DtModelDataIter *iter)
 Call these to remove model datas for update.
virtual void removeFromUpdate (const DtModelData &data)
virtual void removeDictionaryEntry (const DtModelKey &key)
 Removes this entry from the local dictionary.
virtual void setUpdateBackgroundOnTick (bool b)
 Set to true to call updateBackground on next tick.
void setNextTickIsRepaint (bool b)
 Set to have the next update (if the area is updated in a tick) to be a repaint rather than an update.
bool nextTickIsRepaint () const
virtual bool needsTick () const
 Return true if this area needs to be ticked.
virtual bool needsUpdate () const
 Return true if this area needs update because myUpdateData.count() is not zero.
virtual DtSymboladdSymbol (const DtModelData &data, DtSymbol *symbol)
 Adds a new symbol with the associated model data to the map area.
virtual void read (QTextStream &ts)
 Archival operators.
virtual void write (QTextStream &ts)
virtual void clearSymbols ()
virtual void setForceTickOnViewportChange (bool b)
 Set this to true to force a tick when the viewport has changed (to speed drawing on map areas).
virtual bool forceTickOnViewportChange () const
virtual void paint (QPainter *painter, bool paintBackground=true)
 Draw to the supplied device. Draws the background (if specified) and the lens area.
virtual void redrawBackground ()
virtual DtSymbolgetSymbol (const DtModelKey &) const
 Returns a symbol from the view driver for the given model key (if exists)
void setAlwaysResizeToGlobalView (bool)
 If true, when map area is resized, always go back to global view.
bool alwaysResizeToGlobalView () const
virtual bool terrainLoaded () const
void setWindow (DtBaseWindow *)
DtBaseWindowwindow () const
virtual bool needsDrawOrder () const
 Return true/false depending on whether or not the area cares about draw ordering symbols.
virtual void insertIntoDrawOrder (DtSymbol *)
 Insert symbol into lens area draw order.

Static Public Member Functions

static DtTMMapAreacreate (QWidget *parent, const Qt::WindowFlags &flags)
 Returns a newly created instance of a DtTMMapArea.

Protected Member Functions

virtual void setViewportExtents (const DtTMViewportExtents *v)
virtual void modifySymbol (const DtModelData &data)
virtual bool initViewDriver (const DtTMFactory *f)
virtual bool initObjectSelector (const DtTMFactory *f)
virtual void updateSymbolSelection (Qt::KeyboardModifiers keyState, Qt::MouseButtons mouseState, bool updateInternalSelection=true)
virtual void updateSelectedSymbols (const QVector< DtModelKey > &selectedKeys)
virtual void updatePersistentModelData ()
virtual void highlightNoSymbols ()
virtual void highlightSymbols (QVector< DtModelKey > *display=NULL)
virtual void mousePressEvent (QMouseEvent *e)
 Event overloads.
virtual void mouseReleaseEvent (QMouseEvent *e)
virtual void mouseMoveEvent (QMouseEvent *e)
virtual void mouseDoubleClickEvent (QMouseEvent *e)
virtual void keyPressEvent (QKeyEvent *e)
virtual void keyReleaseEvent (QKeyEvent *e)
virtual void wheelEvent (QWheelEvent *e)
virtual void focusOutEvent (QFocusEvent *e)
virtual void leaveEvent (QEvent *e)
virtual void enterEvent (QEvent *e)
virtual void mouseSelect (QMouseEvent *e)
virtual void mousePressSelect (QMouseEvent *e)
virtual void dragEnterEvent (QDragEnterEvent *e)
 Drag/Drop code.
virtual void dragLeaveEvent (QDragLeaveEvent *e)
virtual void dragMoveEvent (QDragMoveEvent *e)
virtual void dropEvent (QDropEvent *e)
- Protected Member Functions inherited from DtTMArea
 DtTMArea (const DtTMArea &orig)
 Not implemented.
DtTMAreaoperator= (const DtTMArea &rhs)
 Not implemented.
virtual bool initViewportExtents (const DtTMFactory *f)
virtual bool initLensArea (const DtTMFactory *f, bool useGL=false)
virtual bool initBackground (const DtTMFactory *f)
virtual void resizeEvent (QResizeEvent *e)
 Resize event.
virtual void showEvent (QShowEvent *e)

Protected Attributes

DtObjectSelectormyObjectSelector
DtSymbolSelectormyCurrentSelector
QVector< DtModelKeymyTemporarySelectedModelData
QVector< DtModelKeymySelectedModelKeys
QStringList myPersistentModelData
DtSymbolList myForcedPersistentModelData
DtSymbolList mySelectedSymbols
QPoint myMouseBegin
QPoint myMouseLast
DtPoint * myLastSelectedPoint
bool myIsActivated
bool myRightClickMaintainSelection
Qt::MouseButtons myButtonState
Qt::KeyboardModifiers myKeyState
bool mySingleSelection
bool myFreezeSelection
int myKeyPressed
- Protected Attributes inherited from DtTMArea
DtViewDrivermyViewDriver
DtTMViewportExtentsmyViewportExtents
bool myDelayGlobalResize
DtSymbolLensAreamyLensArea
bool myDeleteLensArea
QPixmap * myBackground
QTimer myResizeTimer
DtTMBackgroundmyTMBackground
bool myDeleteBackground
DtModelDataDict myModelDataDict
DtModelDataItermyModelDataIter
DtModelDataItermyCombinedModelDataIter
bool myFirstTick
bool myUpdateOnTick
QHash< DtModelKey, DtModelData * > myUpdateData
bool myUpdateOnlyModified
bool myIsInitialized
bool myUpdateBackgroundOnTick
bool myForceTickOnViewportChange
bool myNextTickIsRepaint
DtArchiver myArchiver
 Used to write out any variables that want to be saved.
bool myAlwaysResizeToGlobalView
DtBaseWindowmyWindow
bool myNeedsDrawOrder
bool myInTick

Private Member Functions

 DtTMMapArea (const DtTMMapArea &orig)
 Not implemented.
DtTMMapAreaoperator= (const DtTMMapArea &rhs)
 Not implemented.

Additional Inherited Members

- Protected Slots inherited from DtTMArea
virtual void catchViewportChange (const DtTMViewportExtents *v)
virtual void symbolAdded (const DtModelKey &data)
 Called when the view driver adds or removes a symbol.
virtual void symbolAdded (const DtSymbol *)
virtual void symbolRemoved (const DtModelKey &data)
virtual void symbolRemoved (const DtSymbol *)

Detailed Description

DtTMMapArea is a class used for drawing and navigation of terrain.

Slots are provided for navigation calls, and all of them currently result in a redraw of the terrain. This class must be initialized with the proper drawers. DtPixmapTerrain provides the drawing functionality, while DtTdbView provides the navigation.

Constructor & Destructor Documentation

DtTMMapArea::DtTMMapArea ( QWidget parent = 0,
const Qt::WindowFlags &  flags = 0 
)
virtual DtTMMapArea::~DtTMMapArea ( )
virtual
DtTMMapArea::DtTMMapArea ( const DtTMMapArea orig)
private

Not implemented.

Member Function Documentation

virtual bool DtTMMapArea::init ( const DtTMFactory f)
virtual

Initializer. MUST BE CALLED.

Reimplemented from DtTMArea.

Reimplemented in DtTerrainMapArea.

virtual void DtTMMapArea::setSelectorType ( DtSymbolSelector::DtSelectorType  type)
virtual
virtual DtSymbolSelector& DtTMMapArea::symbolSelector ( )
virtual
virtual DtSymbolList& DtTMMapArea::selectedSymbols ( )
virtual
virtual const QVector<DtModelKey>& DtTMMapArea::selectedModelKeys ( ) const
virtual

Returns mySelectedModelKeys.

To see what is currently selected in the system selector, get the symbol selector via symbolSelector() and check the symbol selectors selected symbols

virtual QVector<DtModelKey>& DtTMMapArea::selectedModelKeys ( )
virtual
virtual bool DtTMMapArea::leftButtonClicked ( )
virtual
virtual double DtTMMapArea::getDatabaseHeight ( double  x,
double  y 
) const
virtual

Reimplemented in DtTerrainMapArea.

virtual bool DtTMMapArea::tick ( )
virtual

Check to see if need to draw order.

Reimplemented from DtTMArea.

virtual void DtTMMapArea::setActivateMap ( )
virtual

Activate the map.

virtual void DtTMMapArea::updateSelectedModelData ( )
virtual
virtual void DtTMMapArea::setResetLabelPositions ( bool  b)
virtual

Signal to tell the symbol updater to reset label positions (or not) on next tick.

virtual void DtTMMapArea::clear ( )
virtual

Clears out selected symbols and drawn symbols.

Reimplemented from DtTMArea.

virtual void DtTMMapArea::removeFromPersistentData ( const QString &  key)
virtual
virtual void DtTMMapArea::applyOptions ( DtSymbol s)
virtual

This routine will ask the symbol updater to apply the options for the supplied symbol.

DtObjectSelector * DtTMMapArea::objectSelector ( )
inline

References myObjectSelector.

static DtTMMapArea* DtTMMapArea::create ( QWidget parent,
const Qt::WindowFlags &  flags 
)
static

Returns a newly created instance of a DtTMMapArea.

Reimplemented in DtTerrainMapArea.

virtual bool DtTMMapArea::startNullSelectionMode ( bool  showHandCursor = false)
virtual

Routines that will allow certain valid selections on the map area Start null selection mode.

if showHandCursor is true, will display the hand cursor on screen

virtual bool DtTMMapArea::startNormalSelectionMode ( )
virtual

Start normal selection mode.

virtual bool DtTMMapArea::startSymbolPointSelectionMode ( int  selectionMode,
bool  showHandCursor = false,
bool  reset = false,
bool  backup = true,
bool  force = false 
)
virtual
virtual bool DtTMMapArea::startSymbolRectangleSelectionMode ( int  selectionMode,
bool  showHandCursor = false,
bool  reset = false,
bool  backup = true,
bool  force = false 
)
virtual
virtual bool DtTMMapArea::startSelectionMode ( int  selectionMode,
DtSymbolSelector::DtSelectorType  type,
bool  showHandCursor = false,
bool  reset = false,
bool  backup = true,
bool  force = false 
)
virtual

General selection function.

use this if you need a selection mode not defined by any of the above functions.

virtual void DtTMMapArea::swapModelKeys ( QVector< DtModelKey > &  orig,
QVector< DtModelKey > &  save,
QVector< DtModelKey > &  display 
)
virtual
virtual int DtTMMapArea::symbolSelectionMode ( ) const
virtual
const DtPoint& DtTMMapArea::lastSelectedPoint ( ) const
virtual void DtTMMapArea::removeSymbol ( const DtModelData data,
bool  force 
)
virtual

Removes the symbol from the map area and from any internal selected lists.

Reimplemented from DtTMArea.

virtual DtSymbolSelector* DtTMMapArea::setCurrentSelector ( DtSymbolSelector s)
virtual

Returns the current symbol selector after setting to new selector.

virtual DtSymbolSelector* DtTMMapArea::currentSelector ( )
virtual
virtual void DtTMMapArea::setObjectSelectionMode ( const DtFilter f = NULL,
bool  swapKeys = false 
)
virtual

Selection modes.

If Filter is NULL, selects all objects. If swapKeys is true, moves current selection to the temporary backup before revalidating due to filter. To restore the selection, setNormalSelectionMode()

virtual bool DtTMMapArea::inObjectSelectionMode ( ) const
virtual

Returns true if this area is in object selection mode.

virtual DtSymbol* DtTMMapArea::symbolAtLocation ( const DtPoint &  pnt) const
virtual

Asks the object selector (if it exists) to return the symbol at the specified database location.

virtual bool DtTMMapArea::event ( QEvent *  )
virtual

Only exposed for public access.

void DtTMMapArea::leftDoubleClick ( )
signal
void DtTMMapArea::symbolsSelected ( DtSymbolList )
signal
void DtTMMapArea::selectionChanged ( const QVector< DtModelKey > &  )
signal
void DtTMMapArea::selectionUpdated ( const QVector< DtModelKey > &  )
signal
void DtTMMapArea::databasePointSelected ( const DtPoint &  )
signal
void DtTMMapArea::nullSelected ( )
signal
void DtTMMapArea::rightMouseContext ( DtSymbolList ,
QPoint   
)
signal
void DtTMMapArea::middleMouseContext ( DtSymbolList ,
QPoint   
)
signal
void DtTMMapArea::mouseSignal ( QMouseEvent *  ,
const DtPoint &   
)
signal

Sent whenever a mouse event happens.

This is useful for event handling The Point is the mouse location in DATABASE coordinates

void DtTMMapArea::keyboardSignal ( QKeyEvent *  )
signal

Sent whenever a key event happens.

This is useful for event handling

void DtTMMapArea::focusEventSignal ( QEvent *  )
signal

Sent whenever a you leave the focus area.

this allows us to reset some things if necessary

void DtTMMapArea::enterEventSignal ( QEvent *  )
signal
void DtTMMapArea::leaveEventSignal ( QEvent *  )
signal
void DtTMMapArea::activateMap ( DtTMMapArea )
signal
void DtTMMapArea::dropEventSignal ( QDropEvent *  )
signal
void DtTMMapArea::dragEnterEventSignal ( QDragEnterEvent *  )
signal
void DtTMMapArea::dragLeaveEventSignal ( QDragLeaveEvent *  )
signal
void DtTMMapArea::dragMoveEventSignal ( QDragMoveEvent *  )
signal
void DtTMMapArea::selectionInProgress ( DtSymbolSelector symbolSelector)
signal

Sent whenever a selection is in process (i.e. before mouse is released)

void DtTMMapArea::selectedModelDataUpdated ( )
signal

Sent whenever the selected model data is updated.

void DtTMMapArea::aboutToDraw ( QPainter *  map)
signal

Sent when the lens area is about to draw.

void DtTMMapArea::selectionModeChanged ( int  iNewMode)
signal

Sent when the selection mode has changed.

void DtTMMapArea::frozenChanged ( bool  )
signal

Emitted when frozen selection changes.

virtual void DtTMMapArea::zoomIn ( )
virtualslot

Zooms in tdb view, emits tdbViewChanged, and updates.

virtual void DtTMMapArea::zoomOut ( )
virtualslot

Zooms out tdb view, emits tdbViewChanged, and updates.

virtual void DtTMMapArea::drawRubberBands ( QPainter *  p)
virtualslot
virtual void DtTMMapArea::clearSelection ( bool  signal = true)
virtualslot
virtual void DtTMMapArea::changeSelection ( const QVector< DtModelKey > &  d)
virtualslot
virtual bool DtTMMapArea::addSelection ( const QVector< DtModelKey > &  d)
virtualslot

Adds these keys to the selection list if they are not there already.

Returns true if any changes were made.

virtual bool DtTMMapArea::removeSelection ( const QVector< DtModelKey > &  d)
virtualslot

Removes these keys from the selection list if they are in it.

Returns true if any changes were made.

virtual void DtTMMapArea::setRightClickMaintainSelection ( bool  b)
virtualslot
virtual bool DtTMMapArea::rightClickMaintainSelection ( )
virtualslot
virtual void DtTMMapArea::forcePersistentSymbol ( DtSymbol s)
virtualslot
virtual void DtTMMapArea::stopForcePersistentSymbol ( DtSymbol s)
virtualslot
virtual void DtTMMapArea::catchViewportChange ( const DtTMViewportExtents v)
virtualslot
virtual bool DtTMMapArea::dragStart ( )
virtualslot

Called when a drag/drop operation is about to start.

Return false to abort the drag/drop operation

virtual void DtTMMapArea::dragComplete ( )
virtualslot

Called when a drag/drop operation is complete, regardless of the success of the operation.

virtual void DtTMMapArea::setFreezeSelection ( bool  )
virtualslot

Sets whether or not to freeze current selection regardless of any type of change made.

Note that the selection will be unfrozen when starting normal selection mode. If the selection is frozen, even if there are items selected, the current database point will be emitted

bool DtTMMapArea::freezeSelection ( ) const
inlineslot

References myFreezeSelection.

virtual void DtTMMapArea::setViewportExtents ( const DtTMViewportExtents v)
protectedvirtual

Reimplemented from DtTMArea.

virtual void DtTMMapArea::modifySymbol ( const DtModelData data)
protectedvirtual

Reimplemented from DtTMArea.

DtTMMapArea& DtTMMapArea::operator= ( const DtTMMapArea rhs)
private

Not implemented.

virtual bool DtTMMapArea::initViewDriver ( const DtTMFactory f)
protectedvirtual

Reimplemented from DtTMArea.

virtual bool DtTMMapArea::initObjectSelector ( const DtTMFactory f)
protectedvirtual
virtual void DtTMMapArea::updateSymbolSelection ( Qt::KeyboardModifiers  keyState,
Qt::MouseButtons  mouseState,
bool  updateInternalSelection = true 
)
protectedvirtual
virtual void DtTMMapArea::updateSelectedSymbols ( const QVector< DtModelKey > &  selectedKeys)
protectedvirtual
virtual void DtTMMapArea::updatePersistentModelData ( )
protectedvirtual
virtual void DtTMMapArea::highlightNoSymbols ( )
protectedvirtual
virtual void DtTMMapArea::highlightSymbols ( QVector< DtModelKey > *  display = NULL)
protectedvirtual
virtual void DtTMMapArea::mousePressEvent ( QMouseEvent *  e)
protectedvirtual

Event overloads.

virtual void DtTMMapArea::mouseReleaseEvent ( QMouseEvent *  e)
protectedvirtual
virtual void DtTMMapArea::mouseMoveEvent ( QMouseEvent *  e)
protectedvirtual
virtual void DtTMMapArea::mouseDoubleClickEvent ( QMouseEvent *  e)
protectedvirtual
virtual void DtTMMapArea::keyPressEvent ( QKeyEvent *  e)
protectedvirtual
virtual void DtTMMapArea::keyReleaseEvent ( QKeyEvent *  e)
protectedvirtual
virtual void DtTMMapArea::wheelEvent ( QWheelEvent *  e)
protectedvirtual
virtual void DtTMMapArea::focusOutEvent ( QFocusEvent *  e)
protectedvirtual
virtual void DtTMMapArea::leaveEvent ( QEvent *  e)
protectedvirtual
virtual void DtTMMapArea::enterEvent ( QEvent *  e)
protectedvirtual
virtual void DtTMMapArea::mouseSelect ( QMouseEvent *  e)
protectedvirtual
virtual void DtTMMapArea::mousePressSelect ( QMouseEvent *  e)
protectedvirtual
virtual void DtTMMapArea::dragEnterEvent ( QDragEnterEvent *  e)
protectedvirtual

Drag/Drop code.

virtual void DtTMMapArea::dragLeaveEvent ( QDragLeaveEvent *  e)
protectedvirtual
virtual void DtTMMapArea::dragMoveEvent ( QDragMoveEvent *  e)
protectedvirtual
virtual void DtTMMapArea::dropEvent ( QDropEvent *  e)
protectedvirtual

Member Data Documentation

DtObjectSelector* DtTMMapArea::myObjectSelector
protected

Referenced by objectSelector().

DtSymbolSelector* DtTMMapArea::myCurrentSelector
protected
QVector<DtModelKey> DtTMMapArea::myTemporarySelectedModelData
protected
QVector<DtModelKey> DtTMMapArea::mySelectedModelKeys
protected
QStringList DtTMMapArea::myPersistentModelData
protected
DtSymbolList DtTMMapArea::myForcedPersistentModelData
protected
DtSymbolList DtTMMapArea::mySelectedSymbols
protected
QPoint DtTMMapArea::myMouseBegin
protected
QPoint DtTMMapArea::myMouseLast
protected
DtPoint* DtTMMapArea::myLastSelectedPoint
protected
bool DtTMMapArea::myIsActivated
protected
bool DtTMMapArea::myRightClickMaintainSelection
protected
Qt::MouseButtons DtTMMapArea::myButtonState
protected
Qt::KeyboardModifiers DtTMMapArea::myKeyState
protected
bool DtTMMapArea::mySingleSelection
protected
bool DtTMMapArea::myFreezeSelection
protected

Referenced by freezeSelection().

int DtTMMapArea::myKeyPressed
protected

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

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)