#include "bticons.h"
#include <QBrush>
#include <QBuffer>
#include <QByteArray>
#include <QDir>
#include <QIconEngine>
#include <QImage>
#include <QPainter>
#include <QPixmap>
#include <QPoint>
#include <QRect>
#include <QString>
#include <Qt>
#include <QtGui>
#include "directory.h"
Go to the source code of this file.
|
| #define | BT_ICON(type, name, ...) BT_ICON_(type,name,(__VA_ARGS__)) |
| |
| #define | BT_ICON_(type, name, ...) |
| |
| #define | BT_OVERLAYED_ICON(name, icon, icon2) BT_ICON(BtOverlayedIcon, name, icon(), icon2()) |
| |
| #define | BT_REGULAR_ICON(name, filename) BT_ICON(BtRegularIcon, name, QStringLiteral(filename)) |
| |
|
| QString | iconToHtml (QIcon const &icon, int const extent) |
| |
◆ BT_ICON
| #define BT_ICON |
( |
|
type, |
|
|
|
name, |
|
|
|
... |
|
) |
| BT_ICON_(type,name,(__VA_ARGS__)) |
◆ BT_ICON_
| #define BT_ICON_ |
( |
|
type, |
|
|
|
name, |
|
|
|
... |
|
) |
| |
Value: QIcon const & name() { \
static type const s_icon __VA_ARGS__; \
return s_icon; \
}
Definition at line 113 of file bticons.cpp.
◆ BT_OVERLAYED_ICON
| #define BT_OVERLAYED_ICON |
( |
|
name, |
|
|
|
icon, |
|
|
|
icon2 |
|
) |
| BT_ICON(BtOverlayedIcon, name, icon(), icon2()) |
◆ BT_REGULAR_ICON
| #define BT_REGULAR_ICON |
( |
|
name, |
|
|
|
filename |
|
) |
| BT_ICON(BtRegularIcon, name, QStringLiteral(filename)) |
◆ iconToHtml()
| QString iconToHtml |
( |
QIcon const & |
icon, |
|
|
int const |
extent |
|
) |
| |