2023-08-09 18:22:00 +08:00
|
|
|
#ifndef FORM8_H
|
|
|
|
#define FORM8_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
#include <QKeyEvent>
|
|
|
|
#include <QEvent>
|
|
|
|
#include <QDebug>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class Form8;
|
|
|
|
}
|
|
|
|
|
|
|
|
class Form8 : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit Form8(QWidget *parent = nullptr);
|
|
|
|
~Form8();
|
|
|
|
|
|
|
|
protected:
|
2023-08-10 12:05:02 +08:00
|
|
|
virtual void keyPressEvent(QKeyEvent *event);
|
|
|
|
virtual bool event(QEvent *event);
|
2023-08-09 18:22:00 +08:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::Form8 *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FORM8_H
|