Here is the Header File
#ifndef ABC_H
#define ABC_H
#include <QDialog>
#include <QTimer>
#include <QMouseEvent>
{
Q_OBJECT
public:
~abc;
public slots:
void log_data_refresh();
protected:
private slots:
...
void check_queue();
private:
};
#endif
#ifndef ABC_H
#define ABC_H
#include <QDialog>
#include <QTimer>
#include <QMouseEvent>
class abc: public QDialog
{
Q_OBJECT
public:
abc(QWidget *parent = 0);
~abc;
public slots:
void log_data_refresh();
protected:
void mousePressEvent(QMouseEvent *event);
void mouseReleaseEvent(QMouseEvent *event);
bool eventFilter(QObject *obj,QEvent *event):
private slots:
...
void check_queue();
void closeEvent(QCloseEvent *event);
void showEvent(QShowEvent *event);
private:
QTimer *timer;
};
#endif
To copy to clipboard, switch view to plain text mode
Bookmarks