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

Method getItem

unit-tests/MockScriptingAPI.h:170–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168 return value;
169 }
170 QVariant getItem(QWidget* parent, const QString& title, const QString& label,
171 const QStringList& items, int current = 0, bool editable = true) override {
172 Q_UNUSED(parent);
173 Q_UNUSED(title);
174 Q_UNUSED(label);
175 Q_UNUSED(editable);
176 return items[current];
177 }
178 QVariant getText(QWidget* parent, const QString& title, const QString& label,
179 const QString& text = QString()) override {
180 Q_UNUSED(parent);

Callers 1

mocksMethod · 0.45

Calls

no outgoing calls

Tested by 1

mocksMethod · 0.36