以下成员源于类 QStyle 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
virtual QPixmap
|
standardPixmap (QStyle::StandardPixmap standardPixmap , const QStyleOption * option = nullptr, const QWidget * widget = nullptr) const = 0 |
[pure virtual]
QPixmap
QStyle::
standardPixmap
(
QStyle::StandardPixmap
standardPixmap
, const
QStyleOption
*
option
= nullptr, const
QWidget
*
widget
= nullptr) const
此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
Returns a pixmap for the given standardPixmap .
A standard pixmap is a pixmap that can follow some existing GUI style or guideline. The option argument can be used to pass extra information required when defining the appropriate pixmap. The widget argument is optional and can also be used to aid the determination of the pixmap.
Developers calling standardPixmap() should instead call standardIcon () Developers who re-implemented standardPixmap() should instead re-implement standardIcon ().
另请参阅 standardIcon ().