9#include <albert/export.h>
47QPixmap ALBERT_EXPORT
pixmapFromUrl(
const QString &url,
const QSize &requestedSize);
58QPixmap ALBERT_EXPORT
pixmapFromUrls(
const QStringList &urls,
const QSize &requestedSize);
91QPixmap ALBERT_EXPORT
genericPixmap(
int size,
const QColor& bgcolor = {},
const QColor& fgcolor = Qt::black,
const QString& text = {},
float scalar = 1.);
104QIcon ALBERT_EXPORT
genericIcon(
int size,
const QColor& bgcolor = {},
const QColor& fgcolor = Qt::black,
const QString& text = {},
float scalar = 1.);
126#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
127QString ALBERT_EXPORT xdgIconLookup(
const QString &name);
QIcon iconFromUrls(const QStringList &urls)
URL list based icon factory.
QIcon iconFromUrl(const QString &url)
URL based icon factory.
QIcon fileIcon(const QString &path)
Create an icon for a file using QFileIconProvider.
QIcon genericIcon(int size, const QColor &bgcolor={}, const QColor &fgcolor=Qt::black, const QString &text={}, float scalar=1.)
Generic icon factory.
QPixmap pixmapFromUrl(const QString &url, const QSize &requestedSize)
URL based icon factory.
QPixmap genericPixmap(int size, const QColor &bgcolor={}, const QColor &fgcolor=Qt::black, const QString &text={}, float scalar=1.)
Generic pixmap factory.
QPixmap pixmapFromUrls(const QStringList &urls, const QSize &requestedSize)
URL list based icon factory.