5 const std::string& message,
10 nullptr, QString::fromStdString(title), QString::fromStdString(message));
17 const std::string& title,
18 const std::string& message,
23 QMessageBox::question(
nullptr,
24 QString::fromStdString(title),
25 QString::fromStdString(message)) == QMessageBox::Yes;
The delegate for the window.
virtual void focusWindow()=0
Focus the window.
static bool promptConfirmation(const std::string &title, const std::string &message, business_logic::delegate::IWindowDelegate *windowDelegate)
static void showWarning(const std::string &title, const std::string &message, business_logic::delegate::IWindowDelegate *windowDelegate)
static std::unique_ptr< QApplication > createTempQApplication()
Create a temporary QApplication instance.
GUI user prompt utilities.