help coding: bug 327896

Ghevan ghevan at gmail.com
Fri Mar 28 01:14:26 UTC 2014


Hi again. I seem to have hit a brick wall working on bug
https://bugs.kde.org/show_bug.cgi?id=327896

I can resize the color swatches up and down using CTRL + wheel delta, but
if there is a scrollbar and the scroll can happen then this action happens
first before any resize as the video shows. What I want is to block the
scroll bar while Ctrl is pressed, or ignore the scroll action.

>From what I have read, i could make it using an eventFilter on. One of my
problems is that I don't know how to use the filter. The other problem is,
because I tried many compile variations (and all compiled and worked), that
perhaps the wheel event is badly declared and resize doesn't take priority
over the scroll action.

Source code and Video
https://drive.google.com/file/d/0B5HUTZG6uL8iT0xNTTFwVnhIYW8/edit?usp=sharing

Any help is greatly appreciated.

-IvanYossi-
C++ Noob extraordinary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kimageshop/attachments/20140327/ad9e6aaf/attachment.html>


More information about the kimageshop mailing list