Enigma  3.2.0
A Simple, Reliable and Efficient Encryption Tool
DialogUtils Class Referencefinal

#include <DialogUtils.hpp>

Static Public Member Functions

static Enigma::MessageBox::Action Error (const std::string &title, const std::string &message, const Enigma::MessageBox::Choice choice=Enigma::MessageBox::Choice::Ok)
 
static Enigma::MessageBox::Action Error (const std::string &message, const Enigma::MessageBox::Choice choice=Enigma::MessageBox::Choice::Ok)
 
static Enigma::MessageBox::Action Warn (const std::string &title, const std::string &message, const Enigma::MessageBox::Choice choice=Enigma::MessageBox::Choice::Ok)
 
static Enigma::MessageBox::Action Warn (const std::string &message, const Enigma::MessageBox::Choice choice=Enigma::MessageBox::Choice::Ok)
 
static Enigma::MessageBox::Action Question (const std::string &title, const std::string &message, const Enigma::MessageBox::Choice choice=Enigma::MessageBox::Choice::Yes_No)
 
static Enigma::MessageBox::Action Question (const std::string &message, const Enigma::MessageBox::Choice choice=Enigma::MessageBox::Choice::Yes_No)
 
static Enigma::MessageBox::Action Info (const std::string &title, const std::string &message, const Enigma::MessageBox::Choice choice=Enigma::MessageBox::Choice::Ok)
 
static Enigma::MessageBox::Action Info (const std::string &message, const Enigma::MessageBox::Choice choice=Enigma::MessageBox::Choice::Ok)
 

Detailed Description

Definition at line 14 of file DialogUtils.hpp.

Member Function Documentation

◆ Error() [1/2]

static Enigma::MessageBox::Action DialogUtils::Error ( const std::string &  message,
const Enigma::MessageBox::Choice  choice = Enigma::MessageBox::Choice::Ok 
)
inlinestatic

Definition at line 27 of file DialogUtils.hpp.

◆ Error() [2/2]

static Enigma::MessageBox::Action DialogUtils::Error ( const std::string &  title,
const std::string &  message,
const Enigma::MessageBox::Choice  choice = Enigma::MessageBox::Choice::Ok 
)
inlinestatic

Definition at line 18 of file DialogUtils.hpp.

◆ Info() [1/2]

static Enigma::MessageBox::Action DialogUtils::Info ( const std::string &  message,
const Enigma::MessageBox::Choice  choice = Enigma::MessageBox::Choice::Ok 
)
inlinestatic

Definition at line 81 of file DialogUtils.hpp.

◆ Info() [2/2]

static Enigma::MessageBox::Action DialogUtils::Info ( const std::string &  title,
const std::string &  message,
const Enigma::MessageBox::Choice  choice = Enigma::MessageBox::Choice::Ok 
)
inlinestatic

Definition at line 72 of file DialogUtils.hpp.

◆ Question() [1/2]

static Enigma::MessageBox::Action DialogUtils::Question ( const std::string &  message,
const Enigma::MessageBox::Choice  choice = Enigma::MessageBox::Choice::Yes_No 
)
inlinestatic

Definition at line 63 of file DialogUtils.hpp.

◆ Question() [2/2]

static Enigma::MessageBox::Action DialogUtils::Question ( const std::string &  title,
const std::string &  message,
const Enigma::MessageBox::Choice  choice = Enigma::MessageBox::Choice::Yes_No 
)
inlinestatic

Definition at line 54 of file DialogUtils.hpp.

◆ Warn() [1/2]

static Enigma::MessageBox::Action DialogUtils::Warn ( const std::string &  message,
const Enigma::MessageBox::Choice  choice = Enigma::MessageBox::Choice::Ok 
)
inlinestatic

Definition at line 45 of file DialogUtils.hpp.

◆ Warn() [2/2]

static Enigma::MessageBox::Action DialogUtils::Warn ( const std::string &  title,
const std::string &  message,
const Enigma::MessageBox::Choice  choice = Enigma::MessageBox::Choice::Ok 
)
inlinestatic

Definition at line 36 of file DialogUtils.hpp.


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