45 _debugObserverName = settings->value(
"DebugObserver",
"DebugObserver").toString().toStdString();
50 settings->setValue(
"DebugObserver", QString::fromStdString(_debugObserverName));
57 connect(_widget.pushButtonSend, SIGNAL(clicked()),
this, SLOT(on_pushButtonSend_clicked()));
63 getTopic(_debugObserver, _debugObserverName);
66 void WriteToDebugObserverGuiPluginWidgetController::on_pushButtonSend_clicked()
68 const std::string channel = _widget.lineEditChannelName->text().toStdString();
69 const std::string datafield = _widget.lineEditDatafield->text().toStdString();
70 const std::string
value = _widget.lineEditValue->text().toStdString();
72 if (datafield.empty() || channel.empty())
77 _debugObserver->setDebugDatafield(channel, datafield,
new Variant{
value});
87 return qobject_cast<SimpleConfigDialog*>(_dialog);
91 _debugObserverName = _dialog->getProxyName(
"DebugObserver");