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

Method questionDialog

Gui/GuiAppInstance.cpp:734–756  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

732}
733
734StandardButtonEnum
735GuiAppInstance::questionDialog(const std::string & title,
736 const std::string & message,
737 bool useHtml,
738 StandardButtons buttons,
739 StandardButtonEnum defaultButton) const
740{
741 appPTR->hideSplashScreen();
742 {
743 QMutexLocker l(&_imp->_showingDialogMutex);
744 ++_imp->_showingDialog;
745 }
746 if (!_imp->_gui) {
747 return eStandardButtonIgnore;
748 }
749 StandardButtonEnum ret = _imp->_gui->questionDialog(title, message, useHtml, buttons, defaultButton);
750 {
751 QMutexLocker l(&_imp->_showingDialogMutex);
752 --_imp->_showingDialog;
753 }
754
755 return ret;
756}
757
758StandardButtonEnum
759GuiAppInstance::questionDialog(const std::string & title,

Callers

nothing calls this directly

Calls 1

hideSplashScreenMethod · 0.45

Tested by

no test coverage detected