xarchx Posted June 23, 2011 Share Posted June 23, 2011 hi im starting with pyqt and python sop....just looking for some advice here well it's working fine,but i want to know if it possible,how to run click() function when a button(pythonSop) is clicked Quote Link to comment Share on other sites More sharing options...
EzequielM Posted July 11, 2011 Share Posted July 11, 2011 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.