Obsolete Members for QTableWidgetItem

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

Fonctions publiques

(deprecated) void setTextAlignment(int alignment)

Documentation des fonctions membres

[deprecated] void QTableWidgetItem::setTextAlignment(int alignment)

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

Utilisez la surcharge qui prend un argument « Qt::Alignment ».

Définit l'alignement du texte de l'élément selon l'alignment spécifiée.

Voir également Qt::Alignment.

© 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.