-
Notifications
You must be signed in to change notification settings - Fork 109
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
scroll wheel zoom Qt5 #39
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello, the mouse wheel crashes the app.
So, in nodz_main.py,
i changed 'event.delta() > 0' to 'event.angleDelta() > 0' ,
I never gto scrollwheel zoom to work
but added KEY_PLUS and KEY_MINUS to do same
Also enabled the scroll bars to all paning hopriz & vert
Then changed the transparency to allow nets to show through nodes
( circumventing coding to avoid other nodes )
and added arrays of nodes
as in:
------------------mult2------------------------------
mult2 = []
mult2.append( nodz.createNode(name='mult2[0]', preset='node_preset_1', position=None) )
nodz.createAttribute(node=mult2[0], name='in0', index=-1, preset='attr_preset_1', plug=False, socket=True, dataType=float)
nodz.createAttribute(node=mult2[0], name='out', index=-1, preset='attr_preset_1', plug=True, socket=False, dataType=float)
nodz.createAttribute(node=mult2[0], name='in1', index=-1, preset='attr_preset_1', plug=False, socket=True, dataType=float)
------------------end mult2[0]------------------------------
------------------mult2[1]-----------------------------
mult2.append( nodz.createNode(name='mult2[1]', preset='node_preset_1', position=None) )
....
thanks for a nice tool!
I need to make a library of widgets
and drag/drop from a palette
and make visible names for the nets/signals/wires
and allow custome widths
My application is to visulaize the Hal component files of the LinuxCNC project.
thanks TomP 21:06 03nov2021 Thailand
The text was updated successfully, but these errors were encountered: