using qt with python, i have following problem i imported qt 'from qt import *' (every qt-class i use works) but when i want to set the alignment of a label, the constants aren't recognized. label= QLabel(parent) label.setText(string) label.setAlignment (AlignCenter) complaint: NameError: global name 'AlignCenter' is not defined tx