I found this in the documentation
void QAbstractButton::click () [slot]

Performs a click.

All the usual signals associated with a click are emitted as appropriate. If the button is checkable, the state of the button is toggled.

This function does nothing if the button is disabled.
so went back to my non-detigner program for button click.
Qt Code:
  1. connect( pb5, SIGNAL( clicked() ), this, SLOT( slotPb5() ) );
To copy to clipboard, switch view to plain text mode 
Then went to the implementation
Qt Code:
  1. void dlgMain::slotPb5()
  2. {
  3.  
  4. if( pb5->text() == "~" ) return;
  5. emit setButtonActionList( 5, "5" );
To copy to clipboard, switch view to plain text mode 
so why not in designer? In the "Signnl Slot Editor" i have:
" pb5 clicked Pb5 click() "
and in my program I have
Qt Code:
  1. #include <QtGui>
  2.  
  3. #include "pmform.h"
  4.  
  5. PmForm::PmForm(QWidget *parent)
  6. : QWidget(parent)
  7. {
  8. ui.setupUi(this);
  9.  
  10. ui.leZone->setText("leZone");
  11. }
  12.  
  13. void PmForm::Pb5()
  14. {
  15. ui.leZone->setText("This is what I want");
  16. }
To copy to clipboard, switch view to plain text mode 
it compiles ok, but when I run it and click on the "Pb5" button I get
pete@peteBox:~/Desktop/PM-designer/pm$ ./pm
Segmentation fault
pete@peteBox:~/Desktop/PM-designer/pm$
At least I am getting a connection form inside designer to my "pmform.cpp"
Now, how do I get rid of the segmentation fault?

Thanks, Help would be most appreciatei.