20#ifndef DDT_DATAVISUALISATION_DDTTESTVIEWER_DDTTESTVIEWER_H
21#define DDT_DATAVISUALISATION_DDTTESTVIEWER_DDTTESTVIEWER_H
33class DdtTestViewerForm;
63 bool Init(
int argc,
char* argv[]);
84 Ui::DdtTestViewerForm* ui;
85 QMap<QString, DdtDialog*> dialog_map_left;
86 QMap<QString, DdtDialog*> dialog_map_right;
88 QString startup_filename;
89 QString startup_localbroker_uri;
90 QString startup_remotebroker_uri;
91 QString startup_data_stream;
92 QString startup_image_scale;
93 QString startup_server_uri;
94 bool startup_timestamp;
95 QString startup_overlay_file;
96 bool startup_no_wait_new_data;
98 bool debug_log_enabled;
103 int current_rendering_id;
105 boost::signals2::connection left_connection;
106 boost::signals2::connection right_connection;
119 void ConnectWidgets();
121 void ConnectWidgetPanning();
122 void ConnectWidgetScaleButton();
124 void ConnectWidgetLeftImageWidget();
125 void ConnectWidgetRightImageWidget();
128 void CreateDialogsLeft();
129 void CreateDialogsRight();
131 const void RegisterMetaTypes();
136 void ConnectRemoteControl();
145 void ProcessRemoteCommand(
const std::string& image_widget_name,
146 const std::string& command_name,
147 const std::vector<std::string>& command_arguments);
Definition ddtRenderingPluginCPLInvers.hpp:29
The DdtViewer class Main class of the DDT Standard Viewer.
Definition ddtTestViewer.hpp:40
void LastSegment(void)
Definition ddtTestViewer.cpp:369
ddt::DdtRemoteControl * remote_control
Definition ddtTestViewer.hpp:81
void AttachDataFile(QString filename)
~DdtTestViewer() override
Definition ddtTestViewer.cpp:103
void SetImageScale(const QString startup_image_scale)
void SetNoWaitNewData(const bool startup_no_wait_new_data)
void SetDataStream(QString startup_data_stream)
void AttachDataStream(QString data_stream)
void LoadTransparentPNG()
Definition ddtTestViewer.cpp:375
void HandleArguments()
HandleArguments Slot to handle commandline arguments after initialisation of the GUI.
Definition ddtTestViewer.cpp:485
DdtTestViewer(QWidget *parent=nullptr)
Definition ddtTestViewer.cpp:32
ddt::DdtLogger * logger
Definition ddtTestViewer.hpp:76
bool ParseCommandline(int argc, char *argv[])
Definition ddtTestViewer.cpp:507
bool Init(int argc, char *argv[])
Definition ddtTestViewer.cpp:35
void closeEvent(QCloseEvent *event) override
closeEvent Close event which is triggered when the main window shell be closed.
Definition ddtTestViewer.cpp:465
void ShowModifiedDialog()
Definition ddtTestViewer.cpp:403
void SwitchRendering()
Definition ddtTestViewer.cpp:384
void LoadOverlayFile(const QString startup_overlay_file)
Definition myPickObjectDialog.hpp:24
Definition ddtLogger.hpp:51
Definition ddtRemoteControl.hpp:54
Class to wrap the usage of log4cplus as logging utility. This file provides a wrapper class for the u...
DDT Remote Control. Remote control interface for the DDT GUIs. Library class for the remote control i...
Example for a different rendering plugin. This is an example for a different rendering engine....
Class for the Pick Object dialog. Contains an additional GUI element. Class for the Pick Object dialo...
Definition ddtTestViewer.hpp:31