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

Qt-interest Archive, March 2002
How to write click event for table (fwd)


Message 1 in thread

Hello all,

I am having one QTable.
I have to get the position of the particular cell(row,column) whenever i
click the cell.
So i have to know about how to use the click event for QTable.
Plz give me the syntax for that event.

-- 
 [ signature omitted ] 

Message 2 in thread

You can use the signal "void QTable::clicked (int row, int 
col, int button, const QPoint & mousePos)".

The answer for your question could be found in "ON-LINE 
REFERENCE DOCUMENTATION", distributed with Qt itself.
You have a copy on your disk, don't you?

If you don't, visit to:
http://www.trolltech.com/developer/documentation/index.html

You will be able to find it only by clicking your mouse 
button three times. Please read the document first.


On 2002 March 21 Thursday 15:24, A.BalaSaraswathi wrote:
> Hello all,
>
> I am having one QTable.
> I have to get the position of the particular
> cell(row,column) whenever i click the cell.
> So i have to know about how to use the click event for
> QTable. Plz give me the syntax for that event.