Sure...

In the header:
Qt Code:
  1. public:
  2. freesDialog( QWidget* parent = NULL );
  3. ...
To copy to clipboard, switch view to plain text mode 

In the cpp:
Qt Code:
  1. freesDialog::freesDialog( QWidget* parent )
  2. :QDialog( parent )
  3. {
  4. ... do some stuff
  5. }
To copy to clipboard, switch view to plain text mode 

Now, when you create the dialog, you can call the constructor without any parameters.
Also, there is no point in filling the table from that empty list in the constructor... So you can remove it...


Regards