[PySide] Seeing Deprecation Warning messages

Cristián Maureira-Fredes Cristian.Maureira-Fredes at qt.io
Fri Mar 27 13:39:43 CET 2020


I really thought we fix this in the past,
since I have seen it...anyway

On 3/27/20 12:30 PM, Ed Lipson wrote:
> What is the suggest syntax to future proof the code?

I think
   twi.setTextAlignment(int(Qt.AlignHCenter | Qt.AlignVCenter))

should work.


Dr. Cristian Maureira-Fredes
R&D Manager

The Qt Company GmbH
Erich-Thilo-Str. 10
D-12489 Berlin

Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin,
Registergericht: Amtsgericht
Charlottenburg, HRB 144331 B

More information about the PySide mailing list