以下成員源於類 QLabel are part of the Qt compatibility layer. We advise against using them in new code.
使用 setAlignment ( Qt::Alignment ) 代替。
若 alignment specifies text flags as well, use setTextFormat () to set those.