MCPcopy Create free account
hub / github.com/KDE/labplot / getMinIcon

Method getMinIcon

src/frontend/welcomescreen/WelcomeScreenHelper.cpp:391–399  ·  view source on GitHub ↗

* @brief Returns the minimize icon. */

Source from the content-addressed store, hash-verified

389 * @brief Returns the minimize icon.
390 */
391QVariant WelcomeScreenHelper::getMinIcon() {
392 QByteArray bArray;
393 QBuffer buffer(&bArray);
394 buffer.open(QIODevice::WriteOnly);
395 m_minIcon.save(&buffer, "PNG");
396 QString image = QString::fromLatin1(bArray.toBase64().data());
397 image.prepend("data:image/png;base64,");
398 return QVariant(image);
399}
400
401/**
402 * @brief Returns the go-back icon.

Callers

nothing calls this directly

Calls 3

openMethod · 0.45
saveMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected