OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::MessageBoxManager Class Reference

#include "MessageBoxManager.h"

Public Member Functions

void setHandler (MessageBoxHandler *_handler)
 

Static Public Member Functions

static MessageBoxManagerinstance (void)
 
static MessageDialogCfg::BasicButton showPrompt (const MessageDialogCfg &_config)
 
static MessageDialogCfg::BasicButton showPrompt (const std::string &_message, const std::string &_title, MessageDialogCfg::BasicIcon _icon, const MessageDialogCfg::BasicButtons &_buttons)
 
static MessageDialogCfg::BasicButton showInfoPrompt (const std::string &_message, const std::string &_title, const MessageDialogCfg::BasicButtons &_buttons=MessageDialogCfg::Ok)
 
static MessageDialogCfg::BasicButton showWarningPrompt (const std::string &_message, const std::string &_title, const MessageDialogCfg::BasicButtons &_buttons=MessageDialogCfg::Ok)
 
static MessageDialogCfg::BasicButton showErrorPrompt (const std::string &_message, const std::string &_title, const MessageDialogCfg::BasicButtons &_buttons=MessageDialogCfg::Ok)
 

Member Function Documentation

◆ instance()

ot::MessageBoxManager & ot::MessageBoxManager::instance ( void )
static

◆ setHandler()

void ot::MessageBoxManager::setHandler ( MessageBoxHandler * _handler)
inline

◆ showErrorPrompt()

ot::MessageDialogCfg::BasicButton ot::MessageBoxManager::showErrorPrompt ( const std::string & _message,
const std::string & _title,
const MessageDialogCfg::BasicButtons & _buttons = MessageDialogCfg::Ok )
static

◆ showInfoPrompt()

ot::MessageDialogCfg::BasicButton ot::MessageBoxManager::showInfoPrompt ( const std::string & _message,
const std::string & _title,
const MessageDialogCfg::BasicButtons & _buttons = MessageDialogCfg::Ok )
static

◆ showPrompt() [1/2]

ot::MessageDialogCfg::BasicButton ot::MessageBoxManager::showPrompt ( const MessageDialogCfg & _config)
static

◆ showPrompt() [2/2]

ot::MessageDialogCfg::BasicButton ot::MessageBoxManager::showPrompt ( const std::string & _message,
const std::string & _title,
MessageDialogCfg::BasicIcon _icon,
const MessageDialogCfg::BasicButtons & _buttons )
static

◆ showWarningPrompt()

ot::MessageDialogCfg::BasicButton ot::MessageBoxManager::showWarningPrompt ( const std::string & _message,
const std::string & _title,
const MessageDialogCfg::BasicButtons & _buttons = MessageDialogCfg::Ok )
static

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