QtPass 2.0.0
Developer documentation
Loading...
Searching...
No Matches
plainmessagebox.h File Reference

QMessageBox helpers that force Qt::PlainText so store-controlled names can never be read as rich-text markup. More...

#include <QMessageBox>
Include dependency graph for plainmessagebox.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  PlainMessageBox
 Message boxes whose text is shown as the text it is.

Functions

auto PlainMessageBox::show (QWidget *parent, QMessageBox::Icon icon, const QString &title, const QString &text, QMessageBox::StandardButtons buttons=QMessageBox::Ok) -> QMessageBox::StandardButton
 Show a modal message box with plain text and wait for it.
auto PlainMessageBox::askYes (QWidget *parent, const QString &title, const QString &text) -> bool
 Ask a yes/no question in plain text.
void PlainMessageBox::warning (QWidget *parent, const QString &title, const QString &text)
 Show a warning in plain text.
void PlainMessageBox::critical (QWidget *parent, const QString &title, const QString &text)
 Show an error in plain text.

Detailed Description

QMessageBox helpers that force Qt::PlainText so store-controlled names can never be read as rich-text markup.

Definition in file plainmessagebox.h.