you calss is called FindDialog not Dialog according to this
Qt Code:
  1. #ifndef DIALOG_H
  2. #define DIALOG_H
  3.  
  4. #include <QDialog>
  5.  
  6. class QLabel;
  7. class QPushButton;
  8.  
  9. class FindDialog : public QDialog
  10. {
  11. Q_OBJECT
  12.  
  13. public:
  14. FindDialog(QWidget *parent = 0);
  15.  
  16. private:
  17. QLabel *disLabel
  18. QPushButton *pushButton;
  19. QWidget *extension;
  20. };
  21.  
  22. #endif // DIALOG_H
To copy to clipboard, switch view to plain text mode