Obsolete Members for QStyle

Los siguientes miembros de la clase ` QStyle ` están obsoletos. Se incluyen para garantizar que el código fuente antiguo siga funcionando. Recomendamos encarecidamente no utilizarlos en código nuevo.

Funciones públicas

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

Documentación de las funciones de miembro

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

Esta función está obsoleta. Recomendamos encarecidamente no utilizarla en código nuevo.

Devuelve un mapa de píxeles para el estilo de interfaz gráfica de usuario ( standardPixmap) indicado.

Un mapa de píxeles estándar es aquel que puede ajustarse a un estilo o directriz de interfaz gráfica de usuario (GUI) ya existente. El argumento ` option ` puede utilizarse para pasar información adicional necesaria a la hora de definir el mapa de píxeles adecuado. El argumento ` widget ` es opcional y también puede utilizarse para facilitar la determinación del mapa de píxeles.

Los desarrolladores que llamen a `standardPixmap()` deberían llamar en su lugar a ` standardIcon()`. Los desarrolladores que hayan reimplementado `standardPixmap()` deberían reimplementar en su lugar ` standardIcon()`.

Véase también ` 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.