[Qt-interest] how can I get the event when the user click over the column name from QTableView
Mhayk Whandson
eu at mhayk.com.br
Thu Jul 30 16:11:34 CEST 2009
Hello Michael,
I would like to get the column number, are you know how can I do this
after receive the clicked over the column name from QTableView ?
best regards,
On Thu, Jul 30, 2009 at 9:56 AM, Michael Leupold<lemma at confuego.org> wrote:
> Mhayk Whandson wrote:
>> I would like to receive a signal when the user click over the column
>> name from QTableView, could you help me ?
>
> Use the QTableView::horizontalHeader() and connect to its
> sectionClicked(int) signal.
>
> Regards,
> Michael
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
--
Mhayk Whandson
Linux User #413723
E-mail: eu at mhayk.com.br
More information about the Qt-interest-old
mailing list