Thanks Phil,
...(yes, I see the design flaw you speak of...was doing a bit of testing)

Just to add for prosterity,...your answer had a small typo...just needs a
".connect"
statement in there....so for others who may find this later,..the statement
is:

      self.button.clicked.connect(lambda checked: DoTest2(self))  

I did find another method (better design? dunno ;-) and that is to have the
button connect
statement call a local (in file A) function which in turn calls B.function()

Using,
     from B import *
     .....
     self.Button_02.clicked.connect(self.DoTest1)
     ....

            def DoTest1(self):
                print("DoTest1")
                status = DoTest2(self)
                print status


Thanks again,


--
View this message in context: 
http://python.6.n6.nabble.com/From-Import-proper-namespace-etc-tp4975143p4975428.html
Sent from the PyQt mailing list archive at Nabble.com.
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to