kylin-nm/plugins/netconnect/addnetbtn.h

28 lines
499 B
C
Raw Permalink Normal View History

2022-06-02 16:27:45 +08:00
#ifndef ADDNETBTN_H
#define ADDNETBTN_H
#include <QObject>
#include <QWidget>
#include <QPushButton>
#include <QTranslator>
#include <QApplication>
class AddNetBtn : public QPushButton
{
Q_OBJECT
public:
AddNetBtn(QWidget *parent = nullptr);
~AddNetBtn();
protected:
virtual void leaveEvent(QEvent * event);
virtual void enterEvent(QEvent * event);
void paintEvent(QPaintEvent *event);
Q_SIGNALS:
void enterWidget();
void leaveWidget();
};
#endif // ADDNETBTN_H