signals-slots

Qt Creator - how to see the code of the designer?

hi, I'm using Qt Creator. I'm using the signals and slots editor, and I want to see the code it generates. How can I see the code? Thanks! ...

qt QWidget click

Hello, I have my own class based in QWidget. I put this widget in QMainWindow and i need catch mouse click on this widget. I try: connect(my_widget,SIGNAL(clicked()),this,SLOT(exit(0))); But nothing happening. How can i do it? Thank you ...

having problems with slots

hi. i'm programming in qt and i have encountered a weird problem when i'm adding new slot i'm getting this error message :: error: collect2: ld returned 1 exit status this is the code: class Widget : public QWidget { Q_OBJECT public: explicit Widget(QWidget *parent = 0); void setVisible(bool visible); ~Widget(); ...