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 に対応するピクマップを返します。
標準ピクマップとは、既存のGUIスタイルやガイドラインに準拠できるピクマップのことです。option 引数を使用すると、適切なピクマップを定義する際に必要な追加情報を渡すことができます。widget 引数はオプションであり、ピクマップの決定を支援するためにも使用できます。
standardPixmap() を呼び出す開発者は、代わりにstandardIcon() を呼び出す必要があります。standardPixmap() を再実装した開発者は、代わりにstandardIcon() を再実装する必要があります。
standardIcon()も参照してください 。
© 2026 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.