Mantid
Loading...
Searching...
No Matches
Public Member Functions | List of all members
MantidQt::MantidWidgets::MessageHandler Class Referencefinal

#include <MessageHandler.h>

Inheritance diagram for MantidQt::MantidWidgets::MessageHandler:
MantidQt::MantidWidgets::IMessageHandler

Public Member Functions

bool askUserOkCancel (const std::string &prompt, const std::string &title) override
 
void giveUserCritical (const std::string &prompt, const std::string &title) override
 
void giveUserInfo (const std::string &prompt, const std::string &title) override
 
void giveUserWarning (const std::string &prompt, const std::string &title) override
 
 ~MessageHandler ()=default
 
- Public Member Functions inherited from MantidQt::MantidWidgets::IMessageHandler
virtual bool askUserOkCancel (const std::string &prompt, const std::string &title)=0
 
virtual void giveUserCritical (const std::string &prompt, const std::string &title)=0
 
virtual void giveUserInfo (const std::string &prompt, const std::string &title)=0
 
virtual void giveUserWarning (const std::string &prompt, const std::string &title)=0
 
virtual ~IMessageHandler ()=default
 

Detailed Description

Definition at line 15 of file MessageHandler.h.

Constructor & Destructor Documentation

◆ ~MessageHandler()

MantidQt::MantidWidgets::MessageHandler::~MessageHandler ( )
default

Member Function Documentation

◆ askUserOkCancel()

bool MantidQt::MantidWidgets::MessageHandler::askUserOkCancel ( const std::string &  prompt,
const std::string &  title 
)
overridevirtual

Implements MantidQt::MantidWidgets::IMessageHandler.

Definition at line 30 of file MessageHandler.cpp.

◆ giveUserCritical()

void MantidQt::MantidWidgets::MessageHandler::giveUserCritical ( const std::string &  prompt,
const std::string &  title 
)
overridevirtual

Implements MantidQt::MantidWidgets::IMessageHandler.

Definition at line 16 of file MessageHandler.cpp.

◆ giveUserInfo()

void MantidQt::MantidWidgets::MessageHandler::giveUserInfo ( const std::string &  prompt,
const std::string &  title 
)
overridevirtual

Implements MantidQt::MantidWidgets::IMessageHandler.

Definition at line 25 of file MessageHandler.cpp.

◆ giveUserWarning()

void MantidQt::MantidWidgets::MessageHandler::giveUserWarning ( const std::string &  prompt,
const std::string &  title 
)
overridevirtual

Implements MantidQt::MantidWidgets::IMessageHandler.

Definition at line 21 of file MessageHandler.cpp.


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