Class providing SLOTS to be connected to Qt signals. More...
Inheritance diagram for MAKLogger::DtLgrSlots:
Collaboration diagram for MAKLogger::DtLgrSlots:Public Types | |
| typedef DtLgrExportDialog *(* | ExportDialogCreator )(DtLgrGuiModel *, QWidget *parent) |
Public Slots | |
| void | updateInterfaces () |
| void | deleteAssistant () |
Lgr Component Slots | |
| virtual void | lgrComponentVisibilityChanged (bool visible) |
Slots for Interactive input via a dialog. | |
| virtual void | queryUserToRecordAs () |
| Slot responsible for interactively create a new file. | |
| virtual void | queryUserToRecordMultipleFiles () |
| Slot responsible for interactively recording to multiple files. | |
| virtual void | queryUserToOpenFile () |
| Slot responsible for interactively opening a file. | |
| virtual void | queryUserToCloseFile () |
| Slot responsible for interactively closing a file. | |
| virtual void | queryUserToSaveFile () |
| Slot responsible for interactively create a new file. | |
| virtual void | queryUserToSaveFileAs () |
| Slot responsible for interactively create a new file. | |
| virtual void | queryUserToJumpToTime () |
| Slot responsible for interactively jumping to a time. | |
| virtual void | queryUserToSetStartStopTimes () |
| Slot responsible for interactively setting the start and stop times. | |
| virtual void | queryUserToSetSpeed () |
| Slot responsible for interactively setting the speed. | |
| virtual void | queryUserToSetZoom () |
| Slot responsible for interactively setting the zoom. | |
| virtual void | queryUserToExportSection () |
| Slot responsible for interactively exporting a section of tape. | |
| virtual void | queryUserToExportFile () |
| Slot responsible for interactively exporting a tape. | |
| virtual void | queryUserToMergeInFile () |
| Slot responsible for interactively merging in a file. | |
| virtual void | queryUserToAppendFile () |
| Slot responsible for interactively appending in a file. | |
| virtual void | queryUserToPrefixFile () |
| Slot responsible for interactively appending in a file. | |
| virtual void | queryUserToOffsetTime () |
| Slot responsible for getting the time to offset. | |
| virtual void | queryUserToExit () |
| Slot responsible for exiting an application. | |
| virtual void | queryUserToUpgradeFile () |
| Slot responsible for asking if the user would like to convert the file. | |
| virtual void | queryUserToRevert () |
| Slot responsible for asking if the user would like to revert. | |
| virtual void | queryUserToSaveRecordingData () |
| Slot responsible for asking if the user would like to save the recording data. | |
| 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. | |
Simulation slots | |
| virtual void | toggleConnection () |
Playing Slots | |
| virtual void | play () |
| Slot for starting playback. | |
| virtual void | stop () |
| Slot for stopping playback. | |
| virtual void | pause () |
| Slot for pausing playback. | |
| virtual void | togglePlayPause () |
| Slot for toggling between playing and pausing. | |
| virtual void | setCurrentTime (const DtAbsoluteTime &) |
| Slot for setting the current time. Same as jump to time. | |
| virtual void | jumpToStart () |
| Slot for setting the current time to the start time. | |
| virtual void | jumpToEnd () |
| Slot for setting the current time to the end time. | |
| virtual void | increasePlaybackSpeed () |
| Slot for increasing the playback speed. | |
| virtual void | decreasePlaybackSpeed () |
| Slot for decreasing the playback speed. | |
| virtual void | setPlaybackSpeed (double) |
| Slot for setting the playback speed. | |
| virtual void | setStartStopTimes (const DtAbsoluteTime &start, const DtAbsoluteTime &stop) |
| Slot for setting the start and stop times. | |
| virtual void | setStartTime (const DtAbsoluteTime &start) |
| Slot for Setting the start time. | |
| virtual void | setStopTime (const DtAbsoluteTime &stop) |
| Slot for setting the stop time. | |
| virtual void | setLoopAtEnd (bool) |
| Slot for changed behavior at end of playback. | |
| virtual void | setPlayOnLoad (bool) |
| Slot for changing the behavior of starting playback after loading a file. | |
Recording Slots | |
| virtual void | newRecording (QString name, bool overwrite) |
| Slot for starting a new recording. | |
| virtual void | record () |
| Slot for starting recording. | |
| virtual void | setPauseOnRecordAs (bool enable) |
| Slot for changing if the logger pauses after a record as. | |
Editing Slots | |
| virtual void | clearSelection () const |
| Slot for clearing the current time selection. | |
| virtual void | cutSelection () const |
| Slot for cutting the current time selection. | |
| virtual void | trimStart () const |
| Slot for trimming the start of a file. | |
External App Slots | |
| virtual void | showHelp () |
| Show help. | |
| virtual void | showUserGuide () |
| show user guide | |
| virtual void | showReleaseNotes () |
| show user guide | |
| virtual void | showClassDocs () |
| show class docs | |
| virtual void | showAboutBox () |
| show about box | |
| virtual void | launchVersionWebsite () |
| launch Logger version web page. | |
| virtual void | launchProductWebsite () |
| launch Logger product web page. | |
Signals | |
| void | filterCountChanged (int) |
| void | filenameChanged (QString) |
| void | fileOpenForPlaybackChanged (bool) |
| void | fileOpenForRecordingChanged (bool) |
| void | postUpdateSignal (DtLgrGuiModel &) |
| void | playbackStateChanged (bool) |
| void | recordingStateChanged (bool) |
Public Member Functions | |
| DtLgrSlots (DtLgrMainWindow *mainWindow, DtLgrGuiModel *model) | |
| CTOR. | |
| virtual | ~DtLgrSlots () |
| DTOR. | |
| virtual void | customEvent (QEvent *) |
| Handle custom events. | |
| DtLgrMainWindow * | mainWindow () |
| Get the main window. | |
| virtual void | addMenuToMainWindow (DtLgrMenu *menu, QString afterThisMenu=QString()) |
| Add a menu to the window. | |
| virtual void | removeMenuFromMainWindow (QString menuName) |
| Remove a menu from the window. | |
| virtual void | addGuiComponent (DtLgrGuiComponent *component) |
| Add a GUI component to the window. | |
| virtual void | addWidgetToToolbar (QWidget *widget, QString toolBarName) |
| Add a widget to a tool bar. | |
| virtual void | addWidgetToStatusBar (QWidget *widget) |
| Add a widget to the status bar. | |
| virtual void | connectMenuItem (QAction *action, QString parentName, QString itemName) |
| Connect an action to a menu item. | |
| virtual void | addExportDialog (QString exportType, ExportDialogCreator creator) |
| Add a export dialog. | |
Protected Member Functions | |
| void | handleLgrAppEvent (DtLgrAppGuiEvent &event) |
| void | emitFilterCountChanged (const int &count) |
| void | emitOpenPlayFile (const DtString &filename) |
| void | emitOpenRecordFile (const DtString &filename) |
| void | emitPlaybackStateChanged (const bool &state) |
| void | emitRecordingStateChanged (const bool &state) |
| void | exportCompleted (const DtString &exportType) |
| void | emitCrippleGuiStateChanged (const bool &state) |
| void | exportTypeAddedCallback (const DtString &changed) |
| void | handleDropFileEvent (DtLgrDropFileEvent &event) |
Protected Attributes | |
| DtLgrMainWindow * | myMainWindow |
| DtLgrGuiModel * | myModel |
Class providing SLOTS to be connected to Qt signals.
| virtual void MAKLogger::DtLgrSlots::addMenuToMainWindow | ( | DtLgrMenu * | menu, |
| QString | afterThisMenu = QString() |
||
| ) | [virtual] |
Add a menu to the window.
| Input | |
| menu | is a pointer to a DtLgrMenu object. Ownership of this object is transfered to the MainWindow. |
| afterThisMenu | is the name of the menu to insert after, if this is null or not found the menu is added at the end. |
| virtual void MAKLogger::DtLgrSlots::queryUserToCloseFile | ( | ) | [virtual, slot] |
Slot responsible for interactively closing a file.
Returns true if closed, false if canceled.
| virtual void MAKLogger::DtLgrSlots::queryUserToExit | ( | ) | [virtual, slot] |
Slot responsible for exiting an application.
| Whether | exit has been canceled. |
| virtual void MAKLogger::DtLgrSlots::removeMenuFromMainWindow | ( | QString | menuName | ) | [virtual] |
Remove a menu from the window.
| Input | |
| menuName | is the name of the menu to be removed. |
| virtual void MAKLogger::DtLgrSlots::setPlayOnLoad | ( | bool | ) | [virtual, slot] |
Slot for changing the behavior of starting playback after loading a file.