well, settingUp() is a bunch of if() clauses.
Probably none of them gets to be true, so nothing happens.
Put a debug statement in and see if its being printed:
Qt Code:
  1. bool Dialog::settingUp()
  2. {
  3. qDebug()<<"Dialog::settingUp()";
  4. //the rest of your code.
  5. }
To copy to clipboard, switch view to plain text mode 

In addition make sure you get no signal/slot warnings when you execute the application.