FlowArithmeticCalculator 1.0.0
Flow Arithmetic Calculator
Loading...
Searching...
No Matches
gui::window::prompt::GuiMessageBox Class Referencefinal

Utility class for displaying messages to the user. More...

#include <GuiMessageBox.h>

+ Inheritance diagram for gui::window::prompt::GuiMessageBox:
+ Collaboration diagram for gui::window::prompt::GuiMessageBox:

Public Member Functions

 GuiMessageBox ()=delete
 
- Public Member Functions inherited from gui::window::prompt::QAppSingletonProto
virtual ~QAppSingletonProto ()=default
 

Static Public Member Functions

static void showWarning (const std::string &title, const std::string &message, business_logic::delegate::IWindowDelegate *windowDelegate)
 
static bool promptConfirmation (const std::string &title, const std::string &message, business_logic::delegate::IWindowDelegate *windowDelegate)
 
- Static Public Member Functions inherited from gui::window::prompt::QAppSingletonProto
static std::unique_ptr< QApplication > createTempQApplication ()
 Create a temporary QApplication instance.
 

Detailed Description

Utility class for displaying messages to the user.

See also
gui::window::prompt::QAppSingletonProto

Definition at line 15 of file GuiMessageBox.h.

Constructor & Destructor Documentation

◆ GuiMessageBox()

gui::window::prompt::GuiMessageBox::GuiMessageBox ( )
delete

Member Function Documentation

◆ promptConfirmation()

bool gui::window::prompt::GuiMessageBox::promptConfirmation ( const std::string &  title,
const std::string &  message,
business_logic::delegate::IWindowDelegate windowDelegate 
)
static

Definition at line 16 of file GuiMessageBox.cpp.

References gui::window::prompt::QAppSingletonProto::createTempQApplication(), and business_logic::delegate::IWindowDelegate::focusWindow().

Referenced by gui::window::GLFWQtWindowImpl< RendererImpl, Canvas >::promptConfirmation().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showWarning()

void gui::window::prompt::GuiMessageBox::showWarning ( const std::string &  title,
const std::string &  message,
business_logic::delegate::IWindowDelegate windowDelegate 
)
static

Definition at line 4 of file GuiMessageBox.cpp.

References gui::window::prompt::QAppSingletonProto::createTempQApplication(), and business_logic::delegate::IWindowDelegate::focusWindow().

Referenced by gui::window::GLFWQtWindowImpl< RendererImpl, Canvas >::showWarning().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: