![]() |
MAK Data Logger API Documentation for DIS
|
The Logger Tape File Dialog. More...
Inheritance diagram for MAKLogger::DtLoggerTapeDialog:
Collaboration diagram for MAKLogger::DtLoggerTapeDialog:Public Slots | |
| virtual void | showLoggerTapeInfo () |
| Slot to toggle showing the dialog preview widget panel, depending on whether the dialog's "Show more logger information" button has been clicked. More... | |
Public Member Functions | |
| DtLoggerTapeDialog (QWidget *parent, QString directory, QString caption, AcceptMode mode, Qt::WindowFlags f=Qt::Dialog|Qt::CustomizeWindowHint|Qt::WindowTitleHint|Qt::WindowSystemMenuHint) | |
| CTOR. More... | |
| virtual | ~DtLoggerTapeDialog () |
| DTOR. More... | |
| virtual void | setFileWithPath (const QString fileWithPath) |
| Set the currently opened file. More... | |
| virtual void | setShowDescriptionOnly () |
| Set whether this file dialog will only show the description meta data widget. More... | |
| virtual void | setShowPreviewButton (bool show) |
| Set whether the Preview/Edit button should be shown in the meta data widget panel. More... | |
| virtual void | setEnablePreviewButton (bool enable) |
| Set whether the Preview/Edit button is enabled or not. More... | |
| virtual void | setNeedUpgradeForDescription (bool current, int loadedVersion) |
| Set whether the file format is current. More... | |
| virtual void | setShowEditPanel () |
| Set to toggle into edit mode if not already there. More... | |
| virtual void | setAppProtocol (const QString &protocol, bool display=false) |
| Set the protocol string for the current application run. More... | |
| virtual void | setDescriptionText (const QString &description) |
| Set the description text where a description already exists but is not saved. More... | |
| virtual QString | descriptionText () |
| Get the current description text from the dialog preview widget panel. More... | |
| virtual bool | descriptionChanged () |
| Get whether the description was changed in the dialog preview widget panel. More... | |
| virtual void | setMediaPlayConfiguration (const DtLgrMediaPlayPipelineInfo &pipelineInfo) |
| Set the media play in window and to stream pipeline configurations. More... | |
| virtual void | getMediaPlayInfo (DtLgrMediaPlayPipelineInfo &pipelineInfo) const |
| Get the media play pipeline info. More... | |
| virtual void | setMediaRecordConfiguration (const DtString &configuration, int port) |
| Set the media record from stream configuration. More... | |
| virtual bool | getRecordStreamPipeline (DtString &streamPipeline) const |
| Get the play to / record from stream pipelines Return true if there were any pipelines to collect. More... | |
| virtual void | setRecordStream (bool value) |
| set if we record by default. More... | |
Protected Slots | |
| virtual void | fileSelectionChanged (const QString &file) |
| Slot to take the new file selection from the dialog's file list widget and display the file's meta data in the preview widget panel. More... | |
| virtual void | fileNameTextChanged (const QString &text) |
| Slot to check for typed filename. More... | |
| virtual void | onFolderSelectionChanged (int index) |
| If the selection in the folder combox box is changed, need to clear the preview display. More... | |
| virtual void | onNavigateButtonClicked () |
| If the back, forward or to parent button is clicked, need to clear the preview display. More... | |
| virtual void | onNameFilterSelected (const QString &filter) |
| Enable hiding of other-protocol tapes only while the protocol-specific name filter is selected. More... | |
Protected Member Functions | |
| virtual bool | eventFilter (QObject *obj, QEvent *event) |
| Make sure the Open button is not enabled when an invalid file selection has been made. More... | |
| virtual void | accept () |
| Only accept key press or double-click action on a file selection if the Open button is currently enabled. More... | |
| virtual void | addDisplayControlButtons () |
| Add buttons that control display of configuration panels. More... | |
| virtual void | updateNameFilters () |
| Rebuild the name filter list; adds a protocol-specific entry when a protocol is set. More... | |
Protected Attributes | |
| DtLoggerPreviewWidget * | myLoggerTapePreviewWidget |
| DtLgrTapeProtocolFilterModel * | myProtocolFilterModel |
| QString | myProtocolNameFilter |
| QToolButton * | myInfoButton |
| QPushButton * | myOpenButton |
| QListView * | myListView |
| QListWidget * | myListWidget |
| QSize | myDialogSize |
| int | myPreviewPanelWidth |
The Logger Tape File Dialog.
| MAKLogger::DtLoggerTapeDialog::DtLoggerTapeDialog | ( | QWidget * | parent, |
| QString | directory, | ||
| QString | caption, | ||
| AcceptMode | mode, | ||
| Qt::WindowFlags | f = Qt::Dialog|Qt::CustomizeWindowHint|Qt::WindowTitleHint|Qt::WindowSystemMenuHint |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
protectedvirtual |
Only accept key press or double-click action on a file selection if the Open button is currently enabled.
|
protectedvirtual |
Add buttons that control display of configuration panels.
|
virtual |
Get whether the description was changed in the dialog preview widget panel.
|
virtual |
Get the current description text from the dialog preview widget panel.
|
protectedvirtual |
Make sure the Open button is not enabled when an invalid file selection has been made.
|
protectedvirtualslot |
Slot to check for typed filename.
If the file exists, the preview widget panel will be invoked to display the file information. If the file is valid, meaning it is a logger tape file, and it was created for the same protocol as the current application run, the Open button will be enabled, otherwise disabled.
|
protectedvirtualslot |
Slot to take the new file selection from the dialog's file list widget and display the file's meta data in the preview widget panel.
If the file is valid, meaning it is a logger tape file, and it was created for the same protocol as the current application run, the Open button will be enabled, otherwise disabled.
|
virtual |
Get the media play pipeline info.
|
virtual |
Get the play to / record from stream pipelines Return true if there were any pipelines to collect.
|
protectedvirtualslot |
If the selection in the folder combox box is changed, need to clear the preview display.
|
protectedvirtualslot |
Enable hiding of other-protocol tapes only while the protocol-specific name filter is selected.
|
protectedvirtualslot |
If the back, forward or to parent button is clicked, need to clear the preview display.
|
virtual |
Set the protocol string for the current application run.
Passed on to the dialog's preview widget panel. Set the display param as true in order to cause the protocol string to also be used for initial display. Used when there is no saved file to read from.
|
virtual |
Set the description text where a description already exists but is not saved.
|
virtual |
Set whether the Preview/Edit button is enabled or not.
|
virtual |
Set the currently opened file.
Used by the Save/SaveAs dialog. This causes the meta data information to appear in the preview widget on opening the dialog.
|
virtual |
Set the media play in window and to stream pipeline configurations.
|
virtual |
Set the media record from stream configuration.
|
virtual |
Set whether the file format is current.
On false, if the loaded file version requires an upgrade for writing a description, this will disable the Preview/Edit button and add a tooltip stating that it is necessary to upgrade the logger file in order to add a description.
|
virtual |
set if we record by default.
|
virtual |
Set whether this file dialog will only show the description meta data widget.
Used for all file dialogs except the Open File and Logger Information dialogs.
|
virtual |
Set to toggle into edit mode if not already there.
|
virtual |
Set whether the Preview/Edit button should be shown in the meta data widget panel.
Shown for all file dialogs except for the Open File dialog.
|
virtualslot |
Slot to toggle showing the dialog preview widget panel, depending on whether the dialog's "Show more logger information" button has been clicked.
|
protectedvirtual |
Rebuild the name filter list; adds a protocol-specific entry when a protocol is set.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |