Albert
Loading...
Searching...
No Matches
messagebox.h File Reference
#include <QMessageBox>
#include <albert/export.h>
Include dependency graph for messagebox.h:

Go to the source code of this file.

Namespaces

namespace  albert
 
namespace  albert::util
 

Functions

QMessageBox::StandardButton albert::util::question (const QString &text, QMessageBox::StandardButtons buttons=QMessageBox::StandardButtons(QMessageBox::Yes|QMessageBox::No), QMessageBox::StandardButton default_button=QMessageBox::NoButton)
 Shows a question message box containing text with the given buttons and default_button.
 
QMessageBox::StandardButton albert::util::information (const QString &text, QMessageBox::StandardButtons buttons=QMessageBox::Ok, QMessageBox::StandardButton default_button=QMessageBox::NoButton)
 Shows an information message box containing text with the given buttons and default_button.
 
QMessageBox::StandardButton albert::util::warning (const QString &text, QMessageBox::StandardButtons buttons=QMessageBox::Ok, QMessageBox::StandardButton default_button=QMessageBox::NoButton)
 Shows a warning message box containing text with the given buttons and default_button.
 
QMessageBox::StandardButton albert::util::critical (const QString &text, QMessageBox::StandardButtons buttons=QMessageBox::Ok, QMessageBox::StandardButton default_button=QMessageBox::NoButton)
 Shows a critical message box containing text with the given buttons and default_button.