以下成员源于类 QTableWidgetItem 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
								
(弃用)
								
								void
							 | 
							setTextAlignment (int alignment ) | 
[deprecated]
						
						
							void
						
						QTableWidgetItem::
						
							setTextAlignment
						
						(
						
							int
						
						
							alignment
						
						)
						
					This function is deprecated. We strongly advise against using it in new code.
Use the overload that takes a Qt::Alignment 自变量。
Sets the text alignment for the item's text to the alignment 指定。
另请参阅 textAlignment () 和 Qt::Alignment .