Public Member Functions |
| | DtEntityEditorApplication (int &argc, char **argv) |
| | Constructor.
|
| virtual | ~DtEntityEditorApplication () |
| | Destructor.
|
| const QVector< DtUiAddition > & | uiAdditions () const |
| virtual bool | init (DtTMFactory *f, bool showSplashScreen=true) |
| | Initializer.
|
| virtual bool | simulationModelSetLoaded () const |
| | Returns true if a simulation model set is loaded.
|
virtual
DtSimulationModelSetLoader * | simulationModelSetLoader () |
| | DtTMApplication () |
| | Default Constructor.
|
| | DtTMApplication (int &argc, char **argv) |
| | Constructor.
|
| virtual | ~DtTMApplication () |
| | Destructor.
|
| virtual void | initializeQApplicationObject () |
| | If there is no global qApp defined, this routine will create one and install this object as the event filter.
|
| virtual DtBaseWindow * | createWindow (QWidget *parent, int mode=DtMenu_Hide, const Qt::WindowFlags &flags=0) |
| | This routine will create a new window (from the factory) and return a pointer to it.
|
| virtual QVector< DtModelKey > | selectedModelKeys () const |
| | Given the current active window, and active map area within that window, return the current selected model keys.
|
| virtual const DtTMFactory * | factory () const |
| | Returns a pointer to the current factory.
|
| virtual DtTMFactory * | factory () |
| virtual void | setFactory (DtTMFactory *f) |
| | Sets the current factory.
|
| virtual bool | initConnections () |
| | Init application level QT connections. Called from init.
|
| virtual DtTMMiniMap * | globalMiniMap () const |
| | Returns pointer to terrain minimap.
|
| virtual DtModelDataDict & | ModelDataDict () |
| | Returns the list of Symbol Datas.
|
| virtual DtModelDataIter * | ModelDataIter () const |
| | Returns the list of Symbol Datas.
|
| virtual DtBaseWindow * | createNewWindow (QWidget *parent=NULL, int mode=DtWindow_NoAction, const Qt::WindowFlags &f=0) |
| | Creates a new window.
|
| virtual DtBaseWindow * | activeWindow () const |
| | Returns the currently active window.
|
| DtTMAppOptions * | options () const |
| DtTMDisplayOptions * | displayOptions () const |
| virtual DtDrawerColl * | drawerColl () |
| virtual const QString & | filenameInUse () |
| virtual void | setFilenameInUse (const QString &filename) |
| virtual DtBaseSymbolMapper * | baseSymbolMapper () const |
| | Returns the default instance of the symbol mapper.
|
| DtArchiver * | archiver () |
| | Returns archiver that can be used to add in items to save/restore from settings file.
|
| virtual DtBaseWindow * | mainWindowFromObject (QObject *o, DtBaseWindow *defaultWindow) const |
| | Used in reparenting global mini-map.
|
| virtual void | addWindow (const DtBaseWindow *w) |
| | Adds a new window to the window list.
|
| virtual void | addManagedArea (DtTMArea *) |
| | Adds a new area to be managed by this application.
|
| virtual bool | hasWindows () const |
| | Returns true if a window exists.
|
| virtual DtWindowList * | windowList () |
| | Returns the list of windows.
|
| virtual int | fastestFrameRate () |
| | Of all the windows opened, return the fastest frame rate.
|
| virtual bool | exec () |
| | Run the qApp exec.
|
| virtual void | startTickTimer (int mSec, bool allowFutureOverride=true) |
| | Starts the tick timer at the specified msec.
|
| virtual void | setAllowTickTimerOverride (bool b) |
| virtual bool | allowTickTimerOverride () |
| virtual void | adjustTickTimerToMeet (int mSec) |
| | This routine will attempt to meet the minimum frame rate request if the tick timer can be modified.
|
| virtual int | tickTimerRate () |
| | Returns the rate of the current user tick timer.
|
| virtual void | setSuspendTicking (bool b) |
| | Suspend ticking of application.
|
| virtual bool | suspendTicking () |
| virtual void | setInTick (bool b) |
| | Set when the application is in the process of ticking.
|
| virtual DtModelData * | dataWithName (const QString &name, const QVector< int > *except=NULL) |
| | Returns the model data with the specified name.
|
| virtual DtModelData * | findLocalDataFor (const DtModelKey &key) |
| | Find data in local data dictionaries for the specified key.
|
| virtual const DtModelKey * | findLocalModelKey (DtSymbol *s) |
| | Find the model key, searching the view drivers of our known main windows.
|
| virtual DtModelData * | findModelData (DtSymbol *s) |
| | Find the model key, searching the view drivers of our known main windows.
|
| virtual DtViewDriver * | viewDriverFor (DtSymbol *s) |
| | Returns the view driver that holds the specified symbols.
|
| virtual DtViewDriver * | viewDriverFor (const DtModelKey &key) |
| | Returns the view driver that holds the specified model key.
|
| virtual DtPopupMenu * | menuFromAction (QAction *) |
| | Returns a menu that has this QAction.
|
| virtual void | markForUpdate (DtModelDataIter *iter) |
| | Mark this data for update by telling all child windows to mark it for update.
|
| virtual void | modelDataChanged (const DtModelData &data, int iChangedFlags) |
| | Different from markForUpdate in that it will mark the data for update and emit a model changed signal.
|
| virtual DtModelData * | checkForDuplicateName (const DtModelData *checker, QString name, const QVector< int > *except=NULL) |
| | Does a name check for the requesting model data and the new name.
|
| virtual void | setDuplicateNameCheck (bool b) |
| | Set to false if duplicate name checks should not be made (default is true)
|
| virtual bool | duplicateNameCheck () const |
| virtual DtEventSignaller * | eventSignaller () |
| | Returns the event signaller the user can register to handle certain application level events.
|
| virtual DtEventController & | eventController () |
| | Returns the applications event controller.
|
| virtual const DtEventController & | eventController () const |
| virtual const DtTerrainDatabase * | terrainDatabase () const |
| | Stub routine to allow users to return a terrain database more easily from application subclasses.
|
| virtual DtTerrainDatabase * | terrainDatabase () |
| virtual const DtPaperMapDatabase * | paperMapDatabase () const |
| virtual DtPaperMapDatabase * | paperMapDatabase () |
| virtual bool | fullScreenMode () const |
| | Returns state of full screen mode.
|
| virtual bool | isConcave (QVector< DtPoint > *pointList) |
| | Returns true if the point list supplied creates a concave shape.
|
| virtual void | addSymbol (const DtModelData &, bool force=true) |
| | Adds the specified symbol to all opened windows.
|
| virtual void | addSymbol (const DtModelData &, DtSymbol *) |
| virtual void | removeSymbol (const DtModelData &, bool removeFromDict=false) |
| | Removes the symbol from the windows, and, optionally the dictionary as well.
|
| virtual void | clear () |
| | Removes any model data from the data dictionary that is of type DtLocalControlModelDataType.
|
| virtual void | symbolMapChanged () |
| | Removes all symbols from all map areas and windows.
|
| virtual bool | needsTerrainDatabase () const |
| | Return true if a terrain database is needed to display symbols in the map area.
|
| virtual bool | terrainLoaded () const |
| | Returns true if a terrain database is loaded.
|
virtual
DtCoordinateSystemCollection * | coordinateSystemCollection () const |
| virtual DtUnitDisplayManager * | unitDisplayManager () const |
| virtual DtUnitConverterFactory * | unitConverterFactory () const |
| virtual bool | allowTerrainProfileTracking () const |
| | Return true to allow terrain profile tracking to be enabled for terrain profile dialogs.
|
| virtual void | setUpdateOnTick (bool b, bool updateMini=false) |
| | Tells all children windows (and mini map) to update on next tick.
|
| virtual void | setPrintMode (bool b) |
| | If we are in print mode, so objects (such as routes) can draw differently.
|
| virtual bool | printMode () const |
| virtual QString | dataFolder () |
| | Returns the data folder of this application.
|
| virtual QString | makeRelativeTo (QString filename, QString path) |
| | If the name given contains the directory, adds ../ to that path, removing everything before it.
|
| virtual QString | relativePath () |
| | Returns the folder that paths should be made relative to.
|
| int | settingsVersion () const |
| virtual QString | buildDate () const |
| virtual void | setSplashScreenMessage (const QString &) |
| | If there is a splash screen, shows message on it.
|
| virtual bool | startSplashScreenProgress (const QString &title, int iTotalSteps) |
| | Returns true if the progress status can be started on the splash screen.
|
| virtual void | updateSplashScreenProgress (int) |
| virtual void | endSplashScreenProgress () |
| virtual bool | splashScreenIsActive () const |
| | Returns true if splash screen is active.
|
| bool | applicationInitialized () const |
| | Set to true when first window is shown, meaning application has been initialized.
|
| virtual void | attachEventController (DtEventController *) |
| | If you are creating an event controller that can be used with this application, call this method to add it to event controllers that are tickable.
|
| QList< DtEventController * > & | attachedEventControllers () |
| | Does not include the default event controller.
|
| virtual void | tickEventControllers () |
| virtual void | clearCurrentEvents () |
| virtual void | setSplashScreenImage (const QString &) |
| | Must call before init.
|
| virtual DtTMMapArea * | mapContainsData (const DtModelData *data) const |
| | If a map area contains the model data, returns the map area that contains it.
|
| virtual bool | eventFilter (QObject *o, QEvent *e) |
| | This is part of the work-around described in recursiveTimer.h.
|
| virtual bool | event (QEvent *e) |
| virtual QString | resolveFile (const QString &) const |
| | Returns full qualified filename given current directory and relative file to it.
|
| virtual DtTMPluginManager * | pluginManager () const |
| virtual void | mergeFeatureActionManager (const DtFeatureActionManager &) |
| | Because feature action managers are local to windows, passes this down to each window to merge.
|
| virtual void | mergeToolbarManager (const DtToolbarFactoryManager &) |
| | Because toolbar managers are local to windows, passes this down to each window to merge.
|
| virtual void | revertToolbars () |
| | Asks all windows to revert toolbars using stored toolbar factory information.
|
| virtual DtEnvironmentalModelData * | createObject (const QString &object, QVector< DtPoint > &points, const QString &name=QString::null) |
| | These routines will aide in the creating of symbols and model data based on their name.
|
| virtual bool | canPaste () const |
| | Routines that are used to store paste information for copy/paste operation.
|
| virtual void | setPasteData (const QByteArray &) |
| virtual void | clearPasteData () |
| const QByteArray & | pasteData () const |
Additional Inherited Members |
| virtual void | removeAttachedEventController (QObject *) |
| virtual DtBaseWindow * | fileNewWindow (bool show=true) |
| | Slots.
|
| virtual void | fileExit () |
| virtual void | removeWindow (const DtBaseWindow *w) |
| | Removes a window from the list.
|
| virtual void | windowDestroyed (QObject *w) |
| virtual void | modelDataAdded (const DtModelKey &key) |
| | Called when model data is added, marks the data for update.
|
| virtual void | modelDataRemoved (const DtModelKey &key) |
| | Called when model data is removed, removes from update.
|
| virtual void | setDisplayFrameRate (int iFramesPerSecond) |
| | Called to display target display frame rate.
|
| virtual int | displayFrameRate () const |
| | Called to return the target display frame rate.
|
| virtual void | tick () |
| | This will go through the windows list and ask then windows to tick. Calls tickInternal if should tick.
|
| virtual void | tickInternal () |
| virtual void | setFullScreenMode (bool b) |
| | Changes the myFullScreenMode flag, but does not change the mode.
|
| virtual void | saveSettingsFile () |
| | Saves out settings.
|
| virtual void | saveSettings (QTextStream &stream) |
| virtual void | readSettingsFile (DtBaseWindow *w, bool windowOnly=false) |
| | Reads out settings file.
|
| virtual void | readSettings (DtBaseWindow *w, QTextStream &stream, bool windowOnly=false) |
| virtual void | splashScreenDestroyed () |
| virtual void | removeManagedArea (QObject *) |
| | Call to remove a managed area. Is also called when an area is destroyed that is managed.
|
| virtual void | removeFromUpdate (const DtModelData &data) |
| | Removes this data for update (if exists)
|
| virtual void | markForUpdate (const DtModelData &) |
| virtual void | markForUpdate (const DtModelKey &) |
| virtual void | showSplashScreen () |
| | Creates and shows the splash screen (if there is a splash image to show)
|
| virtual void | closeSplashScreen () |
| | Closes splash screen and frees splash screen object.
|
| virtual void | showSplashScreen (bool show) |
| virtual void | processMsgItem (const DtMsgItem &item) |
| virtual bool | shouldTick () |
| | Returns true if application should tick.
|
| static void | addUserDataFor (const DtEntityMapperKey &, DtArchivableObjectCreator) |
| | Called when a model data is added, adds a user data for the particular item (based on entity mapper key)
|
| static void | removeUserDataFor (const DtEntityMapperKey &) |
| virtual void | addToUpdate (const DtModelData &data) |
| virtual void | addToRemoval (const DtModelData &data) |
| void | filenameInUseChanged (const QString &s) |
| | Signals.
|
| void | symbolMapChangedSignal () |
| void | pluginLoaded (const DtTMPlugin *) |
| void | pasteAvailable () |
| void | pasteUnavailable () |
| static DtTMApplication * | app () |
| static DtTMApplication * | create (int argc, char **argv) |
| static DtTMApplication * | theApplication |
static QHash< QString,
DtArchivableObjectCreator > | theUserData |