Public Member Functions |
| | DtTerrainMiniMap (QWidget *parent=0, const Qt::WindowFlags &flags=0) |
| | Constructor.
|
| virtual | ~DtTerrainMiniMap () |
| | Destructor.
|
| virtual bool | init (const DtTMFactory *f) |
| | Initializer. MUST BE CALLED.
|
| virtual const DtTdbDrawerOptions & | drawerOptions () const |
| | Get tdb drawer options.
|
| virtual void | terrainDatabaseModified (DtTerrainDatabase *db, const DtExtent &extent) |
| | DtTMMiniMap (QWidget *parent=0, const Qt::WindowFlags &f=0) |
| | Constructor.
|
| virtual | ~DtTMMiniMap () |
| | Destructor.
|
| virtual bool | showingRubberBands () const |
| | Returns true if showing rubber bands. False if not.
|
| virtual void | setShowingRubberBands (bool onOff) |
| | Toggles showing rubber bands.
|
| virtual QSize | minimumSizeHint () const |
| | Returns preferred size.
|
| virtual QSize | sizeHint () const |
| virtual DtTMRubberBand * | addRubberBand (const DtTMFactory *f, const DtTMMiniMap *m, const DtTMMapArea *a, double pctX=0, double pctY=0, double pctWidth=1, double pctHeight=1, QPen *activePen=0, QPen *inactivePen=0) |
| virtual const QPen & | activePen () const |
| | Returns a reference to the default pen used for drawing in the active state.
|
| virtual void | setActivePen (const QPen &p) |
| | Sets the default pen used for drawing in the active state.
|
| virtual const QPen & | inactivePen () const |
| | Returns a reference to the default pen use for drawing in the inactive state.
|
| virtual void | setInactivePen (const QPen &p) |
| | Sets the default pen used for drawing in the inactive state.
|
| virtual void | setActiveColor (const QColor &c) |
| virtual void | setInactiveColor (const QColor &c) |
| | DtTMArea (QWidget *parent=0, const Qt::WindowFlags &flags=0) |
| virtual | ~DtTMArea () |
| virtual void | setSymbolMapper (DtBaseSymbolMapper *mapper) |
| virtual DtBaseSymbolMapper * | getSymbolMapper () |
| virtual DtTMSymbolUpdater * | symbolUpdater () |
| virtual DtTMViewportExtents * | viewportExtents () const |
| | Gets the current viewport extents.
|
| virtual DtViewDriver * | viewDriver () const |
| | Gets the current view driver.
|
| virtual void | setViewDriver (DtViewDriver *v) |
| | Sets the current view driver.
|
| virtual DtTMBackground * | background () const |
| | Gets the current background.
|
| virtual void | setBackground (DtTMBackground *v) |
| | Sets the current background.
|
| virtual void | setSymbolLensArea (DtSymbolLensArea *area) |
| virtual DtSymbolLensArea * | symbolLensArea () |
| virtual bool | tick () |
| | area was modified because of the tick
|
| virtual bool | isInitialized () |
| virtual DtModelDataDict & | ModelDataDict () |
| | Returns the local list of Symbol Datas.
|
| virtual DtModelDataIter * | ModelDataIter () const |
| | Returns the local list of Symbol Datas.
|
| virtual DtModelDataIter * | CombinedModelDataIter () 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 DtSymbol * | addSymbol (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 | clear () |
| | Tells view driver to clear out any symbols and then clears out local data dictionary of any data.
|
| 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 DtSymbol * | getSymbol (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 |
| void | setWindow (DtBaseWindow *) |
| DtBaseWindow * | window () const |
| virtual void | insertIntoDrawOrder (DtSymbol *) |
| | Insert symbol into lens area draw order.
|