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

Method onButtonClicked

Gui/ExportGroupTemplateDialog.cpp:326–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 7

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

Tested by

no test coverage detected