![]() |
VR-Forces 4.0.4 Class Documentation
|
Provides the necessary gui framework to create a window with a map frame inside it. More...

Public Slots | |
| virtual void | removeAttachedEventController (QObject *) |
| virtual unsigned | createMapArea (const DtTMFactory *f) |
| Initialize and add a new map area. | |
| virtual void | removeMapArea (unsigned ii) |
| Remove a map area from active service. | |
| virtual void | removeMapArea (DtTMMapArea *area) |
| Remove a map area from active service. | |
| virtual void | changeActiveMap (DtTMMapArea *) |
| change the current active map | |
| virtual void | changeActiveRubberBand (const DtTMRubberBand *) |
| change the current active rubber band. | |
| virtual void | addSymbol (const DtModelData &, bool) |
| This is called from add symbols from symbol generator. | |
| virtual void | addSymbol (const DtModelData &, DtSymbol *) |
| virtual void | removeDictionaryEntry (const DtModelKey &key) |
| Removes this keyed entry from local map dictionaries. | |
| virtual void | removeSymbol (const DtModelData &, bool) |
| This is called from remove symbols emit from symbol generator. | |
| virtual void | modifySymbol (const DtModelData &d, int changedFlags) |
| This is called from modify symbols emit from symbol generator. | |
| virtual void | tick () |
| Redraws the background. Also keeps a frame rate counter. | |
| virtual void | preTick () |
| Emits preUpdateTick() signal. | |
| virtual void | postTick () |
| Emits postUpdateTick signal. | |
| virtual void | toggleToolbar (bool b) |
| Uses our view/toolbar map to toggle toolbars on and off as connected via menu item items. | |
| virtual void | updateViewMenu () |
| Updates the view menu based on current toolbar status. | |
| virtual void | hideAllToolbars () |
| Hides/shows all visible/hidden toolbars. | |
| virtual void | showAllToolbars () |
| virtual void | displayToolbars (bool hide) |
| virtual void | updateValidActions () |
| Update valid actions. | |
| virtual void | processSelectionChanged (const QVector< DtModelKey > &) |
| Called when the selection has changed in any map area, emits a signal and updates valid actions. | |
| virtual void | changeSelection (const QVector< DtModelKey > &keys) |
| Changes the selection in the active map area. | |
| virtual void | modelDataAdded (const DtModelKey &key) |
| virtual void | setupMenuConnection (DtMainMenuType) |
| Called when the menu system recreates a menu, if the menu recreated is the view menu, setup connections again. | |
| DtFeatureActionManager * | featureActionManager () const |
| DtFeatureActionManager * | backupFeatureActionManager () const |
| virtual void | revertFeatureActionManager () |
| Reverts feature action manager to backup. | |
| virtual void | mergeFeatureActionManager (const DtFeatureActionManager &) |
| Merges in new feature action manager. Currently merge only changes shortcuts. | |
Signals | |
| void | menuItemsValidated () |
| Emitted after all menu items have been validated. | |
| void | changedActiveMap (DtTMMapArea *) |
| Sent when the active map changed. | |
| void | closing (const DtBaseWindow *) |
| Sent when closing. | |
| void | mapAreaCreated (DtTMArea *) |
| Sent when a new map area is created via createMapArea. | |
| void | miniMapAreaCreated (DtTMArea *) |
| void | selectionChanged (const QVector< DtModelKey > &) |
| void | menuRecreated (DtMainMenuType) |
| void | modelDataMarkedForUpdated (const DtModelData &) |
| void | modelDataRemovedFromUpdate (const DtModelData &) |
| void | preTickSignal () |
| void | postTickSignal () |
Public Member Functions | |
| DtBaseWindow (QWidget *parent=NULL, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtBaseWindow () |
| virtual bool | init (const DtTMFactory *f, DtTMMiniMap *m=0, int mode=DtWindow_NoAction) |
| Initialize all of the gui. | |
| virtual bool | createMiniMap (const DtTMFactory *f) |
| Create miniMap from DtTMFactory. | |
| virtual bool | initMiniMap (const DtTMFactory *f, QDockWidget *parent=0) |
| Initialize minimap. | |
| virtual DtTMMapArea * | areaMap (unsigned value=0) const |
| Returns pointer to one of the are maps controlled by this window. | |
| virtual DtTMMapArea * | activeMap () const |
| Returns pointer to the current active map area. | |
| virtual DtTMRubberBand * | rubberBand (unsigned value=0) const |
| Grab the rubber band of a specific map area. | |
| virtual DtTMRubberBand * | rubberBand (DtTMMapArea *) const |
| Grab the rubber band of a specific map area. | |
| virtual unsigned | numberOfMapAreas () |
| Returns the number of map areas in myMapAreaList. | |
| virtual DtTMMiniMap * | miniMap () const |
| Returns pointer to terrain minimap. | |
| virtual void | loadDatabaseFile (const QString &f) |
| This function passes the database file to all of the map areas If you want to have different databases load on different map areas then you're going to have to overwrite this function. | |
| virtual bool | initMapArea (DtTMMapArea *area, const DtTMFactory *f) |
| Initialize one specific area map. | |
| virtual bool | initAllMapAreas (const DtTMFactory *f) |
| Initialize all area maps. | |
| virtual void | toggleMinimap (bool b) |
| Show or hide the miniMap. | |
| virtual void | closeEvent (QCloseEvent *e) |
| close the window | |
| virtual bool | shouldTick () |
| Returns whether or not this window should tick based on frame rate. | |
| virtual void | markForUpdate (const DtModelData &data) |
| Marks the specified data for update. | |
| virtual void | markForUpdate (DtModelDataIter *iter) |
| virtual void | removeFromUpdate (const DtModelData &data) |
| Removes the specified data for update. | |
| virtual void | markAllForUpdate () |
| Marks all data for update on next tick. | |
| virtual void | removeAllForUpdate () |
| Removes all data for update. | |
| virtual void | setDisplayFrameRate (int) |
| Sets the display frame rate value in FPS. | |
| virtual int | displayFrameRate () const |
| returns the display frame rate in FPS. | |
| virtual DtEventController & | eventController () |
| virtual const DtEventController & | eventController () const |
| virtual double | elapsedRunTime () const |
| virtual double | numberOfFrames () const |
| virtual DtMenuWidget * | menuWidget () |
| virtual DtStdContextMenu * | contextMenus () |
| virtual void | setFullScreenMode (bool b) |
| Shows window in full screen or normal mode. | |
| virtual bool | hasViewToolbar (int type) const |
| Returns true if the specified view type has been added to the myViewMenuToolbarMap. | |
| virtual QWidget * | toolbarFor (int type) |
| virtual bool | hasViewToolbar (QWidget *) const |
| virtual int | toolbarMenuId (QWidget *) const |
| virtual QTextStream & | write (QTextStream &ts) |
| archival operators | |
| virtual QTextStream & | read (QTextStream &ts) |
| virtual void | initFromAppSettings () |
| Initialize window from current application settings. | |
| virtual void | clear () |
| Tells all map areas to clear out any information it might have about the current database. | |
| virtual void | symbolMapChanged () |
| Clear symbols from all map areas and tells the menu widget as well as other widgets to update contents based on new symbol mappings. | |
| virtual void | setUpdateOnTick (bool b, bool updateMini=false) |
| Tells all children maps (and mini map) to update on next tick. | |
| virtual void | recreateMenu (DtMainMenuType menu) |
| Deletes and recreates the supplied menu in the existing slot. | |
| virtual void | activateRubberBand () |
| Activates the rubber band of the active map area on the mini-map. | |
| virtual void | attachEventController (DtEventController *) |
| If you are creating an event controller that can be used with this window, call this method to add it to event controllers that are tickable. | |
| QList< DtEventController * > & | attachedEventControllers () |
| Does not include the default event controller. | |
| virtual DtPopupMenu * | menuFromAction (QAction *) |
| Calls down to the menu (if it exists) to return the menu that has the QAction. | |
| virtual DtPopupMenu * | menuForType (DtMainMenuType type) |
| Calls down to the menu (if it exists) to return the menu from the menu type. | |
| virtual void | postProcessOptions () |
| Called after options are read from file. | |
| bool | hasRubberBands () const |
| virtual void | addToolbarMapping (int id, QWidget *w) |
| Adds toolbars to internal mapping without adding to menu. | |
| virtual void | removeToolbarMapping (int id) |
| Removes toolbars to internal mapping without removing from view menu. | |
| virtual DtTMMapArea * | mapContainsData (const DtModelData *data) const |
| If a map area contains the model data, returns the map area that contains it. | |
| virtual void | bringToFront () |
| Raises the window to be the topmost on the desktop. | |
| virtual void | clearFrameRates () |
| Call when running as fast as possible to zero out frame rate statistics. | |
Static Public Member Functions | |
| static DtBaseWindow * | create (QWidget *parent, const Qt::WindowFlags &flags) |
| Returns a newly created instance of a DtTerrainWindow. | |
Protected Member Functions | |
| virtual void | tickEventControllers () |
| Ticks this windows event controller and all attached. | |
| virtual bool | initContextMenus (const DtTMFactory *f) |
| virtual bool | initMenuWidget (const DtTMFactory *f) |
| Initializes the menu bar by calling the factory to create it. | |
| virtual bool | createFeatureActionManager (const DtTMFactory *f) |
| Creates and initializes feature action manager. | |
| virtual void | addDefaultShortcutsAndIcons (const DtTMFactory *f) |
| Called after feature action manager is created, adds default shortcuts and icons to the system. | |
| virtual void | createMenuWidget (const DtTMFactory *f) |
| Creates a new menu widget from the factory. Called by initMenuWidget. | |
| virtual void | initViewMenuToolbarMap () |
| Initializes the view/menu toolbar map by associating a view menu action with a toolbar to toggle on and off. | |
| virtual bool | initMapConnections (DtTMMapArea *area) |
| Initializes connections for the map area. | |
| virtual bool | initMenuConnections () |
| virtual bool | initFromApplicationtoLatin1 () |
| Creates symbols in the map areas based on DtLocalControlModelData found in the application dictionary. | |
| virtual Qt::ToolBarArea | dockToolbarPosition () const |
| Returns Left or Right depending on language layout. | |
| virtual Qt::DockWidgetArea | dockWidgetPosition () const |
| virtual void | moveDockWindow (QToolBar *, Qt::ToolBarArea) |
| Resurrect old call to place toolbar. | |
| virtual void | moveDockWindow (QDockWidget *, Qt::DockWidgetArea) |
| virtual QMenu * | createPopupMenu () |
| virtual QWidget * | centerWidget (QWidget *itemToCenter) |
| Creates a widget and layout that will center (horizontally) the supplied widget. | |
Protected Attributes | |
| bool | myUsingGlobalMiniMap |
| DtTMMiniMap * | myMiniMap |
| QList< DtTMMapArea * > | myMapAreaList |
| DtTMMapArea * | myActiveMapArea |
| DtTMRubberBandList | myRubberBandList |
| double | myElapsedRunTime |
| double | myNumberOfFrames |
| int | myDisplayFrameRate |
| QTime | myFrameStart |
| DtEventController * | myEventController |
| QHash< int, QWidget * > | myViewMenuToolbarMap |
| QList< QWidget * > | myNormalToolbars |
| DtMenuWidget * | myMenuWidget |
| DtStdContextMenu * | myContextMenus |
| DtContextMenu * | myMiddleClickMenu |
| DtContextMenu * | myRightClickMenu |
| DtArchiver | myArchiver |
| QRect | myOriginalGeometry |
| QList< DtEventController * > * | myAttachedEventControllers |
| int | myWindowCreationMode |
| DtFeatureActionManager * | myFeatureActionManager |
| DtFeatureActionManager * | myBackupFeatureActionManager |
Static Protected Attributes | |
| static const int | theDefaultDisplayFrameRate |
Provides the necessary gui framework to create a window with a map frame inside it.
There are no actual gui items in here, however making it easy for the programmer to extend and make your own gui. As an alternative, you are not required to use this class at all in order to show maps. In which case, this class serves as a good example of the items you might need in order to get a working map up and running with the smallest effort
| DtBaseWindow::DtBaseWindow | ( | QWidget * | parent = NULL, |
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
| virtual DtBaseWindow::~DtBaseWindow | ( | ) | [virtual] |
| virtual bool DtBaseWindow::init | ( | const DtTMFactory * | f, |
| DtTMMiniMap * | m = 0, |
||
| int | mode = DtWindow_NoAction |
||
| ) | [virtual] |
Initialize all of the gui.
Your initial window configuration should be set up here. The minimap being passed is done in case you have a global minimap that spans windows. otherwise leave it at zero.
Reimplemented in DtEntityEditorWindow, and DtTMWindow.
| virtual bool DtBaseWindow::createMiniMap | ( | const DtTMFactory * | f | ) | [virtual] |
Create miniMap from DtTMFactory.
Reimplemented in DtEntityEditorWindow.
| virtual bool DtBaseWindow::initMiniMap | ( | const DtTMFactory * | f, |
| QDockWidget * | parent = 0 |
||
| ) | [virtual] |
Initialize minimap.
Reimplemented in DtTMWindow.
| virtual DtTMMapArea* DtBaseWindow::areaMap | ( | unsigned | value = 0 | ) | const [virtual] |
Returns pointer to one of the are maps controlled by this window.
Returns zero if the requiested areaMap does not exist.
| virtual DtTMMapArea* DtBaseWindow::activeMap | ( | ) | const [virtual] |
Returns pointer to the current active map area.
Returns null if there is not active map.
| virtual DtTMRubberBand* DtBaseWindow::rubberBand | ( | unsigned | value = 0 | ) | const [virtual] |
Grab the rubber band of a specific map area.
Returns null if it does not exist.
| virtual DtTMRubberBand* DtBaseWindow::rubberBand | ( | DtTMMapArea * | ) | const [virtual] |
Grab the rubber band of a specific map area.
Returns null if it does not exist.
| virtual unsigned DtBaseWindow::numberOfMapAreas | ( | ) | [virtual] |
Returns the number of map areas in myMapAreaList.
| virtual DtTMMiniMap* DtBaseWindow::miniMap | ( | ) | const [virtual] |
Returns pointer to terrain minimap.
| virtual void DtBaseWindow::loadDatabaseFile | ( | const QString & | f | ) | [virtual] |
This function passes the database file to all of the map areas If you want to have different databases load on different map areas then you're going to have to overwrite this function.
| virtual bool DtBaseWindow::initMapArea | ( | DtTMMapArea * | area, |
| const DtTMFactory * | f | ||
| ) | [virtual] |
Initialize one specific area map.
Reimplemented in DtTerrainWindow.
| virtual bool DtBaseWindow::initAllMapAreas | ( | const DtTMFactory * | f | ) | [virtual] |
Initialize all area maps.
| virtual void DtBaseWindow::toggleMinimap | ( | bool | b | ) | [virtual] |
Show or hide the miniMap.
Override if you want want the full container of a minimap to go away.
| virtual void DtBaseWindow::closeEvent | ( | QCloseEvent * | e | ) | [virtual] |
close the window
Reimplemented in DtEntityEditorWindow.
| virtual bool DtBaseWindow::shouldTick | ( | ) | [virtual] |
Returns whether or not this window should tick based on frame rate.
Reimplemented in DtTerrainWindow.
| virtual void DtBaseWindow::markForUpdate | ( | const DtModelData & | data | ) | [virtual] |
Marks the specified data for update.
| virtual void DtBaseWindow::markForUpdate | ( | DtModelDataIter * | iter | ) | [virtual] |
| virtual void DtBaseWindow::removeFromUpdate | ( | const DtModelData & | data | ) | [virtual] |
Removes the specified data for update.
| virtual void DtBaseWindow::markAllForUpdate | ( | ) | [virtual] |
Marks all data for update on next tick.
| virtual void DtBaseWindow::removeAllForUpdate | ( | ) | [virtual] |
Removes all data for update.
| virtual void DtBaseWindow::setDisplayFrameRate | ( | int | ) | [virtual] |
Sets the display frame rate value in FPS.
| virtual int DtBaseWindow::displayFrameRate | ( | ) | const [virtual] |
returns the display frame rate in FPS.
| virtual DtEventController& DtBaseWindow::eventController | ( | ) | [virtual] |
| virtual const DtEventController& DtBaseWindow::eventController | ( | ) | const [virtual] |
| virtual double DtBaseWindow::elapsedRunTime | ( | ) | const [virtual] |
| virtual double DtBaseWindow::numberOfFrames | ( | ) | const [virtual] |
| virtual DtMenuWidget* DtBaseWindow::menuWidget | ( | ) | [virtual] |
| DtStdContextMenu * DtBaseWindow::contextMenus | ( | ) | [inline, virtual] |
References myContextMenus.
| virtual void DtBaseWindow::setFullScreenMode | ( | bool | b | ) | [virtual] |
Shows window in full screen or normal mode.
If switching to full screen mode, stashes the dock widgets that are currently shown, hides all the dock widgets and then makes the window a full screen window. If returning to normal mode, reshows the dock widgets that were stashed and shows window in normal mode
Reimplemented in DtTMWindow.
| virtual bool DtBaseWindow::hasViewToolbar | ( | int | type | ) | const [virtual] |
Returns true if the specified view type has been added to the myViewMenuToolbarMap.
| virtual QWidget* DtBaseWindow::toolbarFor | ( | int | type | ) | [virtual] |
| virtual bool DtBaseWindow::hasViewToolbar | ( | QWidget * | ) | const [virtual] |
| virtual int DtBaseWindow::toolbarMenuId | ( | QWidget * | ) | const [virtual] |
| virtual QTextStream& DtBaseWindow::write | ( | QTextStream & | ts | ) | [virtual] |
archival operators
Reimplemented in DtTMWindow.
| virtual QTextStream& DtBaseWindow::read | ( | QTextStream & | ts | ) | [virtual] |
Reimplemented in DtTMWindow.
| virtual void DtBaseWindow::initFromAppSettings | ( | ) | [virtual] |
Initialize window from current application settings.
Called after app settings are read in from settings file
Reimplemented in DtTMWindow, and DtTerrainWindow.
| virtual void DtBaseWindow::clear | ( | ) | [virtual] |
Tells all map areas to clear out any information it might have about the current database.
| virtual void DtBaseWindow::symbolMapChanged | ( | ) | [virtual] |
Clear symbols from all map areas and tells the menu widget as well as other widgets to update contents based on new symbol mappings.
| virtual void DtBaseWindow::setUpdateOnTick | ( | bool | b, |
| bool | updateMini = false |
||
| ) | [virtual] |
Tells all children maps (and mini map) to update on next tick.
| virtual void DtBaseWindow::recreateMenu | ( | DtMainMenuType | menu | ) | [virtual] |
Deletes and recreates the supplied menu in the existing slot.
Asks the menu widget to do so. Will emit signal menuRecreated with the menu type
| virtual void DtBaseWindow::activateRubberBand | ( | ) | [virtual] |
Activates the rubber band of the active map area on the mini-map.
| virtual void DtBaseWindow::attachEventController | ( | DtEventController * | ) | [virtual] |
If you are creating an event controller that can be used with this window, call this method to add it to event controllers that are tickable.
Called as a side effect of calling setBaseWindow in the event controller. Will also connect a slot to the destroyed signal of the event controller to remove it from the internal tickable list
| QList< DtEventController * > & DtBaseWindow::attachedEventControllers | ( | ) | [inline] |
Does not include the default event controller.
References myAttachedEventControllers.
| virtual DtPopupMenu* DtBaseWindow::menuFromAction | ( | QAction * | ) | [virtual] |
Calls down to the menu (if it exists) to return the menu that has the QAction.
| virtual DtPopupMenu* DtBaseWindow::menuForType | ( | DtMainMenuType | type | ) | [virtual] |
Calls down to the menu (if it exists) to return the menu from the menu type.
| virtual void DtBaseWindow::postProcessOptions | ( | ) | [virtual] |
Called after options are read from file.
Reimplemented in DtTMWindow, and DtTerrainWindow.
| bool DtBaseWindow::hasRubberBands | ( | ) | const [inline] |
References myRubberBandList.
| virtual void DtBaseWindow::addToolbarMapping | ( | int | id, |
| QWidget * | w | ||
| ) | [virtual] |
Adds toolbars to internal mapping without adding to menu.
| virtual void DtBaseWindow::removeToolbarMapping | ( | int | id | ) | [virtual] |
Removes toolbars to internal mapping without removing from view menu.
| virtual DtTMMapArea* DtBaseWindow::mapContainsData | ( | const DtModelData * | data | ) | const [virtual] |
If a map area contains the model data, returns the map area that contains it.
| virtual void DtBaseWindow::bringToFront | ( | ) | [virtual] |
Raises the window to be the topmost on the desktop.
| virtual void DtBaseWindow::clearFrameRates | ( | ) | [virtual] |
Call when running as fast as possible to zero out frame rate statistics.
| virtual void DtBaseWindow::removeAttachedEventController | ( | QObject * | ) | [virtual, slot] |
| virtual unsigned DtBaseWindow::createMapArea | ( | const DtTMFactory * | f | ) | [virtual, slot] |
Initialize and add a new map area.
Returns the current count. Or the number of MapAreas currently initialized in this window
Reimplemented in DtTMWindow, and DtTerrainWindow.
| virtual void DtBaseWindow::removeMapArea | ( | unsigned | ii | ) | [virtual, slot] |
Remove a map area from active service.
| virtual void DtBaseWindow::removeMapArea | ( | DtTMMapArea * | area | ) | [virtual, slot] |
Remove a map area from active service.
| virtual void DtBaseWindow::changeActiveMap | ( | DtTMMapArea * | ) | [virtual, slot] |
change the current active map
| virtual void DtBaseWindow::changeActiveRubberBand | ( | const DtTMRubberBand * | ) | [virtual, slot] |
change the current active rubber band.
Also changes the active map related to that rubber band.
| virtual void DtBaseWindow::addSymbol | ( | const DtModelData & | , |
| bool | |||
| ) | [virtual, slot] |
This is called from add symbols from symbol generator.
| virtual void DtBaseWindow::addSymbol | ( | const DtModelData & | , |
| DtSymbol * | |||
| ) | [virtual, slot] |
| virtual void DtBaseWindow::removeDictionaryEntry | ( | const DtModelKey & | key | ) | [virtual, slot] |
Removes this keyed entry from local map dictionaries.
| virtual void DtBaseWindow::removeSymbol | ( | const DtModelData & | , |
| bool | |||
| ) | [virtual, slot] |
This is called from remove symbols emit from symbol generator.
| virtual void DtBaseWindow::modifySymbol | ( | const DtModelData & | d, |
| int | changedFlags | ||
| ) | [virtual, slot] |
This is called from modify symbols emit from symbol generator.
| virtual void DtBaseWindow::tick | ( | ) | [virtual, slot] |
Redraws the background. Also keeps a frame rate counter.
Reimplemented in DtEntityEditorWindow, and DtTerrainWindow.
| virtual void DtBaseWindow::preTick | ( | ) | [virtual, slot] |
Emits preUpdateTick() signal.
| virtual void DtBaseWindow::postTick | ( | ) | [virtual, slot] |
Emits postUpdateTick signal.
| virtual void DtBaseWindow::toggleToolbar | ( | bool | b | ) | [virtual, slot] |
Uses our view/toolbar map to toggle toolbars on and off as connected via menu item items.
The menu item type is discovered as a function of passing the sender (a QAction) into the menu system to return its type
| virtual void DtBaseWindow::updateViewMenu | ( | ) | [virtual, slot] |
Updates the view menu based on current toolbar status.
| virtual void DtBaseWindow::hideAllToolbars | ( | ) | [virtual, slot] |
Hides/shows all visible/hidden toolbars.
Reimplemented in DtTMWindow.
| virtual void DtBaseWindow::showAllToolbars | ( | ) | [virtual, slot] |
| virtual void DtBaseWindow::displayToolbars | ( | bool | hide | ) | [virtual, slot] |
| virtual void DtBaseWindow::updateValidActions | ( | ) | [virtual, slot] |
Update valid actions.
This function decides which menu or button items are valid in your current state and disables/enables things accordingly
Reimplemented in DtTMWindow.
| virtual void DtBaseWindow::processSelectionChanged | ( | const QVector< DtModelKey > & | ) | [virtual, slot] |
Called when the selection has changed in any map area, emits a signal and updates valid actions.
Reimplemented in DtTMWindow.
| virtual void DtBaseWindow::changeSelection | ( | const QVector< DtModelKey > & | keys | ) | [virtual, slot] |
Changes the selection in the active map area.
| virtual void DtBaseWindow::modelDataAdded | ( | const DtModelKey & | key | ) | [virtual, slot] |
| virtual void DtBaseWindow::setupMenuConnection | ( | DtMainMenuType | ) | [virtual, slot] |
Called when the menu system recreates a menu, if the menu recreated is the view menu, setup connections again.
| DtFeatureActionManager * DtBaseWindow::featureActionManager | ( | ) | const [inline, slot] |
References myFeatureActionManager.
| DtFeatureActionManager * DtBaseWindow::backupFeatureActionManager | ( | ) | const [inline, slot] |
References myBackupFeatureActionManager.
| virtual void DtBaseWindow::revertFeatureActionManager | ( | ) | [virtual, slot] |
Reverts feature action manager to backup.
| virtual void DtBaseWindow::mergeFeatureActionManager | ( | const DtFeatureActionManager & | ) | [virtual, slot] |
Merges in new feature action manager. Currently merge only changes shortcuts.
| void DtBaseWindow::menuItemsValidated | ( | ) | [signal] |
Emitted after all menu items have been validated.
| void DtBaseWindow::changedActiveMap | ( | DtTMMapArea * | ) | [signal] |
Sent when the active map changed.
| void DtBaseWindow::closing | ( | const DtBaseWindow * | ) | [signal] |
Sent when closing.
| void DtBaseWindow::mapAreaCreated | ( | DtTMArea * | ) | [signal] |
Sent when a new map area is created via createMapArea.
| void DtBaseWindow::miniMapAreaCreated | ( | DtTMArea * | ) | [signal] |
| void DtBaseWindow::selectionChanged | ( | const QVector< DtModelKey > & | ) | [signal] |
| void DtBaseWindow::menuRecreated | ( | DtMainMenuType | ) | [signal] |
| void DtBaseWindow::modelDataMarkedForUpdated | ( | const DtModelData & | ) | [signal] |
| void DtBaseWindow::modelDataRemovedFromUpdate | ( | const DtModelData & | ) | [signal] |
| void DtBaseWindow::preTickSignal | ( | ) | [signal] |
| void DtBaseWindow::postTickSignal | ( | ) | [signal] |
| static DtBaseWindow* DtBaseWindow::create | ( | QWidget * | parent, |
| const Qt::WindowFlags & | flags | ||
| ) | [static] |
Returns a newly created instance of a DtTerrainWindow.
Reimplemented in DtTMWindow, DtEntityEditorWindow, and DtTerrainWindow.
| virtual void DtBaseWindow::tickEventControllers | ( | ) | [protected, virtual] |
Ticks this windows event controller and all attached.
| virtual bool DtBaseWindow::initContextMenus | ( | const DtTMFactory * | f | ) | [protected, virtual] |
| virtual bool DtBaseWindow::initMenuWidget | ( | const DtTMFactory * | f | ) | [protected, virtual] |
Initializes the menu bar by calling the factory to create it.
Will also tell the menu bar to create itself by calling the "create" method
| virtual bool DtBaseWindow::createFeatureActionManager | ( | const DtTMFactory * | f | ) | [protected, virtual] |
Creates and initializes feature action manager.
| virtual void DtBaseWindow::addDefaultShortcutsAndIcons | ( | const DtTMFactory * | f | ) | [protected, virtual] |
Called after feature action manager is created, adds default shortcuts and icons to the system.
Reimplemented in DtTMWindow, and DtTerrainWindow.
| virtual void DtBaseWindow::createMenuWidget | ( | const DtTMFactory * | f | ) | [protected, virtual] |
Creates a new menu widget from the factory. Called by initMenuWidget.
| virtual void DtBaseWindow::initViewMenuToolbarMap | ( | ) | [protected, virtual] |
Initializes the view/menu toolbar map by associating a view menu action with a toolbar to toggle on and off.
Reimplemented in DtTMWindow, and DtTerrainWindow.
| virtual bool DtBaseWindow::initMapConnections | ( | DtTMMapArea * | area | ) | [protected, virtual] |
Initializes connections for the map area.
Reimplemented in DtTerrainWindow.
| virtual bool DtBaseWindow::initMenuConnections | ( | ) | [protected, virtual] |
| virtual bool DtBaseWindow::initFromApplicationtoLatin1 | ( | ) | [protected, virtual] |
Creates symbols in the map areas based on DtLocalControlModelData found in the application dictionary.
| virtual Qt::ToolBarArea DtBaseWindow::dockToolbarPosition | ( | ) | const [protected, virtual] |
Returns Left or Right depending on language layout.
| virtual Qt::DockWidgetArea DtBaseWindow::dockWidgetPosition | ( | ) | const [protected, virtual] |
| virtual void DtBaseWindow::moveDockWindow | ( | QToolBar * | , |
| Qt::ToolBarArea | |||
| ) | [protected, virtual] |
Resurrect old call to place toolbar.
| virtual void DtBaseWindow::moveDockWindow | ( | QDockWidget * | , |
| Qt::DockWidgetArea | |||
| ) | [protected, virtual] |
| virtual QMenu* DtBaseWindow::createPopupMenu | ( | ) | [protected, virtual] |
| virtual QWidget* DtBaseWindow::centerWidget | ( | QWidget * | itemToCenter | ) | [protected, virtual] |
Creates a widget and layout that will center (horizontally) the supplied widget.
bool DtBaseWindow::myUsingGlobalMiniMap [protected] |
DtTMMiniMap* DtBaseWindow::myMiniMap [protected] |
QList<DtTMMapArea*> DtBaseWindow::myMapAreaList [protected] |
DtTMMapArea* DtBaseWindow::myActiveMapArea [protected] |
DtTMRubberBandList DtBaseWindow::myRubberBandList [protected] |
Referenced by hasRubberBands().
double DtBaseWindow::myElapsedRunTime [protected] |
double DtBaseWindow::myNumberOfFrames [protected] |
const int DtBaseWindow::theDefaultDisplayFrameRate [static, protected] |
int DtBaseWindow::myDisplayFrameRate [protected] |
QTime DtBaseWindow::myFrameStart [protected] |
DtEventController* DtBaseWindow::myEventController [protected] |
QHash<int, QWidget*> DtBaseWindow::myViewMenuToolbarMap [protected] |
QList<QWidget*> DtBaseWindow::myNormalToolbars [protected] |
DtMenuWidget* DtBaseWindow::myMenuWidget [protected] |
DtStdContextMenu* DtBaseWindow::myContextMenus [protected] |
Referenced by contextMenus().
DtContextMenu* DtBaseWindow::myMiddleClickMenu [protected] |
DtContextMenu* DtBaseWindow::myRightClickMenu [protected] |
DtArchiver DtBaseWindow::myArchiver [protected] |
QRect DtBaseWindow::myOriginalGeometry [protected] |
QList<DtEventController*>* DtBaseWindow::myAttachedEventControllers [protected] |
Referenced by attachedEventControllers().
int DtBaseWindow::myWindowCreationMode [protected] |
Referenced by featureActionManager().
Referenced by backupFeatureActionManager().