[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdelibs/kdeui
From:       Antonio Larrosa =?utf-8?q?Jim=C3=A9nez?= <larrosa () kde ! org>
Date:       2004-05-09 13:54:10
Message-ID: 200405091602.34662.larrosa () kde ! org
[Download RAW message or body]

El Domingo 09 Mayo 2004 15:03, Stephan Binner escribió:
> CVS commit by binner:
>
> --- kdelibs/kdeui/ktabbar.cpp  #1.36:1.37
> @@ -288,4 +288,11 @@ void KTabBar::dropEvent( QDropEvent *e )
>  }
>
> +#ifndef QT_NO_WHEELEVENT
> +void KTabBar::wheelEvent( QWheelEvent *e )
> +{
> +    emit( wheelDelta( e->delta() ) );
> --- kdelibs/kdeui/ktabwidget.cpp  #1.28:1.29
> @@ -97,4 +100,27 @@ void KTabWidget::dropEvent( QDropEvent *
>  }
>
> +#ifndef QT_NO_WHEELEVENTope
> +void KTabWidget::wheelEvent( QWheelEvent *e )
> +{
> +    wheelDelta( e->delta() );

Could you please check at KTabBar::wheelEvent and KTabWidget::wheelEvent for 
the orientation of the wheel event ( e->orientation() ) and only react to 
vertical (or horizontal, what you prefer) wheel events?
(or maybe even taking in mind the orientation of the widget, but I guess 
reacting only to vertical events is more usable for most people).

Greetings,

--
Antonio Larrosa Jimenez
KDE developer - larrosa@kde.org
http://developer.kde.org/~larrosa/
Better read something in another language than a riddle in your own.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic