Hi all !
How to set center alignment property (AlignCenter) for a cell in the QTableView?
thanks for reading !
Hi all !
How to set center alignment property (AlignCenter) for a cell in the QTableView?
thanks for reading !
//---------------------------------------
Full name: Đậu Sỹ Mạnh
Email: manhds@fsoft.com.vn
Nationality: Vietname
Languge: Vietnamese, Janpanese.
//---------------------------------------
Your model's data() method must return Qt::AlignCenter for Qt::TextAlignmentRole for that item.
episode96 (15th September 2006)
Bookmarks