Jump to content

PyQy and Houdini


xarchx

Recommended Posts

hi

im starting with pyqt and python sop....just looking for some advice here

5861375515_b9541b8e76_b.jpg

well it's working fine,but

i want to know if it possible,how to run click() function when a button(pythonSop) is clicked

Link to comment
Share on other sites

  • 3 weeks later...

Not sure if i understood the question correctly but i think you are looking for this?

button.signal.connect(functionToCall)

and you can pass arguments to the function using lambda or partial for ie with clicked signal

button.clicked.connect( partial (functionToCall,arg1, arg2,...) )

Loads of good examples and a recommended reading material

http://www.qtrac.eu/pyqtbook.html#toc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...