1#ifndef TEXT_INPUT_DIALOG_H
2#define TEXT_INPUT_DIALOG_H
25 const std::string& title,
26 const std::string& prompt,
27 const std::string& defaultValue,
31 const std::string& title,
32 const std::string& prompt,
33 const std::optional<FloatingPoint>& defaultValue,
The delegate for the window.
An internal helper class for handling QApplication.
Utility class for prompting the user for input.
static std::optional< std::string > promptForTextInput(const std::string &title, const std::string &prompt, const std::string &defaultValue, business_logic::delegate::IWindowDelegate *windowDelegate)
static std::optional< FloatingPoint > promptForFloatingPointInput(const std::string &title, const std::string &prompt, const std::optional< FloatingPoint > &defaultValue, business_logic::delegate::IWindowDelegate *windowDelegate)
GUI user prompt utilities.