Here is the Header File

Qt Code:
  1. #ifndef ABC_H
  2. #define ABC_H
  3.  
  4. #include <QDialog>
  5. #include <QTimer>
  6. #include <QMouseEvent>
  7.  
  8. class abc: public QDialog
  9. {
  10. Q_OBJECT
  11.  
  12. public:
  13. abc(QWidget *parent = 0);
  14. ~abc;
  15. public slots:
  16. void log_data_refresh();
  17. protected:
  18. void mousePressEvent(QMouseEvent *event);
  19. void mouseReleaseEvent(QMouseEvent *event);
  20. bool eventFilter(QObject *obj,QEvent *event):
  21.  
  22. private slots:
  23. ...
  24. void check_queue();
  25. void closeEvent(QCloseEvent *event);
  26. void showEvent(QShowEvent *event);
  27.  
  28. private:
  29. QTimer *timer;
  30. };
  31.  
  32. #endif
To copy to clipboard, switch view to plain text mode