mirror-chatterino2/widgets/chatwidgetheaderbuttonlabel.h

29 lines
479 B
C
Raw Normal View History

2017-01-15 16:38:30 +01:00
#ifndef CHATWIDGETHEADERBUTTONLABEL_H
#define CHATWIDGETHEADERBUTTONLABEL_H
#include <QLabel>
#include <QMouseEvent>
2017-01-18 21:30:23 +01:00
namespace chatterino {
namespace widgets {
2017-01-15 16:38:30 +01:00
class ChatWidgetHeaderButtonLabel : public QLabel
{
Q_OBJECT
public:
ChatWidgetHeaderButtonLabel();
signals:
void mouseDown();
void mouseUp();
protected:
void mousePressEvent(QMouseEvent *event);
void mouseReleaseEvent(QMouseEvent *event);
};
2017-01-18 21:30:23 +01:00
}
}
2017-01-15 16:38:30 +01:00
#endif // CHATWIDGETHEADERBUTTONLABEL_H