gui/star_config.cpp
void StarConfig::sl_overall_config_changed(const QString& _text) {
    try {
      m_overall = Overall {
        std::stod(q_gravitationalConstantEdit->text().toStdString()),
        std::stod(q_delta_t_Edit->text().toStdString()),
        std::stoi(q_iterationLimitEdit->text().toStdString()),
        std::stod(q_escapeRadiusEdit->text().toStdString()),
        std::stod(q_simulationSpeedEdit->text().toStdString())
      };
      sig_update_overall(m_overall);
    } catch (std::invalid_argument) {
      cout << "ignoring invalid strings in overall group" << '\n';
    }
  }
/* The overall config group's changes are gathered here,
   * and are fowarded to the sig_ovarall_changed() signal.
   */
The overall config group's changes are gathered here,
and are fowarded to the sig_ovarall_changed() signal.
The overall config group ' s changes are gathered here and are fowarded to the sig_ovarall_changed () signal .
void StarConfig::sl_overall_config_changed(const QString& _text) {
    try {
      m_overall = Overall {
        std::stod(q_gravitationalConstantEdit->text().toStdString()),
        std::stod(q_delta_t_Edit->text().toStdString()),
        std::stoi(q_iterationLimitEdit->text().toStdString()),
        std::stod(q_escapeRadiusEdit->text().toStdString()),
        std::stod(q_simulationSpeedEdit->text().toStdString())
      };
      sig_update_overall(m_overall);
    } catch (std::invalid_argument) {
      cout << "ignoring invalid strings in overall group" << '\n';
    }
  }
void StarConfig :: sl_overall_config_changed ( const QString & _text ) { try { m_overall = Overall { std :: stod ( q_gravitationalConstantEdit -> text ( ) . toStdString ( ) ) , std :: stod ( q_delta_t_Edit -> text ( ) . toStdString ( ) ) , std :: stoi ( q_iterationLimitEdit -> text ( ) . toStdString ( ) ) , std :: stod ( q_escapeRadiusEdit -> text ( ) . toStdString ( ) ) , std :: stod ( q_simulationSpeedEdit -> text ( ) . toStdString ( ) ) } ; sig_update_overall ( m_overall ) ; } catch ( std :: invalid_argument ) { cout << " " << ' \n ' ; } }
The overall config group's changes are gathered here,
 and are fowarded to the sig_ovarall_changed() signal.
The overall config group ' s changes are gathered here and are fowarded to the sig_ovarall_changed () signal .