Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, March 2002
merging QTable cells


Message 1 in thread

I cant see any method to merge cells in QTable. Lets say my table has 2
columns but I would like to have row nr. 10 only one column with the size of
2.

What is the best way to do this ?

Joe


Message 2 in thread

On 13 Mar 2002 at 18:09, Joe Robe wrote:

> I cant see any method to merge cells in QTable. Lets say my table has 2
> columns but I would like to have row nr. 10 only one column with the size of
> 2.
> 
> What is the best way to do this ?

QTableItem::setSpan()

M.


Message 3 in thread

Use QTableItem and the setSpan(...) method...

Check the documentation for more info


On Wednesday 13 March 2002 04:09 pm, Joe Robe wrote:
> I cant see any method to merge cells in QTable. Lets say my table has 2
> columns but I would like to have row nr. 10 only one column with the size
> of 2.
>
> What is the best way to do this ?
>
> Joe