Qt Utilities
5.13.0
Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models
|
The NotificationImage struct is a raw data image format. More...
Public Member Functions | |
NotificationImage () | |
NotificationImage (SwappedImage image) | |
QImage | toQImage () const |
QVariant | toDBusArgument () const |
Static Public Member Functions | |
static NotificationImage | fromDBusArgument (const QVariant &variant) |
Public Attributes | |
qint32 | width |
qint32 | height |
qint32 | rowstride |
bool | hasAlpha |
qint32 | channels |
qint32 | bitsPerSample |
QByteArray | data |
bool | isValid |
The NotificationImage struct is a raw data image format.
It describes the width, height, rowstride, has alpha, bits per sample, channels and image data respectively.
Definition at line 59 of file dbusnotification.cpp.
|
inline |
Definition at line 95 of file dbusnotification.cpp.
|
inline |
Definition at line 100 of file dbusnotification.cpp.
|
inlinestatic |
Definition at line 134 of file dbusnotification.cpp.
|
inline |
Definition at line 129 of file dbusnotification.cpp.
|
inline |
Definition at line 122 of file dbusnotification.cpp.
qint32 MiscUtils::NotificationImage::bitsPerSample |
Definition at line 71 of file dbusnotification.cpp.
qint32 MiscUtils::NotificationImage::channels |
Definition at line 70 of file dbusnotification.cpp.
QByteArray MiscUtils::NotificationImage::data |
Definition at line 72 of file dbusnotification.cpp.
bool MiscUtils::NotificationImage::hasAlpha |
Definition at line 69 of file dbusnotification.cpp.
qint32 MiscUtils::NotificationImage::height |
Definition at line 67 of file dbusnotification.cpp.
bool MiscUtils::NotificationImage::isValid |
Definition at line 73 of file dbusnotification.cpp.
qint32 MiscUtils::NotificationImage::rowstride |
Definition at line 68 of file dbusnotification.cpp.
qint32 MiscUtils::NotificationImage::width |
Definition at line 66 of file dbusnotification.cpp.