mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
22 lines
409 B
C++
22 lines
409 B
C++
#include "chatwidgetheaderbuttonlabel.h"
|
|
|
|
ChatWidgetHeaderButtonLabel::ChatWidgetHeaderButtonLabel()
|
|
{
|
|
}
|
|
|
|
void
|
|
ChatWidgetHeaderButtonLabel::mousePressEvent(QMouseEvent *event)
|
|
{
|
|
if (event->button() == Qt::LeftButton) {
|
|
emit mouseDown();
|
|
}
|
|
}
|
|
|
|
void
|
|
ChatWidgetHeaderButtonLabel::mouseReleaseEvent(QMouseEvent *event)
|
|
{
|
|
if (event->button() == Qt::LeftButton) {
|
|
emit mouseUp();
|
|
}
|
|
}
|