Qt Utilities
5.9.0
Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models
|
The ImageData struct is a raw data image format. More...
Public Member Functions | |
NotificationImage () | |
NotificationImage (const QVariant &imageData) | |
NotificationImage (SwappedImage image) | |
QImage | toQImage () const |
QVariant | toDBusArgument () const |
Public Attributes | |
qint32 | width |
qint32 | height |
qint32 | rowstride |
bool | hasAlpha |
qint32 | channels |
qint32 | bitsPerSample |
QByteArray | data |
bool | isValid |
The ImageData 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 107 of file dbusnotification.cpp.
|
inline |
Definition at line 112 of file dbusnotification.cpp.
MiscUtils::NotificationImage::NotificationImage | ( | SwappedImage | image | ) |
Definition at line 120 of file dbusnotification.cpp.
|
inline |
Definition at line 144 of file dbusnotification.cpp.
|
inline |
Definition at line 137 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.