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

Method question

src/scripting/ScriptAPI.cpp:93–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93int ScriptAPI::question(QWidget* parent,
94 const QString& title, const QString& text,
95 int buttons,
96 int defaultButton)
97{
98 return static_cast<int>(QMessageBox::question(parent, title, text,
99 static_cast<QMessageBox::StandardButtons>(buttons),
100 static_cast<QMessageBox::StandardButton>(defaultButton)));
101}
102
103int ScriptAPI::warning(QWidget* parent,
104 const QString& title, const QString& text,

Callers 1

logParser.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected