Hi aamer4yu. I tried to do like you sad but it return this:

Qt Code:
  1. #include <QMainWindow>
  2. #include "ui_ShapeChangingDialog.h"
  3.  
  4. class ShapeChangingDialog : public QMainWindow
  5. {
  6. Q_OBJECT
  7. public:
  8. ShapeChangingDialog(QWidget *parent = 0);
  9. void setColumnRange(QChar first, QChar last);
  10. private:
  11. Ui::ShapeChangingDialog ui;
  12. }
To copy to clipboard, switch view to plain text mode 
;

Qt Code:
  1. ShapeChangingDialog.h:14: error: ‘ShapeChangingDialog’ in namespace ‘Ui’ does not name a type
To copy to clipboard, switch view to plain text mode 

Can you help me fix this. Thanks !