[Qt-interest] How to set header on aQTableWidget to span two columns?
Israel Brewster
israel at frontierflying.com
Tue Mar 3 21:25:47 CET 2009
On Mar 3, 2009, at 10:41 AM, Efan... wrote:
> Hello Raam
> see splitCell of QtextTable if that helps?
Actually I think mergeCells would be what he is going for, except that
he doesn't have a QTextTable, he has a QTableWidget. For a
QTableWidget, it looks to me like the void QTableView::setSpan()
function (which QTableWidget inherits) is what is being looked for.
-----------------------------------------------
Israel Brewster
Computer Support Technician
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------
>
> On Tue, Mar 3, 2009 at 11:02 AM, Sriram Durbha <sriram.durbha at gmail.com
> > wrote:
>
> Hi,
> I'm trying to prepare a QTableWidget which will be used to populate
> a table of statistics like the one shown in the attached image.
> How do i set the Headers so that they span two columns? [ And
> possibly the first header to span two rows]
>
> Thanks
> Cheers
> Ram
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090303/a1b5df35/attachment.html
More information about the Qt-interest-old
mailing list