Thanks for the tip...it worked perfectly. Incase anybody has a similar problem, here is the solution:

In the header file:
Qt Code:
  1. private:
  2. virtual QSize sizeHint () const;
To copy to clipboard, switch view to plain text mode 
In the cpp file:
Qt Code:
  1. QSize ClassName::sizeHint() const
  2. {
  3. QSize theSize(284, 300);
  4. return theSize;
  5. }
To copy to clipboard, switch view to plain text mode