Obsolete Members for QStyle
I seguenti membri della classe ` QStyle ` sono deprecati. Sono forniti per garantire il funzionamento del codice sorgente esistente. Si sconsiglia vivamente di utilizzarli nel codice nuovo.
Funzioni pubbliche
(deprecated) virtual QPixmap | standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption *option = nullptr, const QWidget *widget = nullptr) const = 0 |
Documentazione sulle funzioni membro
[pure virtual, deprecated] QPixmap QStyle::standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption *option = nullptr, const QWidget *widget = nullptr) const
Questa funzione è deprecata. Si sconsiglia vivamente di utilizzarla nel codice nuovo.
Restituisce una mappa di pixel per l'standardPixmap specificato.
Una pixmap standard è una pixmap in grado di seguire uno stile o una linea guida GUI esistente. L'argomento ` option ` può essere utilizzato per passare informazioni aggiuntive necessarie alla definizione della pixmap appropriata. L'argomento ` widget ` è facoltativo e può essere utilizzato anche per facilitare la determinazione della pixmap.
Gli sviluppatori che chiamano standardPixmap() dovrebbero invece chiamare standardIcon(). Gli sviluppatori che hanno reimplementato standardPixmap() dovrebbero invece reimplementare standardIcon().
Vedi anche ` 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.