summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpixmap_win.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/image/qpixmap_win.cpp')
-rw-r--r--src/gui/image/qpixmap_win.cpp23
1 files changed, 17 insertions, 6 deletions
diff --git a/src/gui/image/qpixmap_win.cpp b/src/gui/image/qpixmap_win.cpp
index cd7a8ca80e..aae4a1cbf4 100644
--- a/src/gui/image/qpixmap_win.cpp
+++ b/src/gui/image/qpixmap_win.cpp
@@ -352,8 +352,9 @@ Q_GUI_EXPORT HBITMAP qt_imageToWinHBITMAP(const QImage &imageIn, int hbitmapForm
/*!
\since 6.0
- Creates a \c HBITMAP equivalent of the QImage. Returns the \c HBITMAP
- handle.
+ \brief Creates a \c HBITMAP equivalent of the QImage.
+
+ Returns the \c HBITMAP handle.
It is the caller's responsibility to free the \c HBITMAP data
after use.
@@ -368,6 +369,8 @@ Q_GUI_EXPORT HBITMAP qt_imageToWinHBITMAP(const QImage &imageIn, int hbitmapForm
When using the resulting HBITMAP as application icon or a systray icon,
the image should have the format QImage::Format_ARGB32.
+ \ingroup platform-type-conversions
+
\sa fromHBITMAP(), convertToFormat()
*/
HBITMAP QImage::toHBITMAP() const
@@ -493,7 +496,7 @@ Q_GUI_EXPORT QImage qt_imageFromWinHBITMAP(HBITMAP bitmap, int hbitmapFormat = 0
/*!
\since 6.0
- Returns a QImage that is equivalent to the given \a hbitmap.
+ \brief Returns a QImage that is equivalent to the given \a hbitmap.
HBITMAP does not store information about the alpha channel.
@@ -505,6 +508,8 @@ Q_GUI_EXPORT QImage qt_imageFromWinHBITMAP(HBITMAP bitmap, int hbitmapFormat = 0
\c reinterpretAsFormat(QImage::Format_ARGB32) should be called
on the returned image to ensure the format is correct.
+ \ingroup platform-type-conversions
+
\sa toHBITMAP(), reinterpretAsFormat()
*/
QImage QImage::fromHBITMAP(HBITMAP hbitmap)
@@ -520,12 +525,16 @@ Q_GUI_EXPORT QPixmap qt_pixmapFromWinHBITMAP(HBITMAP bitmap, int hbitmapFormat =
/*!
\since 6.0
- Creates a \c HICON equivalent of the QPixmap, applying the mask
- \a mask. If \a mask is not null, it needs to be of format QImage::Format_Mono.
+ \brief Creates a \c HICON equivalent of the QPixmap, applying the mask
+ \a mask.
+
+ If \a mask is not null, it needs to be of format QImage::Format_Mono.
Returns the \c HICON handle.
It is the caller's responsibility to free the \c HICON data after use.
+ \ingroup platform-type-conversions
+
\sa fromHICON()
*/
HICON QImage::toHICON(const QImage &mask) const
@@ -609,7 +618,9 @@ static inline bool hasAlpha(const QImage &image)
/*!
\since 6.0
- Returns a QImage that is equivalent to the given \a icon.
+ \brief Returns a QImage that is equivalent to the given \a icon.
+
+ \ingroup platform-type-conversions
\sa toHICON()
*/