You didn't declare your signals or one of your slots. You have to declare your signals and slots.
you need something like:
Qt Code:
  1. signals:
  2. void quit_button_clicked();
  3. void print_button_clicked();
  4.  
  5. public slots:
  6. void printmyplot();
  7. void quit_button_clicked();
To copy to clipboard, switch view to plain text mode