#include <QIcon>
#include <QPixmap>
#include <QSize>
#include <QStringList>
#include <albert/export.h>
Go to the source code of this file.
|
QPixmap | albert::pixmapFromUrl (const QString &url, const QSize &requestedSize) |
| URL based icon factory.
|
|
QPixmap | albert::pixmapFromUrls (const QStringList &urls, const QSize &requestedSize) |
| URL list based icon factory.
|
|
QIcon | albert::iconFromUrl (const QString &url) |
| URL based icon factory.
|
|
QIcon | albert::iconFromUrls (const QStringList &urls) |
| URL list based icon factory.
|
|
QPixmap | albert::genericPixmap (int size, const QColor &bgcolor={}, const QColor &fgcolor=Qt::black, const QString &text={}, float scalar=1.) |
| Generic pixmap factory.
|
|
QIcon | albert::genericIcon (int size, const QColor &bgcolor={}, const QColor &fgcolor=Qt::black, const QString &text={}, float scalar=1.) |
| Generic icon factory.
|
|
QIcon | albert::fileIcon (const QString &path) |
| Create an icon for a file using QFileIconProvider.
|
|