| 155 | } |
| 156 | |
| 157 | QLineEdit* OptionsWidget::AddOptionText(std::string* option, |
| 158 | const std::string& label_text) { |
| 159 | QLineEdit* line_edit = new QLineEdit(this); |
| 160 | line_edit->setText(QString::fromStdString(*option)); |
| 161 | |
| 162 | AddOptionRow(label_text, line_edit, option); |
| 163 | |
| 164 | options_text_.emplace_back(line_edit, option); |
| 165 | |
| 166 | return line_edit; |
| 167 | } |
| 168 | |
| 169 | QLineEdit* OptionsWidget::AddOptionFilePath(std::filesystem::path* option, |
| 170 | const std::string& label_text) { |
no outgoing calls
no test coverage detected