Hi everyone,
Whenever I am setting a QSqlQueryModel in a QTableView, the column names by default are CENTER-ALIGNED. Like, suppose I have an user table with fields UserID, Name, and Address. Then this field names in the header section are by default center-aligned. But i want to make them left aligned.
For example from google i found out this link: http://doc.qt.nokia.com/4.7-snapshot...plastique.html .
In that link the tableview's style is set to "Plastique" and we can clearly see that the horizontal headers are left aligned. Though i tried some codes, but still I just am not able to figure out how to do it from my code.
I would really appreciate any help that i would get regarding this.
-sattu
Bookmarks