void PlaybackController::saveSettings(qt_gui_cpp::Settings& plugin_settings, qt_gui_cpp::Settings& instance_settings) const { instance_settings.setValue("recording_location", ui_.recordingDirLineEdit->text()); instance_settings.setValue("time_offset", ui_.timeOffsetSpinBox->value()); instance_settings.setValue("stepsize", ui_.stepsizeSpinBox->value()); }
void SkirosGui::saveSettings(qt_gui_cpp::Settings& plugin_settings, qt_gui_cpp::Settings& instance_settings) const { instance_settings.setValue("sceneName", ui_.sceneFile_lineEdit->text()); instance_settings.setValue("advancedOptions", ui_.modality_checkBox->isChecked()); instance_settings.setValue("size", widget_->size()); instance_settings.setValue("logFile", ui_.logFile_lineEdit->text()); instance_settings.setValue("saveLog", logging_); }
void ImageView::saveSettings(qt_gui_cpp::Settings& plugin_settings, qt_gui_cpp::Settings& instance_settings) const { instance_settings.setValue("topic", QString::fromStdString(topic)); }
void BandwidthGui::saveSettings(qt_gui_cpp::Settings& pluginSettings, qt_gui_cpp::Settings& instanceSettings) const { instanceSettings.setValue("connection", m_connectionBox->currentText()); instanceSettings.setValue("groups", m_grpYamlString); }
void ServiceWidget::saveSettings(qt_gui_cpp::Settings& pluginSettings, qt_gui_cpp::Settings& instanceSettings) const { instanceSettings.setValue("tableViewState", m_view->horizontalHeader()->saveState()); instanceSettings.setValue("connection", m_connectionBox->currentText()); }
void Autopilot::saveSettings(qt_gui_cpp::Settings& plugin_settings, qt_gui_cpp::Settings& instance_settings) const { instance_settings.setValue("desired_heading", ui_.desired_heading_double_spin_box->value()); instance_settings.setValue("desired_depth", ui_.desired_depth_double_spin_box->value()); }