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

Method getMaxIcon

src/frontend/welcomescreen/WelcomeScreenHelper.cpp:378–386  ·  view source on GitHub ↗

* @brief Returns the maximize icon. */

Source from the content-addressed store, hash-verified

376 * @brief Returns the maximize icon.
377 */
378QVariant WelcomeScreenHelper::getMaxIcon() {
379 QByteArray bArray;
380 QBuffer buffer(&bArray);
381 buffer.open(QIODevice::WriteOnly);
382 m_maxIcon.save(&buffer, "PNG");
383 QString image = QString::fromLatin1(bArray.toBase64().data());
384 image.prepend("data:image/png;base64,");
385 return QVariant(image);
386}
387
388/**
389 * @brief Returns the minimize icon.

Callers

nothing calls this directly

Calls 3

openMethod · 0.45
saveMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected