[Qt-interest] QListView clicked mouse button

Arnold Spence arnold at psilent.net
Sat Feb 28 04:07:27 CET 2009


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 )

-- 
Arnold Spence
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090227/5109144f/attachment.html 


More information about the Qt-interest-old mailing list