Figa
|
2010-02-22
, 10:50
|
Posts: 270 |
Thanked: 239 times |
Joined on Dec 2009
@ Czech Republic
|
#1
|
|
2010-02-22
, 11:09
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#2
|
Hi I need to do some action after click on quit button(cross in right top corner) like this:
I use QT. THX for your replies.Code:connect(quit,SIGNAL(clicked()),this,SLOT(anyAction());
|
2010-02-22
, 15:31
|
Posts: 270 |
Thanked: 239 times |
Joined on Dec 2009
@ Czech Republic
|
#3
|
|
2010-02-22
, 15:38
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#4
|
self.connect(quit, QtCore.SIGNAL('clicked()'), QtGui.qApp, self.doQuit()) def doQuit(self): *do stuff*