Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [chemclipse-dev] How about my alternative mouse gestures?

Hi Trig,

great :-). OpenChrom encourages people to improve the software and to add new functionality.
Hence, I welcome your changes and would like to start a discussion about the pro and cons of the current solution and your nice proposal.

People, what do you think?


Best,
Philip


Am 15.08.2016 um 16:50 schrieb Trig Chen:
Hi,

In current OpenChrom, it is not flexible to draw a rectangle in Edit Part to select the spectrum to expand it. 

I made some effects in current mouse actions.

In the animation of attachment, dragging the mouse from left to right, the spectrum will be masked a semitransparent yellow rectangle to indicate the area to be expand. As the mouse relase, the masked area fill the full plot area. 

As dragging the mouse from right to left, the spectrum will be reset in X-Axis.

As scrolling the mouse, the intensity of peaks increase or descrease.

To change the range of X-Axis, additional mouse gestures can be added, such as:
Dragging the X-Axis with the mouse from left to right, the start and end value of X-Axis increase with the distance that mouse move.
Dragging the X-Axis with the mouse from right to left, the start and end value of X-Axis descrease with the distance that mouse move.

The later two mouse gestures I have not implemented and not found the place in code source to modify, yet. Can anyone give me some help?

Best regards,

Trig


_______________________________________________
chemclipse-dev mailing list
chemclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/chemclipse-dev

-- 
~~~~~~~~~~~~~~~~~~~~~~~~
OpenChrom - the open source alternative for chromatography / mass spectrometry
Dr. Philip Wenig » Founder » philip.wenig@xxxxxxxxxxxxx » http://www.openchrom.net
~~~~~~~~~~~~~~~~~~~~~~~~

Back to the top