-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customization of roi handles #4083
Comments
Hi Konstantin, I think it's already the case. You have signal send whenever a ROI region change.
Everything is inherited from |
Hi Valentin, Yes, no doubt that what is implemented does work as it should and it sends signals. :) My question was how to add custom handles to a roi -- those draggable marks in the plot that interact with the mouse. |
On 2024-03-26 11:59, Konstantin Klementiev wrote:
Hi Valentin,
Yes, no doubt that what is implemented does work as it should and it
sends signals. :)
My question was how to add _custom_ handles to a roi -- those draggable
marks in the plot that interact with the mouse.
--
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
You are receiving this because you commented.Message ID:
***@***.***>
Oh, in this case there is not much to help.
Your better choice is to copy-paste the most convenient ROI and to tune
it.
There is some basic roles handled by `HandleBasedROI`.
And the most complex ROI is the ArcROI. This implementation could help
you to have an idea of what kind of stuffs you can do.
Links:
------
[1] #4083 (comment)
[2]
https://github.com/notifications/unsubscribe-auth/ABZ2NOPH6NSH7R4KNSGBWFLY2FBH7AVCNFSM6AAAAABEYWFIC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGEZDCOBXHA
|
Hello,
In connection to
PlotWindow
, I want to create a set of data correction tools for 1D curves. I imagine four tools in it:To display these tools in
PlotWindow
, I need something similar to silx’s rois. In all four cases this would be a horizontal range roi with two draggable vertical lines, and additionally one handle for (2) to drag it vertically and n handles for (4) representing the spline nodes that would be draggable in all directions or only vertically.Please advise very sketchy on how to modify
HorizontalRangeROI
to add custom draggable handles and emit custom Qt signals.Thank you in advance!
The text was updated successfully, but these errors were encountered: