qfedu-qt-level/qtdemo03/form8.h

30 lines
407 B
C
Raw Permalink Normal View History

#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);
private:
Ui::Form8 *ui;
};
#endif // FORM8_H