MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / OutputDirectory

Method OutputDirectory

src/openms_gui/source/VISUAL/OutputDirectory.cpp:24–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22namespace OpenMS
23{
24 OutputDirectory::OutputDirectory(QWidget* parent)
25 : QWidget(parent),
26 ui_(new Ui::OutputDirectoryTemplate)
27 {
28 ui_->setupUi(this);
29 QCompleter* completer = new QCompleter(this);
30 QFileSystemModel* dir_model = new QFileSystemModel(completer);
31 dir_model->setFilter(QDir::AllDirs);
32 completer->setModel(dir_model);
33 ui_->line_edit->setCompleter(completer);
34
35 connect(ui_->browse_button, &QPushButton::clicked, this, &OutputDirectory::showFileDialog);
36 connect(ui_->line_edit, &QLineEdit::textChanged, this, &OutputDirectory::textEditChanged_);
37 }
38
39 OutputDirectory::~OutputDirectory()
40 {

Callers

nothing calls this directly

Calls 1

setModelMethod · 0.80

Tested by

no test coverage detected