MCPcopy Create free account
hub / github.com/chris2511/xca / xcaWarningBox

Method xcaWarningBox

widgets/XcaWarning.cpp:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17#include <QTextEdit>
18
19xcaWarningBox::xcaWarningBox(QWidget *w, const QString &txt,
20 QMessageBox::Icon icn)
21 : QMessageBox(icn, XCA_TITLE, txt, QMessageBox::NoButton, w)
22{
23 setTextFormat(Qt::PlainText);
24}
25
26void xcaWarningBox::addButton(QMessageBox::StandardButton button,
27 const QString &text)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected