在多说一句,其他信号currentChanged,pressed也是这样的一个结果。他们原型是:
void QTable::currentChanged ( int row, int col ) [signal]
This signal is emitted if the current cell has been changed to row, col.
void QTable::pressed ( int row, int col, int button, const QPoint & mousePos ) [signal]
This signal is emitted whenever the mousebutton button is pressed above the cell located in row and col. The actual mouse position is passed as mousePos.