Obsolete Members for QStyle

Les membres suivants de la classe ` QStyle ` sont obsolètes. Ils sont fournis afin de garantir la compatibilité avec l'ancien code source. Nous déconseillons vivement de les utiliser dans du nouveau code.

Fonctions publiques

(deprecated) virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption *option = nullptr, const QWidget *widget = nullptr) const = 0

Documentation des fonctions membres

[pure virtual, deprecated] QPixmap QStyle::standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption *option = nullptr, const QWidget *widget = nullptr) const

Cette fonction est obsolète. Nous déconseillons fortement de l'utiliser dans du nouveau code.

Renvoie une image pixel (pixmap) correspondant à l'standardPixmap donné.

Une image pixel standard est une image pixel capable de respecter un style ou des directives d’interface graphique existants. L’argument option peut être utilisé pour transmettre des informations supplémentaires nécessaires à la définition de l’image pixel appropriée. L’argument widget est facultatif et peut également être utilisé pour faciliter la détermination de l’image pixel.

Les développeurs qui appellent standardPixmap() devraient plutôt appeler standardIcon() ; ceux qui ont réimplémenté standardPixmap() devraient plutôt réimplémenter standardIcon().

Voir également ` 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.