[Qt-interest] QListView clicked mouse button
Arnold Spence
arnold at psilent.net
Sat Feb 28 04:08:54 CET 2009
On Fri, Feb 27, 2009 at 11:07 PM, Arnold Spence <arnold at psilent.net> wrote:
>
>
> On Fri, Feb 27, 2009 at 6:47 AM, Jesús Fernández <jsfdez at gmail.com> wrote:
>
>> Hi,
>>
>> I need to know what was the mouse button clicked when a QListView::clicked
>> signal is emitted.
>>
>> How can I know the button.
>>
>>
> Try using this signal:
>
> void QListView::mouseButtonPressed ( int button, QListViewItem * item,
> const QPoint & pos, int c )
>
>
or this one actually..
void QListView::mouseButtonClicked ( int button, QListViewItem * item, const
QPoint & pos, int c )
--
Arnold
I have read your book and much like it.
Moses Hadas (1900 - 1966)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090227/78405a07/attachment.html
More information about the Qt-interest-old
mailing list