40 #include <VisionX/components/ImageRecordingManager/ImageRecordingManagerInterface.h>
41 #include <VisionX/gui-plugins/ImageRecorder/ui_ImageRecorderWidget.h>
48 class ImageProviderConfigWidget;
58 QPointer<QTimer> m_poll_timer;
60 QPointer<armarx::SimpleConfigDialog> m_config_dialog;
62 Ui::image_recorder_widget m_widget;
64 std::string m_imrecman_name;
66 ImageRecordingManagerInterfacePrx m_imrecman;
68 std::map<std::string, ImageProviderConfigWidget*> m_config_widgets;
70 unsigned int m_image_provider_ctr = 0;
86 return "VisionX.ImageRecorder";
91 return QIcon {
"://icons/image_recorder.svg"};
96 return QIcon {
"://icons/eye.svg"};
111 void update_statuses(
const std::map<std::string, visionx::imrec::Status>& statuses);
129 void poll_statuses();
131 void get_config_from_imrecman();
133 void set_config_at_imrecman();
135 void add_image_provider();
137 void remove_image_provider(
const std::string& name);
139 void copy_config_json_to_clipboard();
141 void update_start_rec_label();
143 void start_recordings();
145 void stop_recordings();
147 void edit_mode_changed(
int state);
149 void rename_image_provider(
const std::string& old_name,
const std::string& new_name);