Files
gcs-nf/App/CommandUI/CommandButton.h
T
2020-10-22 11:27:45 +08:00

27 lines
433 B
C++

#ifndef COMMANDBUTTON_H
#define COMMANDBUTTON_H
#include <QObject>
#include <QWidget>
#include "QPushButton"
#include "QDebug"
#include "QEvent"
class CommandButton : public QPushButton
{
Q_OBJECT
public:
explicit CommandButton(QWidget *parent = nullptr);
protected:
void keyPressEvent(QKeyEvent* event);
void keyReleaseEvent(QKeyEvent* event);
signals:
};
#endif // COMMANDBUTTON_H