MCPcopy Create free account
hub / github.com/TeXworks/texworks / information

Method information

unit-tests/MockScriptingAPI.h:102–112  ·  view source on GitHub ↗

QMessageBox functions to display alerts

Source from the content-addressed store, hash-verified

100
101 // QMessageBox functions to display alerts
102 int information(QWidget* parent,
103 const QString& title, const QString& text,
104 int buttons = QMessageBox::Ok,
105 int defaultButton = QMessageBox::NoButton) override {
106 Q_UNUSED(parent);
107 Q_UNUSED(title);
108 Q_UNUSED(text);
109 Q_UNUSED(buttons);
110 Q_UNUSED(defaultButton);
111 return QMessageBox::NoButton;
112 }
113 int question(QWidget* parent,
114 const QString& title, const QString& text,
115 int buttons = QMessageBox::Ok,

Callers 1

mocksMethod · 0.45

Calls

no outgoing calls

Tested by 1

mocksMethod · 0.36