mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
24 lines
431 B
C++
24 lines
431 B
C++
#ifndef CHATWIDGETHEADERBUTTONLABEL_H
|
|
#define CHATWIDGETHEADERBUTTONLABEL_H
|
|
|
|
#include <QLabel>
|
|
#include <QMouseEvent>
|
|
|
|
class ChatWidgetHeaderButtonLabel : public QLabel
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
ChatWidgetHeaderButtonLabel();
|
|
|
|
signals:
|
|
void mouseDown();
|
|
void mouseUp();
|
|
|
|
protected:
|
|
void mousePressEvent(QMouseEvent *event);
|
|
void mouseReleaseEvent(QMouseEvent *event);
|
|
};
|
|
|
|
#endif // CHATWIDGETHEADERBUTTONLABEL_H
|