The DdtViewer class Main class of the DDT Standard Viewer.
More...
#include <ddtViewer.hpp>
The DdtViewer class Main class of the DDT Standard Viewer.
◆ DdtViewer()
| DdtViewer::DdtViewer |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
Constructor
- Parameters
-
| parent | Pointer to the parent widget. |
◆ ~DdtViewer()
| DdtViewer::~DdtViewer |
( |
| ) |
|
|
virtual |
Destructor
Will be called when DDT Viewer is closed
◆ AttachDataFile
| void DdtViewer::AttachDataFile |
( |
QString |
filename | ) |
|
|
signal |
Signal that sends a filename of a file to open
- Parameters
-
| filename | filename and path of the file to open at startup |
◆ AttachDataStream
| void DdtViewer::AttachDataStream |
( |
QString |
data_stream | ) |
|
|
signal |
Signal that sends a stream URI to the image widget
- Parameters
-
| data_stream | URI of the data stream |
◆ closeEvent()
| void DdtViewer::closeEvent |
( |
QCloseEvent * |
event | ) |
|
|
overrideprotected |
closeEvent Close event which is triggered when the main window shell be closed.
- Parameters
-
◆ DetachStream
| void DdtViewer::DetachStream |
( |
| ) |
|
|
signal |
Signal that is sent to the image widget when the window closes
◆ HandleArguments
| void DdtViewer::HandleArguments |
( |
| ) |
|
|
slot |
HandleArguments Slot to handle commandline arguments after initialisation of the GUI.
◆ Init()
| bool DdtViewer::Init |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Initialization
Creates a DDT Viewer object
- Parameters
-
| argc | number of commandline arguments |
| argv | array of commandline arguments |
◆ LastSegment()
| void DdtViewer::LastSegment |
( |
void |
| ) |
|
Function to be registered as callback in the ImageWidget. It will be called when an image is received in the ImageWidget that has the "last segment" flag set.
◆ LoadOverlayFile
| void DdtViewer::LoadOverlayFile |
( |
const QString |
startup_overlay_file | ) |
|
|
signal |
Signal that sends the overlay file
- Parameters
-
| startup_overlay_file | The overlay file to load at startup |
◆ ParseCommandline()
| bool DdtViewer::ParseCommandline |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
protected |
Parse commandline arguments –file="<path to image file to open>" –stream="<URI to data stream>" –debug
◆ PopulatePublisherListCombo
| void DdtViewer::PopulatePublisherListCombo |
( |
QString |
startup_localbroker_uri, |
|
|
QString |
startup_remotebroker_uri |
|
) |
| |
|
signal |
Signal that sends the startup localbroker uri
- Parameters
-
| startup_localbroker_uri | Local Broker URI used at startup |
| startup_remotebroker_uri | Remote Broker URI used at startup |
◆ ResetDockWidgetsLayout
| void DdtViewer::ResetDockWidgetsLayout |
( |
| ) |
|
|
slot |
ResetDockWidgetsLayout Slot to handle the reconfiguration of dock widgets layout to default state.
◆ SetDataStream
| void DdtViewer::SetDataStream |
( |
QString |
startup_data_stream | ) |
|
|
signal |
Signal that sends the startup stream name
- Parameters
-
| startup_data_stream | Data Stream used at startup |
◆ SetImageScale
| void DdtViewer::SetImageScale |
( |
const QString |
startup_image_scale | ) |
|
|
signal |
Signal that sends the default image scale
- Parameters
-
| startup_image_scale | Image scale used at startup |
◆ SetNoWaitNewData
| void DdtViewer::SetNoWaitNewData |
( |
const bool |
startup_no_wait_new_data | ) |
|
|
signal |
Signal that sends the default no_wait_new_data flag
- Parameters
-
| startup_no_wait_new_data | Default no_wait_new_data flag used at startup |
◆ logger
◆ remote_control
The documentation for this class was generated from the following files: