以下成員源於類 QLabel 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
const QPicture *
|
picture () const |
(obsolete)
const QPixmap *
|
pixmap () const |
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
New code should use the other overload which returns QPicture by-value.
This function returns the label's picture or
nullptr
if the label doesn't have a picture.
另請參閱 setPicture ().
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
New code should use the other overload which returns QPixmap by-value.
另請參閱 setPixmap ().