Obsolete Members for QStyle
クラスQStyle の以下のメンバーは非推奨です。これらは古いソース・コードの動作を維持するために提供されています。新しいコードでは使用しないことを強くお勧めします。
パブリック関数
(deprecated) virtual QPixmap | standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption *option = nullptr, const QWidget *widget = nullptr) const = 0 |
メンバ関数ドキュメント
[pure virtual, deprecated]
QPixmap QStyle::standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption *option = nullptr, const QWidget *widget = nullptr) const
この関数は非推奨である。新しいコードでは使用しないことを強くお勧めします。
与えられたstandardPixmap の pixmap を返します。
標準 pixmap は、既存の GUI スタイルやガイドラインに従うことができる pixmap です。option 引数は、適切な pixmap を定義するときに必要な追加情報を渡すために使用できます。widget 引数はオプションで、pixmapの決定を補助するために使用することもできる。
standardPixmap()を呼び出す開発者は、代わりにstandardIcon()を呼び出すべきである。 standardPixmap()を再実装する開発者は、代わりにstandardIcon()を再実装すべきである。
standardIcon()も参照 。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.