Public Member Functions |
| | DT_VIRTUAL_CTR (DtLgrGuiModel,(DtLgrAppGui *appGui)) |
| | CTOR.
|
| virtual | ~DtLgrGuiModel () |
| | DTOR.
|
| virtual void | initialize (DtLgrMainWindow *mainWindow, QObject *eventHandler) |
| | Initialize the Model with any defaults.
|
| virtual void | addExportType (QString exportName, int exportType) |
| virtual void | addNewMenu (DtLgrMenu *menu, QString previousMenuName=QString()) |
| | Add a new menu.
|
| virtual void | addNewToolbar (QWidget *toolBar, QString toolBarName) |
| | Add a new widget to the toolbar.
|
| virtual void | addGuiComponent (DtLgrGuiComponent *component, bool addAbove=true) |
| | Add a gui component.
|
| virtual void | removeGuiComponent (QString componentName) |
| | Remove a gui component.
|
| virtual DtLgrGuiComponent * | guiComponent (QString componentName) |
| | Returns the gui component with the given name.
|
| virtual void | changeGuiComponentVisibility (QString componentName, bool visible) |
| | Change a gui component's visibility.
|
| virtual void | setGuiComponentInitialVisibility (QString componentName, bool visible) |
| | Set the gui component's initial visibility.
|
| virtual void | updateLgrComponent (QString componentName, bool visible) |
| | Update a lgr gui component.
|
| virtual void | showLgrComponent (QString componentName) |
| | Show the component.
|
| virtual void | hideLgrComponent (QString componentName) |
| | Hide the component.
|
| virtual void | getComponentsVisibility (DtComponentVisibilityMap &visibilityMap) const |
| | Get list of component names and their visibility.
|
| virtual void | addNewStatusWidget (QWidget *widget) |
| | Add a new status widget.
|
| virtual void | connectMenuItemToAction (QString menuName, QString menuItemName, QAction *action) |
| | Connect a menu item trigger to an action.
|
| virtual void | addExportDialog (QString exportType, ExportDialogCreator creator) |
| | Add an export dialog.
|
| virtual QString | fileNameForDisplay () const |
| | Get the file name to display.
|
| virtual void | upgradeFile () |
| | Convert the current file.
|
| virtual void | repairFile (const QString &filename, bool queryRepair) |
| | Repair the current file.
|
| virtual void | recoverLastPacket (const QString &filename) |
| | Begin repair of file by seeking the last packet.
|
| virtual void | exportCompleted () |
| | Export logger file has completed.
|
| virtual void | revert () |
| | Revert to original file.
|
| virtual void | updateInterfaces () |
| | Update the interfaces.
|
| virtual void | deleteAssistant () |
| | Clean up the help assistant.
|
| virtual void | toggleConnection () |
| | Toggle the connection.
|
| virtual bool | disconnect (QWidget *dialog=0) |
| | Disconnect the connection Return: disconnect was carried out?
|
| virtual QObject * | eventHandler () |
| | Get the event handler object.
|
| virtual DtLgrMainWindow * | mainWindow () |
| | Get the main window.
|
| virtual void | crippleGui (bool disableAndMinimize) |
| | Change the cripple GUI state.
|
| virtual void | openUrl (const QString &urlText) |
| | Open as URL.
|
| virtual void | showHelp (const char *filename=0) |
| | Show a help page, by default the main page.
|
| virtual void | showUserGuide () |
| | Show the user guide.
|
| virtual void | showReleaseNotes () |
| | Show the release notes.
|
| virtual void | showClassDocs () |
| | Show the class docs.
|
| virtual void | showAboutBox () |
| | Show the about box.
|
| virtual void | launchVersionWebsite () |
| | Launch the product's version web site.
|
| virtual void | launchProductWebsite () |
| | Launch the product web site.
|
| virtual const DtTimeComponent & | displayTime () const |
| | Get the model's time component used to control the GUI's display time.
|
| virtual void | playbackFileEvent (const QString &filename) |
| | Handle when a playback file is opened/closed.
|
| virtual void | recordFileEvent (const QString &filename) |
| | Handle when a record file is opened/closed.
|
| virtual bool | isZoomEnabled () const |
| | Get whether zooming is enabled.
|
| virtual void | setFollowMode (bool enableFollow) |
| | Enable follow mode.
|
| virtual void | setFollowInterval (double interval) |
| | Set follow interval.
|
| virtual bool | isFollowMode () const |
| | Get the follow mode.
|
| virtual void | jumpTimeChanged (const DtAbsoluteTime &jumpTime) |
| | Handle when a time jump is made.
|
|
| virtual bool | exit () |
| | Attempt to exit the logger.
|
| virtual void | startLongOperation () |
| | Start the long operation.
|
| virtual void | finishLongOperation () |
| | Finish the long operation.
|
| virtual void | updateLongOperation () |
| | Update the long operation.
|
| virtual void | cancelLongOperation () |
| | Attempt to cancel a long operation.
|
|
| virtual QString | getLoggerFileFilter () const |
| | Get the Logger file filter string.
|
| virtual QString | getDefaultLoggerFileDirectory () const |
| | Get the default Logger file directory.
|
| virtual QString | getSaveLoggerFileName (QWidget *parentWindow, QString title, QString &description, bool &descriptionChanged) |
| | Query user for New Logger File name.
|
| virtual bool | openFile () |
| | Attempt to open a file. Queries user to choose a file.
|
| virtual bool | openFile (QString &filename) |
| | Attempt to open a file, with a provided file name.
|
| virtual bool | needDifferentConnectionSettings (DtString &filename) |
| | Check if playback file and connection settings are compatible.
|
| virtual bool | saveFileAs (bool reopenAfterSave=true) |
| | Attempt to save a file (with a new name).
|
| virtual void | saveFile (bool reopenAfterSave=true) |
| | Save a file.
|
| virtual bool | fileSaved () const |
| | Is a file saved.
|
| virtual bool | closeFile () |
| | Attempt to close a file (recording or playback).
|
| virtual void | exportSection (const DtString &fileFormat) |
| | Export a section.
|
| virtual void | exportFile (const DtString &fileFormat) |
| | Export the entire file.
|
| virtual bool | openLoggerInformation () |
| | Open the logger information dialog.
|
| virtual void | recordAs () |
| | Start a new recordingAs.
|
| virtual void | recordFile (QString filename, QString description, bool overwrite) |
| | Start a record file with a specific name, and overwrite permission.
|
| virtual void | queryToRecordMultipleFiles () |
| | Get the Logger file filter string.
|
| virtual void | recordToMultipleFiles (QString filename, QString description) |
| | Record to multiple files.
|
| virtual bool | queryStopRecordingEmptyTape () |
| | Recording is being stopped with no data.
|
| virtual void | saveRecordingData () |
| | Save the currently recorded data without stopping recording.
|
| virtual void | setZoom () |
| | Set the zoom settings.
|
| virtual void | setZoom (const DtAbsoluteTime &start, const DtAbsoluteTime &end) |
| | Set the zoom area by times.
|
|
| virtual void | setSpeed () |
| | Set the speed of playback.
|
| virtual void | setStartStopTimes () |
| | Set the start and stop times by Dialog.
|
| virtual void | setStartStopTimes (const DtAbsoluteTime &start, const DtAbsoluteTime &stop) |
| | Set the start and stop times.
|
| virtual void | stop () |
| | Stop playback and recording.
|
|
| virtual void | clearSelection () |
| | Clear using the current selection.
|
| virtual void | cutSelection () |
| | Cut using the current selection.
|
| virtual void | mergeInFile () |
| | Merge in a new file.
|
| virtual void | appendFile () |
| | Append a file to the end.
|
| virtual void | prefixFile () |
| | Prefix a file to the beginning.
|
| virtual void | offsetTime () |
| | Offset the time in a file.
|
|
| virtual const DtLgrFullInterface * | fullInterface () const |
| | Get the full interface.
|
| virtual DtLgrFullInterface * | fullInterface () |
| | Get the full interface.
|
|
| virtual const DtLgrAppGui * | appGui () const |
| | Get the application GUI.
|
| virtual DtLgrAppGui * | appGui () |
| | Get the application GUI.
|
|
virtual const
DtLgrEditorInterface * | editorInterface () const |
| | Get an editor interface.
|
| virtual DtLgrEditorInterface * | editorInterface () |
| | Get an editor interface.
|
|
virtual const
DtLgrPlaybackInterface * | playbackInterface () const |
| | Get a playback interface.
|
| virtual DtLgrPlaybackInterface * | playbackInterface () |
| | Get a playback interface.
|
|
virtual const
DtLgrRecordInterface * | recordInterface () const |
| | Get a record interface.
|
| virtual DtLgrRecordInterface * | recordInterface () |
| | Get a record interface.
|
|
| virtual const DtLgrSimInterface * | simulationInterface () const |
| | Get a simulation interface.
|
| virtual DtLgrSimInterface * | simulationInterface () |
| | Get a simulation interface.
|
|
virtual const
DtLgrSystemInterface * | systemInterface () const |
| | Get a system interface.
|
| virtual DtLgrSystemInterface * | systemInterface () |
| | Get a system interface.
|
|
| virtual const DtLgrTimeInterface * | timeInterface () const |
| | Get the current time interface.
|
| virtual DtLgrTimeInterface * | timeInterface () |
| | Get the current time interface.
|