[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: QMouseEvent button/state
From: John Firebaugh <jfirebaugh () kde ! org>
Date: 2002-06-30 23:33:49
[Download RAW message or body]
On Sunday 30 June 2002 4:19, Gioele Barabucci wrote:
> On Sunday 30 June 2002 22:45, John Firebaugh wrote:
> > How about this:
> >
> > // prevent LMB down -> RMB down -> LMB up sequence
> > if( e->button() == RightButton && e->state() == NoButton )
> > emit showMenu( e->globalPos(), deskNum );
> > else
> > QButton::mousePressEvent( e );
>
> This is wrong, QButton:: get called if button() = RightButton and state() =
> LeftButton.
What's wrong with that?
-John
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic