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

Method createNewFormat

Gui/ProjectGui.cpp:142–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void
143ProjectGui::createNewFormat()
144{
145 ProjectPtr project = _project.lock();
146 AddFormatDialog dialog( project.get(), _gui->getApp()->getGui() );
147
148 if ( dialog.exec() ) {
149 project->setOrAddProjectFormat( dialog.getFormat() );
150 }
151}
152
153AddFormatDialog::AddFormatDialog(Project *project,
154 Gui* gui)

Callers

nothing calls this directly

Calls 7

setOrAddProjectFormatMethod · 0.80
lockMethod · 0.45
getMethod · 0.45
getGuiMethod · 0.45
getAppMethod · 0.45
execMethod · 0.45
getFormatMethod · 0.45

Tested by

no test coverage detected