[PyQt] Signal Slot Newbie Question

Phil Thompson phil at riverbankcomputing.com
Sat Aug 14 11:50:10 BST 2010


On Sat, 14 Aug 2010 17:41:02 +0700, Mico Siahaan <mico.siahaan at gmail.com>
wrote:
> Dear all,
> 
> I typed this code: http://pastebin.com/yD54L27r, but I failed to
> connect trigerred() signal with close method of QMainWindow so when I
> klik Menu 'Keluar', my application did not want to close. Please
> suggest what was wrong with my code.

Compare the spellings in lines 14 and 15. If you used the new-style
connection you would have got an exception.

Phil


More information about the PyQt mailing list