MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / onButtonClicked

Method onButtonClicked

Gui/ExportGroupTemplateDialog.cpp:325–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323}
324
325void
326ExportGroupTemplateDialog::onButtonClicked()
327{
328 std::vector<std::string> filters;
329 const QString& path = _imp->gui->getLastPluginDirectory();
330 SequenceFileDialog dialog(this, filters, false, SequenceFileDialog::eFileDialogModeDir, path.toStdString(), _imp->gui, false);
331
332 if ( dialog.exec() ) {
333 std::string selection = dialog.selectedFiles();
334 _imp->fileEdit->setText( QString::fromUtf8( selection.c_str() ) );
335 QDir d = dialog.currentDirectory();
336 _imp->gui->updateLastPluginDirectory( d.absolutePath() );
337 }
338}
339
340void
341ExportGroupTemplateDialog::onLabelEditingFinished()

Callers

nothing calls this directly

Calls 7

toStdStringMethod · 0.80
selectedFilesMethod · 0.80
currentDirectoryMethod · 0.80
absolutePathMethod · 0.80
execMethod · 0.45
setTextMethod · 0.45

Tested by

no test coverage detected