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

Scott Aron Bloom Scott.Bloom at sabgroup.com
Sat Apr 4 02:15:17 CEST 2009


Im not at my dev box.. but it is one of the Roles of models data
function..

Scott

> -----Original Message-----
> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-
> bounces at trolltech.com] On Behalf Of Kermit Mei
> Sent: Friday, April 03, 2009 4:52 PM
> To: Qt-interest
> Subject: [Qt-interest] How to show the word in the center of a
> Tableview'scell?
> 
> 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
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list