PDA

View Full Version : Where are signals?



PanzerMaus
13th July 2006, 00:00
Hi!

I trying to write widget with Qt Designer. For example, I have QFrame in this widget and I want to write action like "onClick" for frame, but I can't find any signals - QFrame have only destroying signal. How I can write slot for any other signals like from QPushButton (like "onclick", "onfocus" or other)?

Regards

Jimmy2775
13th July 2006, 00:05
If you override the QFrame's event() (http://doc.trolltech.com/4.1/qevent.html)method, you can handle MouseButtonPress and MouseButtonRelease events.