MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / getText

Method getText

pcsx2-qt/AsyncDialogs.cpp:19–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19void AsyncDialogs::getText(
20 QWidget* parent,
21 const QString& title,
22 const QString& label,
23 const QString& text,
24 std::function<void(QString)> value_callback)
25{
26 getText(parent, title, label, QLineEdit::Normal, text, {}, Qt::ImhNone, wrapValueCallback(std::move(value_callback)));
27}
28
29void AsyncDialogs::getText(
30 QWidget* parent,

Callers

nothing calls this directly

Calls 3

wrapValueCallbackFunction · 0.85
setWindowTitleMethod · 0.80
openMethod · 0.45

Tested by

no test coverage detected