[KPhotoAlbum] Viewer: Mouse wheel support

Christoph Moseler christoph at moseler.net
Wed Aug 9 18:47:54 BST 2006


Hi,

would it be possible to add mouse wheel support to the Viewer?

void Viewer::ViewerWidget::wheelEvent( QWheelEvent* event )
{
   if ( event->delta() < 0) {
     showNext();
   } else {
     showPrev();
   }

}

Thanks,
Christoph

-- 
Christoph Moseler
Eppinkstr. 33
46535 Dinslaken
christoph at moseler.net




More information about the Kphotoalbum mailing list