PDA

View Full Version : Decorations and Buttons



ZioMiP
1st May 2008, 18:29
Hi all,
anyone can tell me how can I "pilot" the red X for close program in the Decorations?

I need to send program to tray and not to close it...

thanks to all
Mark

jacek
1st May 2008, 20:38
You can reimplement QWidget::closeEvent() to intercept close event.

ZioMiP
2nd May 2008, 09:43
umh.. I saw that...

but I'm using PyQt4... and now I'm looking for "How to reimplement it" :D

thanks ^^