For example, you declare a slot in your app.h file:
Qt Code:
  1. private slots:
  2. ...
  3. void searchAll();
To copy to clipboard, switch view to plain text mode 
That's exactly what I am trying to avoid.
If I change the app.h that is generated by the designer and afterwards add some new widgets to my dialog, all my private slots will be lost.

Am I missing something?