The DdtViewer class Main class of the DDT Standard Viewer.
More...
#include <ddtTestViewer.hpp>
The DdtViewer class Main class of the DDT Standard Viewer.
◆ DdtTestViewer()
DdtTestViewer::DdtTestViewer |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
◆ ~DdtTestViewer()
DdtTestViewer::~DdtTestViewer |
( |
| ) |
|
|
override |
Destructor
Will be called when DDT Viewer is closed
◆ AttachDataFile
void DdtTestViewer::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 DdtTestViewer::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 DdtTestViewer::closeEvent |
( |
QCloseEvent * | event | ) |
|
|
overrideprotected |
closeEvent Close event which is triggered when the main window shell be closed.
- Parameters
-
◆ DetachStream
void DdtTestViewer::DetachStream |
( |
| ) |
|
|
signal |
Signal that is sent to the image widget when the window closes
◆ HandleArguments
void DdtTestViewer::HandleArguments |
( |
| ) |
|
|
slot |
HandleArguments Slot to handle commandline arguments after initialisation of the GUI.
◆ Init()
bool DdtTestViewer::Init |
( |
int | argc, |
|
|
char * | argv[] ) |
Initialization
Creates a DDT Viewer object
- Parameters
-
argc | number of commandline arguments |
argv | array of commandline arguments |
◆ LastSegment()
void DdtTestViewer::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 DdtTestViewer::LoadOverlayFile |
( |
const QString | startup_overlay_file | ) |
|
|
signal |
Signal that sends the overlay file
- Parameters
-
startup_overlay_file | The overlay file to load at startup |
◆ LoadTransparentPNG
void DdtTestViewer::LoadTransparentPNG |
( |
| ) |
|
|
slot |
◆ ParseCommandline()
bool DdtTestViewer::ParseCommandline |
( |
int | argc, |
|
|
char * | argv[] ) |
|
protected |
Parse commandline arguments –file="<path to image file to open>" –stream="<URI to data stream>" –debug
◆ SetDataStream
void DdtTestViewer::SetDataStream |
( |
QString | startup_data_stream | ) |
|
|
signal |
Signal that sends the startup stream name
- Parameters
-
startup_data_stream | Data Stream used at startup |
◆ SetImageScale
void DdtTestViewer::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 DdtTestViewer::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 |
◆ ShowModifiedDialog
void DdtTestViewer::ShowModifiedDialog |
( |
| ) |
|
|
slot |
◆ SwitchRendering
void DdtTestViewer::SwitchRendering |
( |
| ) |
|
|
slot |
◆ logger
◆ remote_control
The documentation for this class was generated from the following files: