[Qt-interest] How to show the word in the center of a Tableview's cell?

Kermit Mei kermit.mei at gmail.com
Sat Apr 4 01:51:30 CEST 2009


Hello, I use QTableView tow show some words from a mode. But how can I
make the words be showed in the center of the cells? I can't find the
corresponding method.

They now always show from the left by default.

Now is
_________________
|hello      |
-----------------

I want:
_________________
|   hello   |
-----------------

Thanks;p




More information about the Qt-interest-old mailing list