以下成員源於類 QBitmap 被棄用。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(deprecated (6.0))
|
QBitmap (const QPixmap & pixmap ) |
(deprecated (6.0))
|
QBitmap (const QSize & size ) |
(deprecated (6.0))
QBitmap &
|
operator= (const QPixmap & pixmap ) |
[explicit]
QBitmap::
QBitmap
(const
QPixmap
&
pixmap
)
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 fromPixmap instead. Constructs a bitmap that is a copy of the given pixmap .
若像素圖深度大於 1,則結果位圖會自動抖動。
另請參閱 QPixmap::depth (), fromImage (),和 fromData ().
[explicit]
QBitmap::
QBitmap
(const
QSize
&
size
)
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 fromPixmap 代替。
構造位圖采用給定 size 。位圖中的像素未被初始化。
另請參閱 clear ().
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用 fromPixmap 代替。
這是重載函數。
賦值給定 pixmap 到此位圖並返迴此位圖的引用。
若像素圖深度大於 1,則結果位圖會自動抖動。
另請參閱 QPixmap::depth ().