The DdtViewer class Main class of the DDT Standard Viewer.
More...
#include <ddtViewer.hpp>
|
void | HandleArguments () |
| HandleArguments Slot to handle commandline arguments after initialisation of the GUI. More...
|
|
|
void | closeEvent (QCloseEvent *event) override |
| closeEvent Close event which is triggered when the main window shell be closed. More...
|
|
bool | ParseCommandline (int argc, char *argv[]) |
|
The DdtViewer class Main class of the DDT Standard Viewer.
◆ DdtViewer()
DdtViewer::DdtViewer |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ ~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
-
◆ 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 |
parent | pointer to the parent widget |
◆ 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.
◆ 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
◆ SetDataStream
void DdtViewer::SetDataStream |
( |
QString |
startup_data_stream | ) |
|
|
signal |
Signal that sends the startup stream name
- Parameters
-
Data | Stream used at startup |
◆ SetImageScale
void DdtViewer::SetImageScale |
( |
const QString |
startup_image_scale | ) |
|
|
signal |
Signal that sends the default image scale
- Parameters
-
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
-
Default | no_wait_new_data flag used at startup |
◆ logger
◆ remote_control
The documentation for this class was generated from the following files: