MCPcopy Create free account
hub / github.com/colmap/colmap / AddOptionText

Method AddOptionText

src/colmap/ui/options_widget.cc:157–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157QLineEdit* 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
169QLineEdit* OptionsWidget::AddOptionFilePath(std::filesystem::path* option,
170 const std::string& label_text) {

Callers 1

CreateGeneralOptionsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected