code:

        QtCore.QObject.connect(self.pushButton,
QtCore.SIGNAL(_fromUtf8("clicked()")), self.xyz)
        QtCore.QMetaObject.connectSlotsByName(DeviceConnect)

    def xyz(self):
        print 'pqr'

when pushButton is clicked xyz is not getting called. but if i put xyz
function outside class it gets called.

Any Idea?

Nitin K
_______________________________________________
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers

Reply via email to